MathEx

interface MathEx

Extension interface for Math for improved type support.

Functions

Link copied to clipboard
abstract fun <T : Number, D : Dimension> cos(a: MultiArray<T, D>): NDArray<Double, D>

Returns a ndarray of Double from the given ndarray to each element of which a cos function has been applied.

Link copied to clipboard
abstract fun <D : Dimension> cosCD(a: MultiArray<ComplexDouble, D>): NDArray<ComplexDouble, D>

Returns a ndarray of ComplexDouble from the given ndarray to each element of which a cos function has been applied.

Link copied to clipboard
abstract fun <D : Dimension> cosCF(a: MultiArray<ComplexFloat, D>): NDArray<ComplexFloat, D>

Returns a ndarray of ComplexFloat from the given ndarray to each element of which a cos function has been applied.

Link copied to clipboard
abstract fun <D : Dimension> cosF(a: MultiArray<Float, D>): NDArray<Float, D>

Returns a ndarray of Float from the given ndarray to each element of which a cos function has been applied.

Link copied to clipboard
abstract fun <T : Number, D : Dimension> exp(a: MultiArray<T, D>): NDArray<Double, D>

Returns a ndarray of Double from the given ndarray to each element of which an exp function has been applied.

Link copied to clipboard
abstract fun <D : Dimension> expCD(a: MultiArray<ComplexDouble, D>): NDArray<ComplexDouble, D>

Returns a ndarray of ComplexDouble from the given ndarray to each element of which an exp function has been applied.

Link copied to clipboard
abstract fun <D : Dimension> expCF(a: MultiArray<ComplexFloat, D>): NDArray<ComplexFloat, D>

Returns a ndarray of ComplexFloat from the given ndarray to each element of which an exp function has been applied.

Link copied to clipboard
abstract fun <D : Dimension> expF(a: MultiArray<Float, D>): NDArray<Float, D>

Returns a ndarray of Float from the given ndarray to each element of which an exp function has been applied.

Link copied to clipboard
abstract fun <T : Number, D : Dimension> log(a: MultiArray<T, D>): NDArray<Double, D>

Returns a ndarray of Double from the given ndarray to each element of which a log function has been applied.

Link copied to clipboard
abstract fun <D : Dimension> logCD(a: MultiArray<ComplexDouble, D>): NDArray<ComplexDouble, D>

Returns a ndarray of ComplexDouble from the given ndarray to each element of which a log function has been applied.

Link copied to clipboard
abstract fun <D : Dimension> logCF(a: MultiArray<ComplexFloat, D>): NDArray<ComplexFloat, D>

Returns a ndarray of ComplexFloat from the given ndarray to each element of which a log function has been applied.

Link copied to clipboard
abstract fun <D : Dimension> logF(a: MultiArray<Float, D>): NDArray<Float, D>

Returns a ndarray of Float from the given ndarray to each element of which a log function has been applied.

Link copied to clipboard
abstract fun <T : Number, D : Dimension> sin(a: MultiArray<T, D>): NDArray<Double, D>

Returns an ndarray of Double from the given ndarray to each element of which a sin function has been applied.

Link copied to clipboard
abstract fun <D : Dimension> sinCD(a: MultiArray<ComplexDouble, D>): NDArray<ComplexDouble, D>

Returns an ndarray of ComplexDouble from the given ndarray to each element of which a sin function has been applied.

Link copied to clipboard
abstract fun <D : Dimension> sinCF(a: MultiArray<ComplexFloat, D>): NDArray<ComplexFloat, D>

Returns an ndarray of ComplexFloat from the given ndarray to each element of which a sin function has been applied.

Link copied to clipboard
abstract fun <D : Dimension> sinF(a: MultiArray<Float, D>): NDArray<Float, D>

Returns an ndarray of Float from the given ndarray to each element of which a sin function has been applied.