SMatrix.cpp File Reference

Contains SquareMatrix definitions. More...

#include "SMatrix.h"
#include "Ket.h"
#include "includes.h"

Functions

EXPORTED_FUNCTION SMatrix operator* (complex< double > a, const SMatrix &m)
EXPORTED_FUNCTION SMatrix operator* (double a, const SMatrix &m)
EXPORTED_FUNCTION SMatrix operator* (const SMatrix &m, complex< double > a)
EXPORTED_FUNCTION SMatrix operator* (const SMatrix &m, double a)
EXPORTED_FUNCTION SMatrix operator* (complex< double > a, const SMatrix *m)
EXPORTED_FUNCTION SMatrix operator/ (const SMatrix &m, double a)
EXPORTED_FUNCTION SMatrix operator/ (const SMatrix &m, complex< double > a)
EXPORTED_FUNCTION std::ostream & operator<< (std::ostream &out, const SMatrix &m)

Detailed Description

Contains SquareMatrix definitions.


Function Documentation

EXPORTED_FUNCTION SMatrix operator* ( complex< double >  a,
const SMatrix m 
)

Allow you to multiply a complex with a matrix pointer.

Returns:
Returns the matrix multiplication.
EXPORTED_FUNCTION SMatrix operator* ( const SMatrix m,
double  a 
)

Allow you to multiply a matrix with a double, i.e: A = B*a;

Returns:
Returns the matrix multiplication.
EXPORTED_FUNCTION SMatrix operator* ( const SMatrix m,
complex< double >  a 
)

Allow you to multiply a matrix with a complex, i.e: A = B*a;

Returns:
Returns the matrix multiplication.
EXPORTED_FUNCTION SMatrix operator* ( double  a,
const SMatrix m 
)

Allow you to multiply a double with a matrix, i.e: A = a*B;

Returns:
Returns the matrix multiplication.
EXPORTED_FUNCTION SMatrix operator* ( complex< double >  a,
const SMatrix m 
)

Allow you to multiply a complex with a matrix, i.e: A = a*B;

Returns:
Returns the matrix multiplication.
EXPORTED_FUNCTION SMatrix operator/ ( const SMatrix m,
complex< double >  a 
)

Allow you to divide a matrix with a complex, i.e: A = B/a;

Returns:
Returns the matrix division.
EXPORTED_FUNCTION SMatrix operator/ ( const SMatrix m,
double  a 
)

Allow you to divide a matrix with a double, i.e: A = B/a;

Returns:
Returns the matrix division.
EXPORTED_FUNCTION std::ostream& operator<< ( std::ostream &  out,
const SMatrix m 
)

Allow you to use the std::ostream operator << in C++, i.e.: cout<<A;

Returns:
Returns the matrix output.

Generated on Sun Sep 6 20:54:26 2009 for CQEDSimulator by  doxygen 1.6.1