Vector.MaxNumberInto Method

Definition

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

Overload List

MaxNumberInto<T>(Vector<T>, T, Vector<T>) Stores the maximum numbers of a vector and a scalar in a destination vector.
MaxNumberInto<T>(Vector<T>, Vector<T>, Vector<T>) Stores the maximum numbers of two vectors in a destination vector.

MaxNumberInto<T>(Vector<T>, T, Vector<T>)

Stores the maximum numbers of a vector and a scalar in a destination vector.
C#
public static Vector<T> MaxNumberInto<T>(
	this Vector<T> vector,
	T value,
	Vector<T>? result
)

Parameters

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

Type Parameters

T

Return Value

Vector<T>
The vector containing the maximum numbers.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Vector<T>. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

MaxNumberInto<T>(Vector<T>, Vector<T>, Vector<T>)

Stores the maximum numbers of two vectors in a destination vector.
C#
public static Vector<T> MaxNumberInto<T>(
	this Vector<T> left,
	Vector<T> right,
	Vector<T>? result
)

Parameters

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

Type Parameters

T

Return Value

Vector<T>
The vector containing the maximum numbers.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Vector<T>. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also