Revision 26d17a80b21519214fed18a9ee1670c123211b24 authored by Jishnu Bhattacharya on 05 February 2024, 04:57:48 UTC, committed by GitHub on 05 February 2024, 04:57:48 UTC
This seems redundant, as the fallback constructor does the same.
```julia
julia> using LinearAlgebra

julia> Revise.track(LinearAlgebra)

julia> U = UpperTriangular(rand(4,4))
4×4 UpperTriangular{Float64, Matrix{Float64}}:
 0.798171  0.484117  0.988126  0.986837
  ⋅        0.186955  0.827882  0.600041
  ⋅         ⋅        0.344573  0.344545
  ⋅         ⋅         ⋅        0.29875

julia> Matrix(U)
4×4 Matrix{Float64}:
 0.798171  0.484117  0.988126  0.986837
 0.0       0.186955  0.827882  0.600041
 0.0       0.0       0.344573  0.344545
 0.0       0.0       0.0       0.29875

julia> @which Matrix(U)
(Array{T, N} where T)(x::AbstractArray{S, N}) where {S, N}
     @ Core boot.jl:599
```
1 parent 6defd59
History
File Mode Size
.devcontainer
.github
base
cli
contrib
deps
doc
etc
src
stdlib
test
.buildkite-external-version -rw-r--r-- 5 bytes
.clang-format -rw-r--r-- 3.3 KB
.clangd -rw-r--r-- 114 bytes
.codecov.yml -rw-r--r-- 52 bytes
.git-blame-ignore-revs -rw-r--r-- 371 bytes
.gitattributes -rw-r--r-- 65 bytes
.gitignore -rw-r--r-- 571 bytes
.mailmap -rw-r--r-- 12.7 KB
CITATION.bib -rw-r--r-- 513 bytes
CITATION.cff -rw-r--r-- 940 bytes
CONTRIBUTING.md -rw-r--r-- 23.4 KB
HISTORY.md -rw-r--r-- 372.8 KB
LICENSE.md -rw-r--r-- 1.3 KB
Make.inc -rw-r--r-- 55.9 KB
Makefile -rw-r--r-- 30.2 KB
NEWS.md -rw-r--r-- 11.4 KB
README.md -rw-r--r-- 7.4 KB
THIRDPARTY.md -rw-r--r-- 3.9 KB
VERSION -rw-r--r-- 11 bytes
julia.spdx.json -rw-r--r-- 37.8 KB
pkgimage.mk -rw-r--r-- 5.9 KB
sysimage.mk -rw-r--r-- 4.2 KB
typos.toml -rw-r--r-- 78 bytes

README.md

back to top