Managed Array Functions.Divide Method
Definition
Namespace: Extreme.Mathematics.LinearAlgebra.Implementation
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Overload List
Divide( | Divides each element of an array by the corresponding element in another array. |
Divide( | Divides a number by each element of an array. |
Divide(Int32, ArraySlice<Double>, ArraySlice<Double>, ArraySlice<Double>)
Divides each element of an array by the corresponding element in another array.
public override void Divide(
int length,
ArraySlice<double> first,
ArraySlice<double> second,
ArraySlice<double> result
)
Parameters
- length Int32
- The number of elements in the array.
- first ArraySlice<Double>
- The array that holds the first operands.
- second ArraySlice<Double>
- The array that holds the second operands.
- result ArraySlice<Double>
- The array that holds the results.
Implements
IArrayFunctions<T, TShape, TArray>.Divide(TShape, TArray, TArray, TArray)Divide(Int32, Double, ArraySlice<Double>, ArraySlice<Double>)
Divides a number by each element of an array.
public override void Divide(
int length,
double value,
ArraySlice<double> operand,
ArraySlice<double> result
)
Parameters
- length Int32
- The number of elements in the array.
- value Double
- The number to compare to.
- operand ArraySlice<Double>
- The array that holds the operands.
- result ArraySlice<Double>
- The array that holds the results.