Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

Unary operations
[Non-member C-style functions]

Collaboration diagram for Unary operations:

Methods that act on a single object. More...

Functions

template<typename T>
DenseMatrix< T > Transpose (const Matrix< T > &m)
 Constructs a new matrix which is the transpose of the argument: $M^T_{i,j} = M_{j,i}$ .
template<typename T>
DenseMatrix< T > Adjoint (const Matrix< T > &m)
 Constructs a new matrix which is the adjoint (or conjugate transpose) of the argument: $M^\dagger_{i,j} = M_{j,i}^*$ .
DenseVector< double > RealPart (const DenseVector< complex > &v)
 Returns a DenseVector<double> containing the real part of the argument.
DenseVector< double > ImaginaryPart (const DenseVector< complex > &v)
 Returns a DenseVector<double> containing the imaginary part of the argument.
DenseMatrix< double > RealPart (const DenseMatrix< complex > &m)
 Returns a DenseMatrix<double> containing the real part of the argument.
DenseMatrix< double > ImaginaryPart (const DenseMatrix< complex > &m)
 Returns a DenseMatrix<double> containing the imaginary part of the argument.
DenseVector< double > & Randomize (DenseVector< double > &v)
 Assigns a Gaussian random vector (all components are independent, univariate Gaussian random numbers).
DenseVector< complex > & Randomize (DenseVector< complex > &v)
 Assigns a Gaussian random vector (all real and imaginary components are independent, univariate Gaussian random numbers).

Detailed Description

Methods that act on a single object.


Generated on Wed Jun 14 22:25:32 2006 for linalg by  doxygen 1.4.4