The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
LinearKernel
mir
interpolate
linear
@
fmamath
struct
LinearKernel (
X
) {
X
step
;
X
w0
;
X
w1
;
auto
lightConst
();
auto
lightImmutable
();
this
(X x0, X x1, X x);
template
opCall
(uint derivative = 0)
;
alias
withDerivative
=
opCall
!
1
;
}
Constructors
this
this
(X x0, X x1, X x)
Members
Aliases
withDerivative
alias
withDerivative
=
opCall
!
1
Functions
lightConst
auto
lightConst
()
lightImmutable
auto
lightImmutable
()
Templates
opCall
template
opCall
(uint derivative = 0)
Meta
Source
See Implementation
mir
interpolate
linear
functions
linear
metaLinear
structs
Linear
LinearKernel
MetaLinear