|
template<typename Real , unsigned int Row, unsigned int Col> |
RectMatrix< Real, Row, Col > | OpenMD::operator- (const RectMatrix< Real, Row, Col > &m) |
| Negate the value of every element of this matrix.
|
|
template<typename Real , unsigned int Row, unsigned int Col> |
RectMatrix< Real, Row, Col > | OpenMD::operator+ (const RectMatrix< Real, Row, Col > &m1, const RectMatrix< Real, Row, Col > &m2) |
| Return the sum of two matrixes (m1 + m2).
|
|
template<typename Real , unsigned int Row, unsigned int Col> |
RectMatrix< Real, Row, Col > | OpenMD::operator- (const RectMatrix< Real, Row, Col > &m1, const RectMatrix< Real, Row, Col > &m2) |
| Return the difference of two matrixes (m1 - m2).
|
|
template<typename Real , unsigned int Row, unsigned int Col> |
RectMatrix< Real, Row, Col > | OpenMD::operator* (const RectMatrix< Real, Row, Col > &m, Real s) |
| Return the multiplication of scalra and matrix (m * s).
|
|
template<typename Real , unsigned int Row, unsigned int Col> |
RectMatrix< Real, Row, Col > | OpenMD::operator* (Real s, const RectMatrix< Real, Row, Col > &m) |
| Return the multiplication of a scalra and a matrix (s * m).
|
|
template<typename Real , unsigned int Row, unsigned int Col, unsigned int SameDim> |
RectMatrix< Real, Row, Col > | OpenMD::operator* (const RectMatrix< Real, Row, SameDim > &m1, const RectMatrix< Real, SameDim, Col > &m2) |
| Return the multiplication of two matrixes (m1 * m2).
|
|
template<typename Real , unsigned int Row, unsigned int Col> |
Vector< Real, Row > | OpenMD::operator* (const RectMatrix< Real, Row, Col > &m, const Vector< Real, Col > &v) |
| Returns the multiplication of a matrix and a vector (m * v).
|
|
template<typename Real , unsigned int Row, unsigned int Col> |
Vector< Real, Col > | OpenMD::operator* (const Vector< Real, Row > &v, const RectMatrix< Real, Row, Col > &m) |
| Returns the multiplication of a vector transpose and a matrix (v^T * m).
|
|
template<typename Real , unsigned int Row, unsigned int Col> |
RectMatrix< Real, Row, Col > | OpenMD::operator/ (const RectMatrix< Real, Row, Col > &m, Real s) |
| Return the scalar division of matrix (m / s).
|
|
template<typename Real , unsigned int Row, unsigned int Col> |
Real | OpenMD::doubleDot (const RectMatrix< Real, Row, Col > &t1, const RectMatrix< Real, Row, Col > &t2) |
| Returns the tensor contraction (double dot product) of two rank 2 tensors (or Matrices)
|
|
template<typename Real , unsigned int Row, unsigned int Col> |
Vector< Real, Row > | OpenMD::mCross (const RectMatrix< Real, Row, Col > &t1, const RectMatrix< Real, Row, Col > &t2) |
| Returns the vector (cross) product of two matrices.
|
|
template<typename Real , unsigned int Row, unsigned int Col> |
std::ostream & | OpenMD::operator<< (std::ostream &o, const RectMatrix< Real, Row, Col > &m) |
| Write to an output stream.
|
|
- Author
- Teng Lin
- Date
- 10/11/2004
- Version
- 1.0
Definition in file RectMatrix.hpp.