Matrix.TanInto<T> Method

Computes the tangent of the elements of a matrix.

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.0
C#
public static Matrix<T> TanInto<T>(
	Matrix<T> matrix,
	Matrix<T>? result
)

Parameters

matrix  Matrix<T>
A matrix.
result  Matrix<T>
The matrix that is to hold the result. May be null.

Type Parameters

T

Return Value

Matrix<T>
A matrix whose elements are equal to the tangent of the corresponding element of matrix.

Exceptions

ArgumentNullException

matrix is null.

See Also