KMathNumber
class KMathNumber<T : Number, A : NumericAlgebra<T>>(algebra: A, value: T) : SConst<KMathNumber<T, A>>
Content copied to clipboard
Implements SConst by delegating its functionality to NumericAlgebra.
Parameters
T
The type of number.
A
The NumericAlgebra over T.
Constructors
KMathNumber
Link copied to clipboard
fun <T : Number, A : NumericAlgebra<T>> KMathNumber(algebra: A, value: T)
Content copied to clipboard
The type of number.
Functions
apply
Link copied to clipboard
cos
Link copied to clipboard
div
Link copied to clipboard
open operator override fun div(divisor: SFun<KMathNumber<T, A>>): SFun<KMathNumber<T, A>>
Content copied to clipboard
exp
Link copied to clipboard
grad
Link copied to clipboard
invoke
Link copied to clipboard
open operator override fun invoke(newBindings: Bindings<KMathNumber<T, A>>): SFun<KMathNumber<T, A>>
Content copied to clipboard
open operator override fun invoke(vararg funs: Fun<KMathNumber<T, A>>): SFun<KMathNumber<T, A>>
Content copied to clipboard
open operator override fun invoke(vararg numbers: Number): SFun<KMathNumber<T, A>>
Content copied to clipboard
open operator override fun invoke(vararg ps: Pair<Fun<KMathNumber<T, A>>, Any>): SFun<KMathNumber<T, A>>
Content copied to clipboard
isConstant
Link copied to clipboard
ln
Link copied to clipboard
log
Link copied to clipboard
open override fun log(base: SFun<KMathNumber<T, A>>): SFun<KMathNumber<T, A>>
Content copied to clipboard
minus
Link copied to clipboard
open operator fun minus(subtrahend: SFun<KMathNumber<T, A>>): SFun<KMathNumber<T, A>>
Content copied to clipboard
plus
Link copied to clipboard
open operator override fun plus(addend: SFun<KMathNumber<T, A>>): SFun<KMathNumber<T, A>>
Content copied to clipboard
pow
Link copied to clipboard
open infix override fun pow(exponent: SFun<KMathNumber<T, A>>): SFun<KMathNumber<T, A>>
Content copied to clipboard
sin
Link copied to clipboard
sqrt
Link copied to clipboard
tan
Link copied to clipboard
times
Link copied to clipboard
open operator override fun <R : D1, C : D1> times(multiplicand: MFun<KMathNumber<T, A>, R, C>): MFun<KMathNumber<T, A>, R, C>
Content copied to clipboard
open operator override fun times(multiplicand: SFun<KMathNumber<T, A>>): SFun<KMathNumber<T, A>>
Content copied to clipboard
open operator override fun <E : D1> times(multiplicand: VFun<KMathNumber<T, A>, E>): VFun<KMathNumber<T, A>, E>
Content copied to clipboard
unaryMinus
Link copied to clipboard
unaryPlus
Link copied to clipboard
wrap
Link copied to clipboard
wrapOrError
Link copied to clipboard
Properties
bindings
Link copied to clipboard
doubleValue
Link copied to clipboard
E
Link copied to clipboard
ONE
Link copied to clipboard
TWO
Link copied to clipboard
ZERO
Link copied to clipboard
Sources
jvm source
Link copied to clipboard