-
Notifications
You must be signed in to change notification settings - Fork 38
Open
Description
julia> versioninfo()
Julia Version 1.10.2
Commit bd47eca2c8a (2024-03-01 10:14 UTC)
Build Info:
Official https://julialang.org/ release
Platform Info:
OS: macOS (x86_64-apple-darwin22.4.0)
CPU: 36 × Intel(R) Xeon(R) W-2191B CPU @ 2.30GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-15.0.7 (ORCJIT, skylake-avx512)
Threads: 1 default, 0 interactive, 1 GC (on 36 virtual cores)
(@v1.10) pkg> st
Status `~/.julia/environments/v1.10/Project.toml`
[28f2ccd6] ApproxFun v0.13.27
[c52e3926] Atom v0.12.38
[aae01518] BandedMatrices v1.7.5 `~/.julia/dev/BandedMatrices`
[6e4b80f9] BenchmarkTools v1.5.0
[8e7c35d0] BlockArrays v1.1.1
[b30e2e7b] ClassicalOrthogonalPolynomials v0.13.7
⌃ [e30172f5] Documenter v0.27.25
[7a1cc6ca] FFTW v1.8.0
[442a2c76] FastGaussQuadrature v1.0.2
[057dd010] FastTransforms v0.16.6 `~/.julia/dev/FastTransforms`
[1a297f60] FillArrays v1.13.0
[14197337] GenericLinearAlgebra v0.3.14
[e416a80e] HarmonicOrthogonalPolynomials v0.6.0 `~/.julia/dev/HarmonicOrthogonalPolynomials`
[7c893195] HierarchicalMatrices v0.2.2 `~/.julia/dev/HierarchicalMatrices`
[34004b35] HypergeometricFunctions v0.3.24 `~/.julia/dev/HypergeometricFunctions`
[4858937d] InfiniteArrays v0.14.3
[e5e0dc1b] Juno v0.8.4
[b964fa9f] LaTeXStrings v1.4.0
[5078a376] LazyArrays v2.2.1
[898213cb] LowRankApprox v0.5.5
[4f6956fd] MultivariateOrthogonalPolynomials v0.7.1 `~/.julia/dev/MultivariateOrthogonalPolynomials`
[f0f68f2c] PlotlyJS v0.18.14
[91a5bcdd] Plots v1.40.8
⌃ [c3e4b0f8] Pluto v0.19.9
[27ebfcd6] Primes v0.5.6
[d330b81b] PyPlot v2.11.5
[3cdcf5f2] RecipesBase v1.3.4
[276daf66] SpecialFunctions v2.4.0
[90137ffa] StaticArrays v1.9.8
[d833ac1a] TheFix v0.2.4 `~/.julia/dev/TheFix`
[c751599d] ToeplitzMatrices v0.8.4
[37e2e46d] LinearAlgebra
Info Packages marked with ⌃ have new versions available and may be upgradable.
julia> begin
using BandedMatrices, LinearAlgebra
n = 128
b = 4
T = BigFloat
X = BandedMatrix(SymTridiagonal(zeros(T, n+b), [sqrt(T(n)^2/(4*n^2-1)) for n in 1:n+b-1])) # normalized Legendre X
end;
julia> X[1:n, 1:n]
ERROR: UndefRefError: access to undefined reference
Stacktrace:
[1] getindex
@ ./essentials.jl:14 [inlined]
[2] macro expansion
@ ./multidimensional.jl:917 [inlined]
[3] macro expansion
@ ./cartesian.jl:64 [inlined]
[4] _unsafe_getindex!
@ ./multidimensional.jl:912 [inlined]
[5] _unsafe_getindex(::IndexLinear, ::Matrix{BigFloat}, ::UnitRange{Int64}, ::UnitRange{Int64})
@ Base ./multidimensional.jl:903
[6] _getindex
@ ./multidimensional.jl:889 [inlined]
[7] getindex
@ ./abstractarray.jl:1291 [inlined]
[8] copy
@ ./subarray.jl:71 [inlined]
[9] _BandedMatrix(::BandedMatrices.BandedColumns{…}, A::SubArray{…})
@ BandedMatrices ~/.julia/dev/BandedMatrices/src/banded/BandedMatrix.jl:251
[10] BandedMatrix
@ ~/.julia/dev/BandedMatrices/src/banded/BandedMatrix.jl:246 [inlined]
[11] sub_materialize
@ ~/.julia/dev/BandedMatrices/src/generic/indexing.jl:28 [inlined]
[12] sub_materialize
@ ~/.julia/packages/ArrayLayouts/48qDX/src/ArrayLayouts.jl:131 [inlined]
[13] sub_materialize
@ ~/.julia/packages/ArrayLayouts/48qDX/src/ArrayLayouts.jl:132 [inlined]
[14] layout_getindex
@ ~/.julia/packages/ArrayLayouts/48qDX/src/ArrayLayouts.jl:138 [inlined]
[15] getindex(A::BandedMatrix{BigFloat, Matrix{BigFloat}, Base.OneTo{Int64}}, kr::UnitRange{Int64}, jr::UnitRange{Int64})
@ ArrayLayouts ~/.julia/packages/ArrayLayouts/48qDX/src/ArrayLayouts.jl:153
[16] top-level scope
@ REPL[4]:1
Some type information was truncated. Use `show(err)` to see complete types.
julia> Metadata
Metadata
Assignees
Labels
No labels