mir-algorithm ~master (2021-09-24T13:11:04Z)
Dub
Repo
Lagrange.this
mir
interpolate
polynomial
Lagrange
Complexity:
O(N^^2)
this
(Slice!(RCI!(immutable X)) grid, RCArray!T values, RCArray!(immutable T) inversedBarycentricWeights)
this
(Slice!(RCI!(immutable X)) grid, RCArray!T values)
struct
Lagrange
(T, uint maxAdditionalFunctions = 0, X = T)
@
safe
pure @
nogc
extern (
D
)
@
optmath
this
(
Slice
!(
RCI
!(immutable
X
))
grid
,
RCArray
!
T
values
)
if
(
isFloatingPoint
!
T
&&
maxAdditionalFunctions
< 16
)
Meta
Source
See Implementation
mir
interpolate
polynomial
Lagrange
aliases
withDerivative
withTwoDerivatives
constructors
this
functions
lightConst
lightImmutable
properties
asums
grid
gridScopeView
intervalCount
inversedBarycentricWeights
normalizedValues
templates
opCall
variables
_asums
_grid
_inversedBarycentricWeights
_normalizedValues
derivativeOrder
Complexity: O(N^^2)