Package space.kscience.kmath.operations
Types
Kotlin Multiplatform implementation of Big Integer numbers (KBigInteger).
An implementation of LogicAlgebra for primitive booleans
ExtendedField over DoubleBuffer.
ExtendedFieldOps over DoubleBuffer.
A field for Double without boxing. Does not produce appropriate field element.
A container for operations related to exp
and ln
functions.
Advanced Number-like field that implements basic operations.
Advanced Number-like semifield that implements basic operations.
Represents field i.e., algebraic structure with three operations: associative, commutative addition and multiplication, and division. This interface differs from the eponymous mathematical definition: fields in KMath also support associative multiplication by scalar.
A field for Float without boxing. Does not produce appropriate field element.
A field over BigDecimal.
An abstract field over BigDecimal.
A field over BigInteger.
Stub for DSL the Algebra is.
An algebra for generic boolean logic
A combination of NumericAlgebra and Ring that adds intrinsic simple operations on numbers like T+1
TODO to be removed and replaced by extensions after multiple receivers are there
An algebraic structure where elements can have numeric representation.
A context extension to include power operations based on exponentiation.
Scale by scalar operations
A container for trigonometric operations for specific type.
Functions
Returns an average value of elements in the iterable in this Group.
Returns an average value of elements in the sequence in this Group.
Returns an average value of elements in the iterable in this Group.
Returns an average value of elements in the sequence in this Group.
Check if number is an integer from platform point of view
Create a new buffer from this one with the given mapping function and using Buffer.Companion.auto buffer factory.
Create a new buffer from this one with the given mapping function. Provided bufferFactory is used to construct the new buffer.
Create a new buffer from this one with the given indexed mapping function. Provided BufferFactory is used to construct the new buffer.
Returns null
if a valid number cannot be read from a string
Returns a new MutableList filled with all elements of this buffer. NOTE: this method uses a protective copy, so it should not be used in performance-critical code.
Returns a new Array containing all elements of this buffer. NOTE: this method uses a protective copy, so it should not be used in performance-critical code.