HermitianMatrix¶

class
HermitianMatrix
(*args)¶ Hermitian Matrix.
 Available constructors:
HermitianMatrix(dim)
 Parameters
 diminteger
The dimension of the Hermitian matrix (square matrix with dim rows and dim columns).
See also
Notes
The Hermitian matrix is filled with . It is not possible to fill the matrix from a collection of complex values (to be done later).
Methods
checkHermitian
(self)Check if the internal representation is really hermitian.
clean
(self, threshold)Clean the matrix according to a specific threshold.
computeCholesky
(self[, keepIntact])Compute the Cholesky factor.
conjugate
(self)Accessor to the conjugate complex matrix.
conjugateTranspose
(self)Accessor to the transposed conjugate complex matrix.
getClassName
(self)Accessor to the object’s name.
getDimension
(self)Accessor to the matrix dimension.
getId
(self)Accessor to the object’s id.
getImplementation
(self)Accessor to the underlying implementation.
getName
(self)Accessor to the object’s name.
getNbColumns
(self)Accessor to the number of columns.
getNbRows
(self)Accessor to the number of rows.
imag
(self)Accessor to the imaginary part.
isEmpty
(self)Test whether the matrix is empty or not.
real
(self)Accessor to the real part.
setName
(self, name)Accessor to the object’s name.
transpose
(self)Accessor to the transposed complex matrix.
solveLinearSystem

__init__
(self, \*args)¶ Initialize self. See help(type(self)) for accurate signature.

checkHermitian
(self)¶ Check if the internal representation is really hermitian.

clean
(self, threshold)¶ Clean the matrix according to a specific threshold.
 Parameters
 thresholdpositive float
Numerical sample which is the collection of points stored by the history strategy.

computeCholesky
(self, keepIntact=True)¶ Compute the Cholesky factor.
 Returns
 G
ComplexMatrix
The Cholesky factor , i.e. the complex matrix such as is the initial matrix.
 G

conjugate
(self)¶ Accessor to the conjugate complex matrix.
 Returns
 N
ComplexMatrix
The conjugate matrix of size associated with the given complex matrix such as .
 N

conjugateTranspose
(self)¶ Accessor to the transposed conjugate complex matrix.
 Returns
 N
ComplexMatrix
The transposed conjugate matrix of size associated with the given complex matrix such as .
 N

getClassName
(self)¶ Accessor to the object’s name.
 Returns
 class_namestr
The object class name (object.__class__.__name__).

getDimension
(self)¶ Accessor to the matrix dimension.
 Returns
 diminteger
The dimension of the Hermitian matrix.

getId
(self)¶ Accessor to the object’s id.
 Returns
 idint
Internal unique identifier.

getImplementation
(self)¶ Accessor to the underlying implementation.
 Returns
 implImplementation
The implementation class.

getName
(self)¶ Accessor to the object’s name.
 Returns
 namestr
The name of the object.

getNbColumns
(self)¶ Accessor to the number of columns.
 Returns
 ncinteger
The number of columns of .

getNbRows
(self)¶ Accessor to the number of rows.
 Returns
 nrinteger
The number of rows of .

isEmpty
(self)¶ Test whether the matrix is empty or not.
 Returns
 isEmptybool
Flag telling whether the dimensions of the matrix is zero.

setName
(self, name)¶ Accessor to the object’s name.
 Parameters
 namestr
The name of the object.

transpose
(self)¶ Accessor to the transposed complex matrix.
 Returns
 N
ComplexMatrix
The transposed matrix of size associated with the given complex matrix such as .
 N