ManagedLinearAlgebraOperationsOfSingle.HermitianMultiplyAndAddInPlace Method

Definition

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

Overload List

HermitianMultiplyAndAddInPlace(MatrixTriangle, Int32, Complex<Single>, Array2D<Complex<Single>>, ArraySlice<Complex<Single>>, Complex<Single>, ArraySlice<Complex<Single>>)

Product of a hermitian matrix and a vector.
C#
public override void HermitianMultiplyAndAddInPlace(
	MatrixTriangle storedTriangle,
	int n,
	Complex<float> alpha,
	Array2D<Complex<float>> a,
	ArraySlice<Complex<float>> x,
	Complex<float> beta,
	ArraySlice<Complex<float>> y
)

Parameters

storedTriangle  MatrixTriangle
Specifies whether the matrix is an upper or lower triangular matrix.
n  Int32
The number of rows and columns in the matrix a.
alpha  Complex<Single>
The scalar used to multiply the matrix-vector product.
a  Array2D<Complex<Single>>
Reference to the first element in a one-dimensional array that contains the elements of the matrix.
x  ArraySlice<Complex<Single>>
A reference to a one-dimensional array containing the elements of the vector x.
beta  Complex<Single>
The scalar used to multiply y.
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

ILinearAlgebraOperations<T>.HermitianMultiplyAndAddInPlace(MatrixTriangle, Int32, T, Array2D<T>, ArraySlice<T>, T, ArraySlice<T>)

HermitianMultiplyAndAddInPlace(MatrixOperationSide, MatrixTriangle, Int32, Int32, Complex<Single>, Array2D<Complex<Single>>, Array2D<Complex<Single>>, Complex<Single>, Array2D<Complex<Single>>)

Sum of the product of a hermitian and a general matrix and a scaled matrix.
C#
public override void HermitianMultiplyAndAddInPlace(
	MatrixOperationSide side,
	MatrixTriangle triangle,
	int m,
	int n,
	Complex<float> alpha,
	Array2D<Complex<float>> a,
	Array2D<Complex<float>> b,
	Complex<float> beta,
	Array2D<Complex<float>> c
)

Parameters

side  MatrixOperationSide
Specifies on which side the hermitian matrix a is to be multiplied.
triangle  MatrixTriangle
Specifies whether the elements of the matrix a are stored in the upper or lower triangular part.
m  Int32
The number of rows in the matrix a and the matrix c.
n  Int32
The number of columns in the matrix b and the matrix c.
alpha  Complex<Single>
The scalar used to multiply the matrix-vector product.
a  Array2D<Complex<Single>>
Reference to the first element in a one-dimensional array that contains the elements of the first matrix.
b  Array2D<Complex<Single>>
Reference to the first element in a one-dimensional array that contains the elements of the second matrix.
beta  Complex<Single>
The scalar used to multiply c.
c  Array2D<Complex<Single>>
Reference to the first element in a one-dimensional array that contains the elements of the third matrix.

Implements

ILinearAlgebraOperations<T>.HermitianMultiplyAndAddInPlace(MatrixOperationSide, MatrixTriangle, Int32, Int32, T, Array2D<T>, Array2D<T>, T, Array2D<T>)

See Also