Array Math Class
Contains methods that perform operations on arrays.
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
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. |
Get | Returns an enumerator that iterates over the elements of a range. |
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. |
Normalize | Returns a range that has indexes from end replaced with offsets from the end of the specified length. |
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<T1, T2, U>(IEnumerable<T1>, IEnumerable<T2>, Func<T1, T2, U>) | Computes the sum of the sequence of values that are obtained by invoking a transform function on each pair of elements of the input sequences. |
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. |
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. |