ILinearAlgebraOperations<T, TVector, TMatrix>.HermitianMultiplyAndAddInPlace Method

Definition

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

Overload List

HermitianMultiplyAndAddInPlace(MatrixTriangle, Int32, T, TMatrix, TVector, T, TVector)

Product of a hermitian matrix and a vector.
C#
void HermitianMultiplyAndAddInPlace(
	MatrixTriangle storedTriangle,
	int n,
	T alpha,
	TMatrix a,
	TVector x,
	T beta,
	TVector 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  T
The scalar used to multiply the matrix-vector product.
a  TMatrix
Reference to the first element in a one-dimensional array that contains the elements of the matrix.
x  TVector
A reference to a one-dimensional array containing the elements of the vector x.
beta  T
The scalar used to multiply y.
y  TVector
A reference to a one-dimensional array containing the elements of the vector y. The elements of y are overwritten with the result.

HermitianMultiplyAndAddInPlace(MatrixOperationSide, MatrixTriangle, Int32, Int32, T, TMatrix, TMatrix, T, TMatrix)

Sum of the product of a hermitian and a general matrix and a scaled matrix.
C#
void HermitianMultiplyAndAddInPlace(
	MatrixOperationSide side,
	MatrixTriangle storedTriangle,
	int m,
	int n,
	T alpha,
	TMatrix a,
	TMatrix b,
	T beta,
	TMatrix c
)

Parameters

side  MatrixOperationSide
Specifies on which side the hermitian matrix a is to be multiplied.
storedTriangle  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  T
The scalar used to multiply the matrix-vector product.
a  TMatrix
Reference to the first element in a one-dimensional array that contains the elements of the first matrix.
b  TMatrix
Reference to the first element in a one-dimensional array that contains the elements of the second matrix.
beta  T
The scalar used to multiply c.
c  TMatrix
Reference to the first element in a one-dimensional array that contains the elements of the third matrix.

See Also