The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
ParabolaKernel
mir
interpolate
utility
Quadratic function structure
struct
ParabolaKernel (
T
) {
T
a
;
T
b
;
T
c
;
this
(T a, T b, T c);
this
(T x0, T x1, T x2, T y0, T y1, T y2);
static
ParabolaKernel
fromFirstDerivative
(T x0, T x1, T y0, T y1, T d1);
auto
opCall
(T x);
alias
withDerivative
=
opCall
!
1
;
alias
withTwoDerivatives
=
opCall
!
2
;
}
Constructors
this
this
(T a, T b, T c)
this
this
(T x0, T x1, T x2, T y0, T y1, T y2)
Builds parabola given three points
Members
Aliases
withDerivative
alias
withDerivative
=
opCall
!
1
withTwoDerivatives
alias
withTwoDerivatives
=
opCall
!
2
Functions
opCall
auto
opCall
(T x)
Static functions
fromFirstDerivative
ParabolaKernel
fromFirstDerivative
(T x0, T x1, T y0, T y1, T d1)
Variables
a
T
a
;
b
T
b
;
c
T
c
;
Meta
Source
See Implementation
mir
interpolate
utility
functions
parabolaDerivatives
parabolaKernel
structs
CubicKernel
ParabolaKernel
Quadratic function structure