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) |
Contains SquareMatrix definitions.
Allow you to multiply a complex with a matrix pointer.
Allow you to multiply a matrix with a double, i.e: A = B*a;
Allow you to multiply a matrix with a complex, i.e: A = B*a;
Allow you to multiply a double with a matrix, i.e: A = a*B;
Allow you to multiply a complex with a matrix, i.e: A = a*B;
Allow you to divide a matrix with a complex, i.e: A = B/a;
Allow you to divide a matrix with a double, i.e: A = B/a;
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;