SparseLinearAlgebraOperations<T>.MultiplyComplexCsc Method

Definition

Namespace: Numerics.NET.LinearAlgebra.Implementation
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.8.0

Overload List

MultiplyComplexCsc(TransposeOperation, Int32, Int32, Complex<T>, MatrixStructure, MatrixTriangle, MatrixDiagonal, ReadOnlySpan<Complex<T>>, ReadOnlySpan<Int32>, ReadOnlySpan<Int32>, ReadOnlySpan<Int32>, ReadOnlySpan<Complex<T>>, Int32, Complex<T>, Span<Complex<T>>, Int32)

Multiplies a complex sparse matrix in compressed-column storage by a vector.
C#
protected static void MultiplyComplexCsc(
	TransposeOperation operation,
	int rowCount,
	int columnCount,
	Complex<T> alpha,
	MatrixStructure structure,
	MatrixTriangle storedTriangle,
	MatrixDiagonal diagonal,
	ReadOnlySpan<Complex<T>> values,
	ReadOnlySpan<int> rowIndexes,
	ReadOnlySpan<int> columnStarts,
	ReadOnlySpan<int> columnEnds,
	ReadOnlySpan<Complex<T>> x,
	int xStride,
	Complex<T> beta,
	Span<Complex<T>> y,
	int yStride
)

Parameters

operation  TransposeOperation
The operation to apply to the sparse matrix.
rowCount  Int32
The number of rows in the sparse matrix.
columnCount  Int32
The number of columns in the sparse matrix.
alpha  Complex<T>
The scale factor for the matrix-vector product.
structure  MatrixStructure
The structure of the sparse matrix.
storedTriangle  MatrixTriangle
The triangle containing the stored matrix elements.
diagonal  MatrixDiagonal
The type of matrix diagonal.
values  ReadOnlySpan<Complex<T>>
The stored nonzero matrix values.
rowIndexes  ReadOnlySpan<Int32>
The row index of each stored value.
columnStarts  ReadOnlySpan<Int32>
The index of the first stored value in each column.
columnEnds  ReadOnlySpan<Int32>
The index following the last stored value in each column.
x  ReadOnlySpan<Complex<T>>
The input vector.
xStride  Int32
The stride between elements of x.
beta  Complex<T>
The scale factor for the existing output vector.
y  Span<Complex<T>>
The output vector.
yStride  Int32
The stride between elements of y.

MultiplyComplexCsc(TransposeOperation, Int32, Int32, Int32, Complex<T>, MatrixStructure, MatrixTriangle, MatrixDiagonal, ReadOnlySpan<Complex<T>>, ReadOnlySpan<Int32>, ReadOnlySpan<Int32>, ReadOnlySpan<Int32>, ReadOnlySpan<Complex<T>>, Int32, Complex<T>, Span<Complex<T>>, Int32)

Multiplies a complex sparse matrix in compressed-column storage by a dense matrix.
C#
protected static void MultiplyComplexCsc(
	TransposeOperation operation,
	int rowCount,
	int resultColumnCount,
	int columnCount,
	Complex<T> alpha,
	MatrixStructure structure,
	MatrixTriangle storedTriangle,
	MatrixDiagonal diagonal,
	ReadOnlySpan<Complex<T>> values,
	ReadOnlySpan<int> rowIndexes,
	ReadOnlySpan<int> columnStarts,
	ReadOnlySpan<int> columnEnds,
	ReadOnlySpan<Complex<T>> right,
	int rightLeadingDimension,
	Complex<T> beta,
	Span<Complex<T>> result,
	int resultLeadingDimension
)

Parameters

operation  TransposeOperation
The operation to apply to the sparse matrix.
rowCount  Int32
The number of rows in the sparse matrix.
resultColumnCount  Int32
The number of columns in the dense operand and result.
columnCount  Int32
The number of columns in the sparse matrix.
alpha  Complex<T>
The scale factor for the matrix product.
structure  MatrixStructure
The structure of the sparse matrix.
storedTriangle  MatrixTriangle
The triangle containing the stored matrix elements.
diagonal  MatrixDiagonal
The type of matrix diagonal.
values  ReadOnlySpan<Complex<T>>
The stored nonzero matrix values.
rowIndexes  ReadOnlySpan<Int32>
The row index of each stored value.
columnStarts  ReadOnlySpan<Int32>
The index of the first stored value in each column.
columnEnds  ReadOnlySpan<Int32>
The index following the last stored value in each column.
right  ReadOnlySpan<Complex<T>>
The dense right operand.
rightLeadingDimension  Int32
The leading dimension of right.
beta  Complex<T>
The scale factor for the existing result.
result  Span<Complex<T>>
The result matrix.
resultLeadingDimension  Int32
The leading dimension of result.

See Also