Sparse Linear Algebra Operations Of Single.Scale And Add In Place Method
Definition
Namespace: Extreme.Mathematics.LinearAlgebra.Implementation
Assembly: Extreme.Numerics.SinglePrecision (in Extreme.Numerics.SinglePrecision.dll) Version: 8.1.4
Assembly: Extreme.Numerics.SinglePrecision (in Extreme.Numerics.SinglePrecision.dll) Version: 8.1.4
Overload List
Scale | Evaluates a vector plus the product of a scalar and a sparse vector. |
Scale | Evaluates a vector plus the product of a scalar and a sparse vector. |
ScaleAndAddInPlace(Int32, Complex<Single>, Array1D<Complex<Single>>, Array1D<Int32>, ArraySlice<Complex<Single>>)
Evaluates a vector plus the product of a scalar and a sparse vector.
public override void ScaleAndAddInPlace(
int n,
Complex<float> alpha,
Array1D<Complex<float>> x,
Array1D<int> indx,
ArraySlice<Complex<float>> y
)
Parameters
- n Int32
- The number of nonzero elements in the vectors x and y.
- alpha Complex<Single>
- The scalar value used to multiply the elements of x.
- x Array1D<Complex<Single>>
- A reference to a one-dimensional array containing the elements of the vector x.
- indx Array1D<Int32>
- Integer array of component indices.
- y ArraySlice<Complex<Single>>
- A reference to a one-dimensional array containing the elements of the vector y. The elements of y are overwritten with the result.
Implements
ISparseLinearAlgebraOperations<T>.ScaleAndAddInPlace(Int32, T, Array1D<T>, Array1D<Int32>, ArraySlice<T>)ISparseLinearAlgebraOperations<T>.ScaleAndAddInPlace(Int32, T, Array1D<T>, Array1D<Int32>, ArraySlice<T>)
ScaleAndAddInPlace(Int32, Single, Array1D<Single>, Array1D<Int32>, ArraySlice<Single>)
Evaluates a vector plus the product of a scalar and a sparse vector.
public override void ScaleAndAddInPlace(
int n,
float alpha,
Array1D<float> x,
Array1D<int> indx,
ArraySlice<float> y
)
Parameters
- n Int32
- The number of nonzero elements in the vectors x and y.
- alpha Single
- The scalar value used to multiply the elements of x.
- x Array1D<Single>
- A reference to a one-dimensional array containing the elements of the vector x.
- indx Array1D<Int32>
- Integer array of component indices.
- y ArraySlice<Single>
- A reference to a one-dimensional array containing the elements of the vector y. The elements of y are overwritten with the result.
Implements
ISparseLinearAlgebraOperations<T>.ScaleAndAddInPlace(Int32, T, Array1D<T>, Array1D<Int32>, ArraySlice<T>)ISparseLinearAlgebraOperations<T>.ScaleAndAddInPlace(Int32, T, Array1D<T>, Array1D<Int32>, ArraySlice<T>)