Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

mdp_matrix Class Reference

matrices of complex numbers More...

#include <mdp_matrix.h>

List of all members.

Public Member Functions

void allocate ()
void reallocate ()
void deallocate ()
void dimension (const uint, const uint)
 mdp_matrix (const mdp_matrix &a)
 mdp_matrix (const uint r, const uint c)
 mdp_matrix (mdp_complex *z, const uint r, const uint c)
const mdp_matrixoperator= (const mdp_matrix &a)
mdp_complexoperator[] (const uint i)
const mdp_complexoperator[] (const uint i) const
mdp_complexoperator() (const uint i, const uint j)
const mdp_complexoperator() (const uint i, const uint j) const
mdp_matrix operator() (const uint i)
mdp_complexaddress ()
const uint rows () const
const uint cols () const
const uint size () const
uint rowmax () const
uint colmax () const
mdp_matrix operator+= (const mdp_matrix &a)
mdp_matrix operator-= (const mdp_matrix &a)
mdp_matrix operator *= (const mdp_matrix &a)
mdp_matrix operator/= (const mdp_matrix &a)
mdp_matrix operator+= (mdp_complex a)
mdp_matrix operator-= (mdp_complex a)
mdp_matrix operator *= (mdp_complex a)
mdp_matrix operator/= (mdp_complex a)
mdp_matrix operator+= (mdp_real a)
mdp_matrix operator-= (mdp_real a)
mdp_matrix operator *= (mdp_real a)
mdp_matrix operator/= (mdp_real a)
void operator= (mdp_complex a)
void operator= (mdp_real a)

Friends

void prepare (mdp_matrix &)
mdp_matrix operator+ (const mdp_matrix &a)
mdp_matrix operator- (const mdp_matrix &a)
mdp_matrix operator+ (const mdp_matrix &a, const mdp_matrix &b)
mdp_matrix operator- (const mdp_matrix &a, const mdp_matrix &b)
mdp_matrix operator * (const mdp_matrix &a, const mdp_matrix &b)
mdp_matrix operator/ (const mdp_matrix &a, const mdp_matrix &b)
mdp_matrix operator+ (const mdp_matrix &a, mdp_complex b)
mdp_matrix operator- (const mdp_matrix &a, mdp_complex b)
mdp_matrix operator * (const mdp_matrix &a, mdp_complex b)
mdp_matrix operator/ (const mdp_matrix &a, mdp_complex b)
mdp_matrix operator+ (mdp_complex a, const mdp_matrix &b)
mdp_matrix operator- (mdp_complex a, const mdp_matrix &b)
mdp_matrix operator * (mdp_complex a, const mdp_matrix &b)
mdp_matrix operator/ (mdp_complex a, const mdp_matrix &b)
mdp_matrix operator+ (const mdp_matrix &a, mdp_real b)
mdp_matrix operator- (const mdp_matrix &a, mdp_real b)
mdp_matrix operator * (const mdp_matrix &a, mdp_real b)
mdp_matrix operator/ (const mdp_matrix &a, mdp_real b)
mdp_matrix operator+ (mdp_real a, const mdp_matrix &b)
mdp_matrix operator- (mdp_real a, const mdp_matrix &b)
mdp_matrix operator * (mdp_real a, const mdp_matrix &b)
mdp_matrix operator/ (mdp_real a, const mdp_matrix &b)
mdp_matrix inv (const mdp_matrix &a)
mdp_matrix pow (const mdp_matrix &a, uint b)
mdp_matrix exp (const mdp_matrix &a)
mdp_matrix log (const mdp_matrix &a)
mdp_matrix sin (const mdp_matrix &a)
mdp_matrix cos (const mdp_matrix &a)
mdp_matrix mdp_identity ()
mdp_matrix mdp_zero ()
mdp_real max (const mdp_matrix &a)
mdp_matrix submatrix (const mdp_matrix &a, uint i, uint j)
mdp_complex det (const mdp_matrix &a)
mdp_complex trace (const mdp_matrix &a)
mdp_matrix hermitian (const mdp_matrix &a)
mdp_matrix transpose (const mdp_matrix &a)
mdp_matrix conj (const mdp_matrix &a)


Detailed Description

matrices of complex numbers

Example:

       mdp_matrix A,B;
       A.resize(3,3);
       A(0,0)=A(1,1)=A(2,2)=A(1,2)=1.0+I/2;
       B=A+inv(A)+exp(A+5);
    


The documentation for this class was generated from the following file:
Generated on Sun Feb 27 15:12:26 2005 by  doxygen 1.4.1