We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(::BSplineManifold{1})(::ClosedInterval)
julia> using BasicBSpline, IntervalSets julia> P = BSplineSpace{3}(KnotVector(0:12)) BSplineSpace{3, Int64, KnotVector{Int64}}(KnotVector([0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12])) julia> M = BSplineManifold(rand(dim(P)), P) BSplineManifold{1, (3,), Float64, Tuple{BSplineSpace{3, Int64, KnotVector{Int64}}}}((BSplineSpace{3, Int64, KnotVector{Int64}}(KnotVector([0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12])),), [0.9151693857959985, 0.7142163980500216, 0.3222173098183103, 0.03422577639141955, 0.3038776350200958, 0.8799175205017714, 0.6502692346067864, 0.39148181575754115, 0.7355093483274633]) julia> M(:) BSplineManifold{1, (3,), Float64, Tuple{BSplineSpace{3, Int64, KnotVector{Int64}}}}((BSplineSpace{3, Int64, KnotVector{Int64}}(KnotVector([0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12])),), [0.9151693857959985, 0.7142163980500216, 0.3222173098183103, 0.03422577639141955, 0.3038776350200958, 0.8799175205017714, 0.6502692346067864, 0.39148181575754115, 0.7355093483274633]) julia> M(6..7) ERROR: MethodError: no method matching (::BSplineManifold{1, (3,), Float64, Tuple{BSplineSpace{3, Int64, KnotVector{Int64}}}})(::ClosedInterval{Int64}) Closest candidates are: (::BasicBSpline.AbstractManifold{Dim})(::Real...) where Dim @ BasicBSpline ~/.julia/dev/BasicBSpline/src/_BSplineManifold.jl:146 (::BSplineManifold{1, Deg, C, S} where {Deg, C, S<:Tuple{BSplineSpace}})(::Colon) @ BasicBSpline ~/.julia/dev/BasicBSpline/src/_BSplineManifold.jl:166 Stacktrace: [1] top-level scope @ REPL[6]:1 julia> v = rand(8) 8-element Vector{Float64}: 0.486491031969827 0.44114816635483656 0.387095068042405 0.1373243437850753 0.23652939586865518 0.8864683710160386 0.523801768466201 0.1417636702871744 julia> v[6:7] 2-element Vector{Float64}: 0.8864683710160386 0.523801768466201 julia> v[:] 8-element Vector{Float64}: 0.486491031969827 0.44114816635483656 0.387095068042405 0.1373243437850753 0.23652939586865518 0.8864683710160386 0.523801768466201 0.1417636702871744
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The text was updated successfully, but these errors were encountered: