cos

@JvmName(name = "cosTD")
fun <T : Number, D : Dimension> MultiArray<T, D>.cos(): NDArray<Double, D>

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

same as Math.cos


@JvmName(name = "cosFloatD")
fun <D : Dimension> MultiArray<Float, D>.cos(): NDArray<Float, D>

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

same as Math.cos


@JvmName(name = "cosComplexFloatD")
fun <D : Dimension> MultiArray<ComplexFloat, D>.cos(): NDArray<ComplexFloat, D>
@JvmName(name = "cosComplexDoubleD")
fun <D : Dimension> MultiArray<ComplexDouble, D>.cos(): NDArray<ComplexDouble, D>

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

same as Math.cos


@JvmName(name = "cos")
fun <T : Number, D : Dimension> Math.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.


@JvmName(name = "cosFloat")
fun <D : Dimension> Math.cos(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.


@JvmName(name = "cosComplexFloat")
fun <D : Dimension> Math.cos(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.


@JvmName(name = "cosComplexDouble")
fun <D : Dimension> Math.cos(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.