Array Math Class
Contains methods that perform operations on arrays.
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public static class ArrayMath- Inheritance
- Object → ArrayMath
Methods
| Absolute | Returns the value of the element in an array that has the largest absolute value. |
| Absolute | Returns the index of the element in an array that has the largest absolute value. |
| Absolute | Returns the value of the element in an array that has the smallest absolute value. |
| Absolute | Returns the index of the element in an array that has the smallest absolute value. |
| AsVector<T>(T[], ArrayMutability) | Converts an array to a vector without copying. |
| AsVector<T>(T[], Int32, ArrayMutability) | Converts an array to a vector without copying. |
| Max | Returns the value of the largest element in an array. |
| Max | Returns the index of the largest element in an array. |
| Min | Returns the value of the smallest element in an array. |
| Min | Returns the index of the smallest element in an array. |
| Sum(Double[]) | Computes the sum of the elements of an array. |
| Sum(Double[], Int32, Int32) | Computes the sum of the elements in a segment of an array. |
| Sum<T>(IEnumerable<T>) | Computes the sum of the sequence of values. |
| Sum<T, U>(IEnumerable<T>, Func<T, U>) | Computes the sum of the sequence of values that are obtained by invoking a transform function on each element of the input sequence. |
| Sum | Computes the sum of the elements in an array that satisfy the specified predicate. |
| Sum | Computes the sum of the elements in an array that satisfy the specified predicate. |
| ToIndex | Converts a Index to a regular 0-based index. |
| ToRange | Converts a Range to a Range. |
| ToSlice | Converts a Range to a Slice. |
| ToVector<T>(T[], ArrayMutability) | Converts an array to a vector with copying. |
| ToVector<T>(T[], Int32, ArrayMutability) | Converts an array to a vector with copying. |