The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
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)
extern (
D
) @
safe
pure @
nogc
@
fmamath
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
dimensionCount
Complexity: O(N^^2)