mir-algorithm ~master (2021-09-24T13:11:04Z)
Dub
Repo
LinearKernel
mir
interpolate
linear
@
optmath
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)
Variables
step
X
step
;
Undocumented in source.
w0
X
w0
;
Undocumented in source.
w1
X
w1
;
Undocumented in source.
Meta
Source
See Implementation
mir
interpolate
linear
functions
linear
structs
Linear
LinearKernel