Operations<T>.Max Method

Definition

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

Overload List

Max(T, T) Returns the largest of two numbers, returning NaN when either value is NaN.
Max(T, T, T) Returns the largest of three numbers, returning NaN when either value is NaN.

Max(T, T)

Returns the largest of two numbers, returning NaN when either value is NaN.
C#
public static T Max(
	T a,
	T b
)

Parameters

a  T
 
b  T
 

Return Value

T

Max(T, T, T)

Returns the largest of three numbers, returning NaN when either value is NaN.
C#
public static T Max(
	T a,
	T b,
	T c
)

Parameters

a  T
 
b  T
 
c  T
 

Return Value

T

See Also