IArrayFunctions<T, TShape, TArray>.Divide Method

Definition

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

Overload List

Divide(TShape, T, TArray, TArray) Divides a number by each element of an array.
Divide(TShape, TArray, TArray, TArray) Divides each element of an array by the corresponding element in another array.

Divide(TShape, T, TArray, TArray)

Divides a number by each element of an array.
C#
void Divide(
	TShape shape,
	T value,
	TArray operand,
	TArray result
)

Parameters

shape  TShape
The number of elements in the array.
value  T
The number to compare to.
operand  TArray
The array that holds the operands.
result  TArray
The array that holds the results.

Divide(TShape, TArray, TArray, TArray)

Divides each element of an array by the corresponding element in another array.
C#
void Divide(
	TShape shape,
	TArray first,
	TArray second,
	TArray result
)

Parameters

shape  TShape
The number of elements in the array.
first  TArray
The array that holds the first operands.
second  TArray
The array that holds the second operands.
result  TArray
The array that holds the results.

See Also