mir-algorithm ~master (2021-09-24T13:11:04Z)
Dub
Repo
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)
@
safe
pure @
nogc
extern (
D
) pragma(
inline
, false)
@
optmath
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
Complexity: O(N)