The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
Lagrange.this
mir
interpolate
polynomial
Lagrange
Complexity:
O(N)
this
(Slice!(RCI!(immutable X)) grid, RCArray!T values, RCArray!(immutable T) inversedBarycentricWeights)
struct
Lagrange
(T, uint maxAdditionalFunctions = 0, X = T)
extern (
D
) @
safe
pure @
nogc
pragma(
inline
, false)
@
fmamath
this
(
Slice
!(
RCI
!(immutable
X
))
grid
,
RCArray
!
T
values
,
RCArray
!(immutable
T
)
inversedBarycentricWeights
)
if
(
isFloatingPoint
!
T
&&
maxAdditionalFunctions
< 16
)
this
(Slice!(RCI!(immutable X)) grid, RCArray!T values)
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)