ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
|
#include "matrix3.h"
Namespaces | |
namespace | ModuleBase |
Functions | |
Matrix3 | ModuleBase::operator+ (const Matrix3 &m1, const Matrix3 &m2) |
Overload operator "+" for two 3x3 matrices m1 and m2 i.e. m1+m2. | |
Matrix3 | ModuleBase::operator- (const Matrix3 &m1, const Matrix3 &m2) |
Overload operator "-" for two 3x3 matrices m1 and m2, i.e. m1-m2. | |
Matrix3 | ModuleBase::operator/ (const Matrix3 &m, const double &s) |
Overload operator "/" for a (Matrix3)/(scalar) i.e. m/s. | |
Matrix3 | ModuleBase::operator* (const Matrix3 &m1, const Matrix3 &m2) |
Overload operator "*" for two 3x3 matrices m1 and m2 i.e. m1*m2. | |
Matrix3 | ModuleBase::operator* (const Matrix3 &m, const double &s) |
Overload operator "*" for (Matrix3)*(scalar) i.e. m*s. | |
Matrix3 | ModuleBase::operator* (const double &s, const Matrix3 &m) |
Overload operator "*" for (scalar)*(Matrix3) i.e. s*m. | |
bool | ModuleBase::operator== (const Matrix3 &m1, const Matrix3 &m2) |
Overload operator "==" to assert the equality between two 3x3 matrices. | |
bool | ModuleBase::operator!= (const Matrix3 &m1, const Matrix3 &m2) |
Overload operator "!=" to assert the inequality between two 3x3 matrices. | |