ArrayFunctions<T> Class

Specifies the methods that must be implemented by a class to support elementary functions on vectors and matrices.

Definition

Namespace: Numerics.NET.LinearAlgebra.Implementation
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
public abstract class ArrayFunctions<T> : IImplementation, 
	IParallelized
Inheritance
Object  →  ArrayFunctions<T>
Derived
Implements
IParallelized, IImplementation

Type Parameters

T

Constructors

ArrayFunctions<T>Initializes a new instance of the ArrayFunctions<T> class

Properties

HasSharedDegreeOfParallelism Indicates whether the degree of parallelism is a property that is shared across instances.
MaxDegreeOfParallelism Gets or sets the maximum degree of parallelism enabled by the instance.
Name Gets the name of the implementation.
Platform Gets the processor architecture supported by the implementation.

Methods

Abs(Int32, ReadOnlySpanSlice<T>, SpanSlice<T>) Computes the absolute value for each element of a span.
Abs(Int32, ReadOnlySpan<T>, Int32, Span<T>, Int32) Computes the absolute value for each element of a span.
Abs<TStorage>(Int32, TStorage, TStorage) Computes the absolute value for each element of an array.
Acos(Int32, ReadOnlySpanSlice<T>, SpanSlice<T>) Computes the inverse cosine of each element of a span.
Acos(Int32, ReadOnlySpan<T>, Int32, Span<T>, Int32) Computes the inverse cosine of each element of a span.
Acos<TStorage>(Int32, TStorage, TStorage) Computes the inverse cosine of each element of an array.
Acosh(Int32, ReadOnlySpanSlice<T>, SpanSlice<T>) Computes the inverse hyperbolic cosine of each element of a span.
Acosh(Int32, ReadOnlySpan<T>, Int32, Span<T>, Int32) Computes the inverse hyperbolic cosine of each element of a span.
Acosh<TStorage>(Int32, TStorage, TStorage) Computes the inverse hyperbolic cosine of each element of an array.
Add(Int32, ReadOnlySpanSlice<T>, ReadOnlySpanSlice<T>, SpanSlice<T>) Adds a value to each element of a span.
Add(Int32, ReadOnlySpan<T>, Int32, ReadOnlySpan<T>, Int32, Span<T>, Int32) Adds a value to each element of a span.
Add<TStorage>(Int32, TStorage, TStorage, TStorage) Adds each element of an array to the corresponding element in another array.
Add<TStorage>(Int32, TStorage, T, TStorage) Adds a value to each element of an array.
Argument(Int32, ReadOnlySpanSlice<T>, SpanSlice<T>) Computes the phase or argument of each element of a span.
Argument(Int32, ReadOnlySpan<T>, Int32, Span<T>, Int32) Computes the phase or argument of each element of a span.
Asin(Int32, ReadOnlySpanSlice<T>, SpanSlice<T>) Computes the inverse sine of each element of a span.
Asin(Int32, ReadOnlySpan<T>, Int32, Span<T>, Int32) Computes the inverse sine of each element of a span.
Asin<TStorage>(Int32, TStorage, TStorage) Computes the inverse sine of each element of an array.
Asinh(Int32, ReadOnlySpanSlice<T>, SpanSlice<T>) Computes the inverse hyperbolic sine of each element of a span.
Asinh(Int32, ReadOnlySpan<T>, Int32, Span<T>, Int32) Computes the inverse hyperbolic sine of each element of a span.
Asinh<TStorage>(Int32, TStorage, TStorage) Computes the inverse hyperbolic sine of each element of an array.
Atan(Int32, ReadOnlySpanSlice<T>, SpanSlice<T>) Computes the inverse tangent of each element of a span.
Atan(Int32, ReadOnlySpan<T>, Int32, Span<T>, Int32) Computes the inverse tangent of each element of a span.
Atan<TStorage>(Int32, TStorage, TStorage) Computes the inverse tangent of each element of an array.
Atan2(Int32, ReadOnlySpanSlice<T>, ReadOnlySpanSlice<T>, SpanSlice<T>) Computes the inverse tangent of each element of two arrays.
Atan2(Int32, ReadOnlySpan<T>, Int32, ReadOnlySpan<T>, Int32, Span<T>, Int32) Computes the inverse tangent of each element of two arrays.
Atan2<TStorage>(Int32, TStorage, TStorage, TStorage) Computes the inverse tangent of each element of two arrays.
Atanh(Int32, ReadOnlySpanSlice<T>, SpanSlice<T>) Computes the inverse hyperbolic tangent of each element of a span.
Atanh(Int32, ReadOnlySpan<T>, Int32, Span<T>, Int32) Computes the inverse hyperbolic tangent of each element of a span.
Atanh<TStorage>(Int32, TStorage, TStorage) Computes the inverse hyperbolic tangent of each element of an array.
Ceiling(Int32, ReadOnlySpanSlice<T>, SpanSlice<T>) Computes the smallest integer greater than or equal to each element of a span.
Ceiling(Int32, ReadOnlySpan<T>, Int32, Span<T>, Int32) Computes the smallest integer greater than or equal to each element of a span.
Ceiling<TStorage>(Int32, TStorage, TStorage) Computes the smallest integer greater than or equal to each element of an array.
Conjugate(Int32, ReadOnlySpanSlice<T>, SpanSlice<T>) Computes the complex conjugate of each element of a span.
Conjugate(Int32, ReadOnlySpan<T>, Int32, Span<T>, Int32) Computes the complex conjugate of each element of a span.
ConjugateMultiply(Int32, ReadOnlySpanSlice<T>, ReadOnlySpanSlice<T>, SpanSlice<T>) Multiplies the conjugate each element of a span by the corresponding element in another span.
ConjugateMultiply(Int32, ReadOnlySpan<T>, Int32, ReadOnlySpan<T>, Int32, Span<T>, Int32) Multiplies the conjugate each element of a span by the corresponding element in another span.
ConjugateMultiply<TStorage>(Int32, TStorage, TStorage, TStorage) Multiplies the conjugate of each element of an array by the corresponding element in another array.
Copy(Int32, ReadOnlySpanSlice<T>, SpanSlice<T>) Copies one array to another.
Copy(Int32, ReadOnlySpan<T>, Int32, Span<T>, Int32) Copies one array to another.
Cos(Int32, ReadOnlySpanSlice<T>, SpanSlice<T>) Computes the cosine of each element of a span.
Cos(Int32, ReadOnlySpan<T>, Int32, Span<T>, Int32) Computes the cosine of each element of a span.
Cos<TStorage>(Int32, TStorage, TStorage) Computes the cosine of each element of an array.
Cosh(Int32, ReadOnlySpanSlice<T>, SpanSlice<T>) Computes the hyperbolic cosine of each element of a span.
Cosh(Int32, ReadOnlySpan<T>, Int32, Span<T>, Int32) Computes the hyperbolic cosine of each element of a span.
Cosh<TStorage>(Int32, TStorage, TStorage) Computes the hyperbolic cosine of each element of an array.
Divide(Int32, T, ReadOnlySpanSlice<T>, SpanSlice<T>) Divides a number by each element of a span.
Divide(Int32, ReadOnlySpanSlice<T>, ReadOnlySpanSlice<T>, SpanSlice<T>) Divides each element of a span by the corresponding element in another span.
Divide(Int32, T, ReadOnlySpan<T>, Int32, Span<T>, Int32) Divides a number by each element of a span.
Divide(Int32, ReadOnlySpan<T>, Int32, ReadOnlySpan<T>, Int32, Span<T>, Int32) Divides each element of a span by the corresponding element in another span.
Divide<TStorage>(Int32, TStorage, TStorage, TStorage) Divides each element of an array by the corresponding element in another array.
Divide<TStorage>(Int32, T, TStorage, TStorage) Divides a number by each element of an array.
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Exp(Int32, ReadOnlySpanSlice<T>, SpanSlice<T>) Computes the exponential function for each element of a span.
Exp(Int32, ReadOnlySpan<T>, Int32, Span<T>, Int32) Computes the exponential function for each element of a span.
Exp<TStorage>(Int32, TStorage, TStorage) Computes the exponential function for each element of an array.
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Floor(Int32, ReadOnlySpanSlice<T>, SpanSlice<T>) Computes the largest integer less than or equal to each element of a span.
Floor(Int32, ReadOnlySpan<T>, Int32, Span<T>, Int32) Computes the largest integer less than or equal to each element of a span.
Floor<TStorage>(Int32, TStorage, TStorage) Computes the largest integer less than or equal to each element of an array.
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
Hypot(Int32, ReadOnlySpanSlice<T>, ReadOnlySpanSlice<T>, SpanSlice<T>) Computes the hypotenuse of corresponding elements of two arrays.
Hypot(Int32, ReadOnlySpan<T>, Int32, ReadOnlySpan<T>, Int32, Span<T>, Int32) Computes the hypotenuse of corresponding elements of two arrays.
Hypot<TStorage>(Int32, TStorage, TStorage, TStorage) Computes the hypotenuse of corresponding elements of two arrays.
Log(Int32, ReadOnlySpanSlice<T>, SpanSlice<T>) Computes the logarithm of each element of a span.
Log(Int32, ReadOnlySpan<T>, Int32, Span<T>, Int32) Computes the logarithm of each element of a span.
Log<TStorage>(Int32, TStorage, TStorage) Computes the logarithm of each element of an array.
Max(Int32, ReadOnlySpanSlice<T>) Computes the maximum of all elements in the span.
Max(Int32, ReadOnlySpan<T>, Int32) Computes the maximum of all elements in the span.
Max(Int32, ReadOnlySpanSlice<T>, T, SpanSlice<T>) Computes the maximum of a number and each element of a span.
Max(Int32, ReadOnlySpanSlice<T>, ReadOnlySpanSlice<T>, SpanSlice<T>) Computes the maximum of corresponding elements of two spans.
Max(Int32, ReadOnlySpan<T>, Int32, T, Span<T>, Int32) Computes the maximum of a number and each element of a span.
Max(Int32, ReadOnlySpan<T>, Int32, ReadOnlySpan<T>, Int32, Span<T>, Int32) Computes the maximum of corresponding elements of two spans.
Max<TStorage>(Int32, TStorage) Computes the maximum of all elements in the array.
Max<TStorage>(Int32, TStorage, TStorage, TStorage) Computes the maximum of each element of an array and the corresponding element in another array.
Max<TStorage>(Int32, TStorage, T, TStorage) Computes the maximum of a number and each element of an array.
Obsolete.
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Min(Int32, ReadOnlySpanSlice<T>) Computes the minimum of all elements in the span.
Min(Int32, ReadOnlySpan<T>, Int32) Computes the minimum of all elements in the span.
Min(Int32, ReadOnlySpanSlice<T>, T, SpanSlice<T>) Computes the minimum of a number and each element of a span.
Min(Int32, ReadOnlySpanSlice<T>, ReadOnlySpanSlice<T>, SpanSlice<T>) Computes the minimum of corresponding elements of two spans.
Min(Int32, ReadOnlySpan<T>, Int32, T, Span<T>, Int32) Computes the minimum of a number and each element of a span.
Min(Int32, ReadOnlySpan<T>, Int32, ReadOnlySpan<T>, Int32, Span<T>, Int32) Computes the minimum of corresponding elements of two spans.
Min<TStorage>(Int32, TStorage) Computes the minimum of all elements in the array.
Min<TStorage>(Int32, TStorage, TStorage, TStorage) Computes the minimum of each element of an array and the corresponding element in another array.
Min<TStorage>(Int32, TStorage, T, TStorage) Computes the minimum of a number and each element of an array.
Obsolete.
Modulus(Int32, ReadOnlySpanSlice<T>, ReadOnlySpanSlice<T>, SpanSlice<T>) Computes the modulus of each element of a span with respect to the corresponding element in another span.
Modulus(Int32, ReadOnlySpan<T>, Int32, ReadOnlySpan<T>, Int32, Span<T>, Int32) Computes the modulus of each element of a span with respect to the corresponding element in another span.
Multiply(Int32, ReadOnlySpanSlice<T>, ReadOnlySpanSlice<T>, SpanSlice<T>) Multiplies each element of a span by the corresponding element in another span.
Multiply(Int32, ReadOnlySpan<T>, Int32, ReadOnlySpan<T>, Int32, Span<T>, Int32) Multiplies each element of a span by the corresponding element in another span.
Multiply<TStorage>(Int32, TStorage, TStorage, TStorage) Multiplies each element of an array by the corresponding element in another array.
Pow(Int32, ReadOnlySpanSlice<T>, T, SpanSlice<T>) Computes the element-wise power of a span.
Pow(Int32, ReadOnlySpanSlice<T>, Int32, SpanSlice<T>) Computes the element-wise power of a span.
Pow(Int32, ReadOnlySpan<T>, Int32, T, Span<T>, Int32) Computes the element-wise power of a span.
Pow(Int32, ReadOnlySpan<T>, Int32, Int32, Span<T>, Int32) Computes the element-wise power of a span.
Pow<TStorage>(Int32, TStorage, T, TStorage) Computes the element-wise power of an array.
Pow<TStorage>(Int32, TStorage, Int32, TStorage) Computes the element-wise power of an array.
Reciprocal(Int32, ReadOnlySpanSlice<T>, SpanSlice<T>) Computes the reciprocal (inverse) of each element of a span.
Reciprocal(Int32, ReadOnlySpan<T>, Int32, Span<T>, Int32) Computes the reciprocal (inverse) of each element of a span.
Round(Int32, ReadOnlySpanSlice<T>, SpanSlice<T>) Rounds each element of a span to the nearest integer.
Round(Int32, ReadOnlySpanSlice<T>, Int32, SpanSlice<T>) Rounds each element of a span to the specified number of digits.
Round(Int32, ReadOnlySpan<T>, Int32, Span<T>, Int32) Rounds each element of a span to the nearest integer.
Round(Int32, ReadOnlySpan<T>, Int32, Int32, Span<T>, Int32) Rounds each element of a span to the specified number of digits.
Round<TStorage>(Int32, TStorage, TStorage) Rounds each element of an array to the nearest integer.
Round<TStorage>(Int32, TStorage, Int32, TStorage) Rounds each element of an array to the specified number of digits.
SetValue(Int32, T, SpanSlice<T>) Sets all elements in the span to the specified value.
SetValue(Int32, T, Span<T>, Int32) Sets all elements in the span to the specified value.
SetValue<TStorage>(Int32, T, TStorage) Sets all elements in the array to the specified value.
Sin(Int32, ReadOnlySpanSlice<T>, SpanSlice<T>) Computes the sine of each element of a span.
Sin(Int32, ReadOnlySpan<T>, Int32, Span<T>, Int32) Computes the sine of each element of a span.
Sin<TStorage>(Int32, TStorage, TStorage) Computes the sine of each element of an array.
Sinh(Int32, ReadOnlySpanSlice<T>, SpanSlice<T>) Computes the hyperbolic sine of each element of a span.
Sinh(Int32, ReadOnlySpan<T>, Int32, Span<T>, Int32) Computes the hyperbolic sine of each element of a span.
Sinh<TStorage>(Int32, TStorage, TStorage) Computes the hyperbolic sine of each element of an array.
Sqrt(Int32, ReadOnlySpanSlice<T>, SpanSlice<T>) Computes the square root of each element of a span.
Sqrt(Int32, ReadOnlySpan<T>, Int32, Span<T>, Int32) Computes the square root of each element of a span.
Sqrt<TStorage>(Int32, TStorage, TStorage) Computes the square root of each element of an array.
Subtract(Int32, ReadOnlySpanSlice<T>, ReadOnlySpanSlice<T>, SpanSlice<T>) Subtracts each element of a span by the corresponding element in another span.
Subtract(Int32, ReadOnlySpan<T>, Int32, ReadOnlySpan<T>, Int32, Span<T>, Int32) Subtracts each element of a span by the corresponding element in another span.
Subtract<TStorage>(Int32, TStorage, TStorage, TStorage) Subtracts each element of an array from the corresponding element in another array.
SubtractFrom(Int32, T, ReadOnlySpan<T>, Int32, Span<T>, Int32) Subtracts each element of a span from a value.
Obsolete.
SubtractFrom<TStorage>(Int32, T, TStorage, TStorage) Subtracts each element of an array from a value.
Obsolete.
Sum(Int32, ReadOnlySpanSlice<T>) Computes the sum of all elements in the span.
Sum(Int32, ReadOnlySpan<T>, Int32) Computes the sum of all elements in the span.
Sum<TStorage>(Int32, TStorage) Computes the sum of all elements in the array.
Tan(Int32, ReadOnlySpanSlice<T>, SpanSlice<T>) Computes the tangent of each element of a span.
Tan(Int32, ReadOnlySpan<T>, Int32, Span<T>, Int32) Computes the tangent of each element of a span.
Tan<TStorage>(Int32, TStorage, TStorage) Computes the tangent of each element of an array.
Tanh(Int32, ReadOnlySpanSlice<T>, SpanSlice<T>) Computes the hyperbolic tangent of each element of a span.
Tanh(Int32, ReadOnlySpan<T>, Int32, Span<T>, Int32) Computes the hyperbolic tangent of each element of a span.
Tanh<TStorage>(Int32, TStorage, TStorage) Computes the hyperbolic tangent of each element of an array.
ToStringReturns a string that represents the current object.
(Inherited from Object)
Truncate(Int32, ReadOnlySpanSlice<T>, SpanSlice<T>) Rounds each element of a span towards zero.
Truncate(Int32, ReadOnlySpan<T>, Int32, Span<T>, Int32) Rounds each element of a span towards zero.
Truncate<TStorage>(Int32, TStorage, TStorage) Rounds each element of an array towards zero.

See Also