MercuryDPM
Alpha
|
Go to the source code of this file.
Functions | |
Vec3D | operator* (const MatrixSymmetric3D &A, const Vec3D &b) |
std::ostream & | operator<< (std::ostream &os, const MatrixSymmetric3D &A) |
std::istream & | operator>> (std::istream &is, MatrixSymmetric3D &A) |
Vec3D operator* | ( | const MatrixSymmetric3D & | A, |
const Vec3D & | b | ||
) |
Multiplication of a symmetric 3D matrix with a vector (global operator, friend of this class)
[in] | A | the matrix |
[in] | b | the vector |
Definition at line 130 of file MatrixSymmetric.cc.
References Vec3D::X, MatrixSymmetric3D::XX, MatrixSymmetric3D::XY, MatrixSymmetric3D::XZ, Vec3D::Y, MatrixSymmetric3D::YY, MatrixSymmetric3D::YZ, Vec3D::Z, and MatrixSymmetric3D::ZZ.
std::ostream& operator<< | ( | std::ostream & | os, |
const MatrixSymmetric3D & | A | ||
) |
Adds all elements of a symmetric 3D matrix to an ostream
[in,out] | os | output stream |
[in] | A | the matrix |
Definition at line 164 of file MatrixSymmetric.cc.
References MatrixSymmetric3D::XX, MatrixSymmetric3D::XY, MatrixSymmetric3D::XZ, MatrixSymmetric3D::YY, MatrixSymmetric3D::YZ, and MatrixSymmetric3D::ZZ.
std::istream& operator>> | ( | std::istream & | is, |
MatrixSymmetric3D & | A | ||
) |
Reads the elements of a symmetric 3D matrix from an istream
[in,out] | is | input stream, |
[out] | A | the matrix |
Definition at line 176 of file MatrixSymmetric.cc.
References MatrixSymmetric3D::XX, MatrixSymmetric3D::XY, MatrixSymmetric3D::XZ, MatrixSymmetric3D::YY, MatrixSymmetric3D::YZ, and MatrixSymmetric3D::ZZ.