Matrix.LogInto Method

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

Overload List

LogInto<T>(Matrix<T>, Matrix<T>) Computes the logarithm of the elements of a matrix.
LogInto<T>(Matrix<T>, T, Matrix<T>) Computes the logarithm of the elements of a matrix.

LogInto<T>(Matrix<T>, Matrix<T>)

Computes the logarithm of the elements of a matrix.
C#
public static Matrix<T> LogInto<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 logarithm of the corresponding element of matrix.

Exceptions

ArgumentNullExceptionmatrix is null

LogInto<T>(Matrix<T>, T, Matrix<T>)

Computes the logarithm of the elements of a matrix.
C#
public static Matrix<T> LogInto<T>(
	Matrix<T> matrix,
	T newBase,
	Matrix<T> result
)

Parameters

matrix  Matrix<T>
A matrix.
newBase  T
The base of the logarithm.
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 logarithm of the corresponding element of matrix.

Exceptions

ArgumentNullExceptionmatrix is null

See Also