Managed Array Functions.Max Method
Definition
Namespace: Extreme.Mathematics.LinearAlgebra.Implementation
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Overload List
Max( | Computes the maximum of all elements in the array. |
Max( | Computes the maximum of a number and each element of an array. |
Max(Int32, ArraySlice<Double>)
Computes the maximum of all elements in the array.
public override double Max(
int length,
ArraySlice<double> operand
)
Parameters
- length Int32
- The number of elements in the array.
- operand ArraySlice<Double>
- The array that holds the operands.
Return Value
DoubleThe maximum of the elements of operand.
Implements
IArrayFunctions<T, TShape, TArray>.Max(TShape, TArray)Max(Int32, ArraySlice<Double>, Double, ArraySlice<Double>)
Computes the maximum of a number and each element of an array.
public override void Max(
int length,
ArraySlice<double> operand,
double value,
ArraySlice<double> result
)
Parameters
- length Int32
- The number of elements in the array.
- operand ArraySlice<Double>
- The array that holds the operands.
- value Double
- The number to compare to.
- result ArraySlice<Double>
- The array that holds the results.