Matrix<T>.MinCore Method

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4

Overload List

MinCore(T, Matrix<T>) Returns a matrix whose elements are the minimum of the components of a matrix and a real number.
MinCore(Matrix<T>, Matrix<T>) Returns a matrix whose elements are the minimums of the components of two vectors.

MinCore(T, Matrix<T>)

Returns a matrix whose elements are the minimum of the components of a matrix and a real number.
C#
protected virtual Matrix<T> MinCore(
	T value,
	Matrix<T>? result
)

Parameters

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

Return Value

Matrix<T>
A matrix whose elements are the largest of the corresponding element of this matrix and value.

MinCore(Matrix<T>, Matrix<T>)

Returns a matrix whose elements are the minimums of the components of two vectors.
C#
protected virtual Matrix<T> MinCore(
	Matrix<T> other,
	Matrix<T>? result
)

Parameters

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

Return Value

Matrix<T>
A matrix whose elements are the largest of the corresponding elements of this matrix and other.

Exceptions

DimensionMismatchException

The length of this matrix is not equal to the length of other.

See Also