ArrayMath Methods

Methods

AbsoluteMax Returns the value of the element in an array that has the largest absolute value.
AbsoluteMaxIndex Returns the index of the element in an array that has the largest absolute value.
AbsoluteMin Returns the value of the element in an array that has the smallest absolute value.
AbsoluteMinIndex 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.
GetEnumerator Returns an enumerator that iterates over the elements of a range.
Max Returns the value of the largest element in an array.
MaxIndex Returns the index of the largest element in an array.
Min Returns the value of the smallest element in an array.
MinIndex 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.
SumIf(Double[], Func<Double, Boolean>) Computes the sum of the elements in an array that satisfy the specified predicate.
SumIf(Double[], Func<Double, Int32, Boolean>) 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.

See Also