Vector<T>.MinCore Method

Definition

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

Overload List

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

MinCore(T, Vector<T>)

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

Parameters

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

Return Value

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

MinCore(Vector<T>, Vector<T>)

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

Parameters

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

Return Value

Vector<T>
A vector whose elements are the largest of the corresponding elements of this vector and other.

Exceptions

DimensionMismatchException

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

See Also