3×3 matrix stored row-major: row i = mat[i] More...
#include <matrix_3x3.hpp>
Public Member Functions | |
| Matrix3x3 ()=default | |
| Matrix3x3 (Vector3D row_0, Vector3D row_1, Vector3D row_2) | |
| Vector3D | column (int column_index) const |
| Column column_index as a Vector3D. | |
| Real | determinant () const |
| Determinant. | |
| Matrix3x3 | inverse () const |
| Inverse (assumes non-singular) | |
| Vector3D | operator* (const Vector3D &vector) const |
| Matrix-vector product M * vector. | |
| Matrix3x3 | operator* (Real scalar) const |
| Scalar multiplication. | |
| Vector3D & | operator[] (int row_index) |
| const Vector3D & | operator[] (int row_index) const |
| Matrix3x3 | transpose () const |
| Transpose. | |
Public Attributes | |
| Vector3D | rows [3] |
3×3 matrix stored row-major: row i = mat[i]
Definition at line 15 of file matrix_3x3.hpp.
|
default |
Definition at line 19 of file matrix_3x3.hpp.
|
inline |
Column column_index as a Vector3D.
Definition at line 41 of file matrix_3x3.hpp.
|
inline |
Determinant.
Definition at line 51 of file matrix_3x3.hpp.
References q3::Vector3D::x, q3::Vector3D::y, and q3::Vector3D::z.
Referenced by q3::VolumetricField::cell_volume_bohr3(), q3::WignerSeitzSupercell::compute(), and q3::Crystal::compute_derived_quantities().
|
inline |
Inverse (assumes non-singular)
Definition at line 58 of file matrix_3x3.hpp.
References q3::Vector3D::x, q3::Vector3D::y, and q3::Vector3D::z.
Referenced by q3::WignerSeitzSupercell::compute(), q3::MakovPayneCorrectionCalculator::compute(), q3::MartynaTuckermanCorrectionCalculator::compute(), and q3::Crystal::compute_derived_quantities().
Matrix-vector product M * vector.
Definition at line 29 of file matrix_3x3.hpp.
References q3::Vector3D::dot().
Scalar multiplication.
Definition at line 46 of file matrix_3x3.hpp.
|
inline |
Definition at line 24 of file matrix_3x3.hpp.
|
inline |
Definition at line 21 of file matrix_3x3.hpp.
|
inline |
Transpose.
Definition at line 34 of file matrix_3x3.hpp.
References q3::Vector3D::x, q3::Vector3D::y, and q3::Vector3D::z.
Referenced by q3::MakovPayneCorrectionCalculator::compute(), q3::MartynaTuckermanCorrectionCalculator::compute(), and q3::Crystal::compute_derived_quantities().
| Vector3D q3::Matrix3x3::rows[3] |
Definition at line 16 of file matrix_3x3.hpp.