Closed TheBB closed 9 years ago
When this PR is done, the following should be supported and tested for B-Spline bases. Optimization is not a concern here.
length(basis) => 5
size(basis) => (5,)
basis[i] => BSpline(...)
domain(basis) => (lft, rgt)
basis(x) => (vals, idxs)
basis(xs) => [(vals, idxs)]
deriv(basis[, ord])(x) => (vals, idxs)
deriv(basis[, ord])(xs) => [(vals, idxs)]
basis(x, cs) => val
basis(xs, cs) => [val]
deriv(basis[, ord])(x, cs) => val
deriv(basis[, ord])(xs, cs) => [val]
And the following for basis functions.
domain(b) => (lft, rgt)
b(x) => (vals, idxs)
b(xs) => [(vals, idxs)]
deriv(b[, ord])(x) => (vals, idxs)
deriv(b[, ord])(xs) => [(vals, idxs)]
Auxiliary tools:
When this PR is done, the following should be supported and tested for B-Spline bases. Optimization is not a concern here.
length(basis) => 5
size(basis) => (5,)
basis[i] => BSpline(...)
domain(basis) => (lft, rgt)
basis(x) => (vals, idxs)
basis(xs) => [(vals, idxs)]
deriv(basis[, ord])(x) => (vals, idxs)
deriv(basis[, ord])(xs) => [(vals, idxs)]
basis(x, cs) => val
basis(xs, cs) => [val]
deriv(basis[, ord])(x, cs) => val
deriv(basis[, ord])(xs, cs) => [val]
And the following for basis functions.
domain(b) => (lft, rgt)
b(x) => (vals, idxs)
b(xs) => [(vals, idxs)]
deriv(b[, ord])(x) => (vals, idxs)
deriv(b[, ord])(xs) => [(vals, idxs)]
Auxiliary tools: