ManagedArrayFunctions<T>.Divide Method

Definition

Namespace: Extreme.Mathematics.LinearAlgebra.Implementation
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

Overload List

Divide(Int32, T, ArraySlice<T>, ArraySlice<T>) Divides a number by each element of an array.
Divide(Int32, ArraySlice<T>, ArraySlice<T>, ArraySlice<T>) Divides each element of an array by the corresponding element in another array.

Divide(Int32, T, ArraySlice<T>, ArraySlice<T>)

Divides a number by each element of an array.
C#
public virtual void Divide(
	int length,
	T value,
	ArraySlice<T> operand,
	ArraySlice<T> result
)

Parameters

length  Int32
The number of elements in the array.
value  T
The number to compare to.
operand  ArraySlice<T>
The array that holds the operands.
result  ArraySlice<T>
The array that holds the results.

Implements

IArrayFunctions<T, TShape, TArray>.Divide(TShape, T, TArray, TArray)

Divide(Int32, ArraySlice<T>, ArraySlice<T>, ArraySlice<T>)

Divides each element of an array by the corresponding element in another array.
C#
public virtual void Divide(
	int length,
	ArraySlice<T> first,
	ArraySlice<T> second,
	ArraySlice<T> result
)

Parameters

length  Int32
The number of elements in the array.
first  ArraySlice<T>
The array that holds the first operands.
second  ArraySlice<T>
The array that holds the second operands.
result  ArraySlice<T>
The array that holds the results.

Implements

IArrayFunctions<T, TShape, TArray>.Divide(TShape, TArray, TArray, TArray)

See Also