LSST Applications g0f08755f38+9c285cab97,g1635faa6d4+13f3999e92,g1653933729+a8ce1bb630,g1a0ca8cf93+bf6eb00ceb,g28da252d5a+0829b12dee,g29321ee8c0+5700dc9eac,g2bbee38e9b+9634bc57db,g2bc492864f+9634bc57db,g2cdde0e794+c2c89b37c4,g3156d2b45e+41e33cbcdc,g347aa1857d+9634bc57db,g35bb328faa+a8ce1bb630,g3a166c0a6a+9634bc57db,g3e281a1b8c+9f2c4e2fc3,g414038480c+077ccc18e7,g41af890bb2+fde0dd39b6,g5fbc88fb19+17cd334064,g781aacb6e4+a8ce1bb630,g80478fca09+55a9465950,g82479be7b0+d730eedb7d,g858d7b2824+9c285cab97,g9125e01d80+a8ce1bb630,g9726552aa6+10f999ec6a,ga5288a1d22+2a84bb7594,gacf8899fa4+c69c5206e8,gae0086650b+a8ce1bb630,gb58c049af0+d64f4d3760,gc28159a63d+9634bc57db,gcf0d15dbbd+4b7d09cae4,gda3e153d99+9c285cab97,gda6a2b7d83+4b7d09cae4,gdaeeff99f8+1711a396fd,ge2409df99d+5e831397f4,ge79ae78c31+9634bc57db,gf0baf85859+147a0692ba,gf3967379c6+41c94011de,gf3fb38a9a8+8f07a9901b,gfb92a5be7c+9c285cab97,w.2024.46
LSST Data Management Base Package
|
A 3x3 matrix with real entries stored in double precision. More...
#include <Matrix3d.h>
Public Member Functions | |
Matrix3d () | |
This constructor creates a zero matrix. | |
Matrix3d (double m00, double m01, double m02, double m10, double m11, double m12, double m20, double m21, double m22) | |
This constructor creates a matrix from its components, where mij specifies the component for row i and column j . | |
Matrix3d (Vector3d const &v) | |
This constructor creates a diagonal matrix with diagonal components set to the components of v . | |
Matrix3d (double s) | |
This constructor returns the identity matrix scaled by s . | |
bool | operator== (Matrix3d const &m) const |
bool | operator!= (Matrix3d const &m) const |
Vector3d | getRow (int r) const |
getRow returns the r -th matrix row. Bounds are not checked. | |
Vector3d const & | getColumn (int c) const |
getColumn returns the c -th matrix column. Bounds are not checked. | |
double | operator() (int r, int c) const |
The function call operator returns the scalar at row r and column c . | |
double | inner (Matrix3d const &m) const |
inner returns the Frobenius inner product of this matrix with m . | |
double | getSquaredNorm () const |
getSquaredNorm returns the Frobenius inner product of this matrix with itself. | |
double | getNorm () const |
getNorm returns the L2 (Frobenius) norm of this matrix. | |
Vector3d | operator* (Vector3d const &v) const |
The multiplication operator returns the product of this matrix with vector v . | |
Matrix3d | operator* (Matrix3d const &m) const |
The multiplication operator returns the product of this matrix with matrix m . | |
Matrix3d | operator+ (Matrix3d const &m) const |
The addition operator returns the sum of this matrix and m . | |
Matrix3d | operator- (Matrix3d const &m) const |
The subtraction operator returns the difference between this matrix and m . | |
Matrix3d | cwiseProduct (Matrix3d const &m) const |
cwiseProduct returns the component-wise product of this matrix and m . | |
Matrix3d | transpose () const |
transpose returns the transpose of this matrix. | |
Matrix3d | inverse () const |
inverse returns the inverse of this matrix. | |
A 3x3 matrix with real entries stored in double precision.
Definition at line 45 of file Matrix3d.h.
|
inline |
|
inline |
This constructor creates a matrix from its components, where mij
specifies the component for row i
and column j
.
Definition at line 52 of file Matrix3d.h.
|
inlineexplicit |
This constructor creates a diagonal matrix with diagonal components set to the components of v
.
Definition at line 63 of file Matrix3d.h.
|
inlineexplicit |
This constructor returns the identity matrix scaled by s
.
Definition at line 70 of file Matrix3d.h.
cwiseProduct
returns the component-wise product of this matrix and m
.
Definition at line 143 of file Matrix3d.h.
|
inline |
getColumn
returns the c
-th matrix column. Bounds are not checked.
Definition at line 94 of file Matrix3d.h.
|
inline |
getNorm
returns the L2 (Frobenius) norm of this matrix.
Definition at line 112 of file Matrix3d.h.
|
inline |
getRow
returns the r
-th matrix row. Bounds are not checked.
Definition at line 89 of file Matrix3d.h.
|
inline |
getSquaredNorm
returns the Frobenius inner product of this matrix with itself.
Definition at line 109 of file Matrix3d.h.
|
inline |
inner
returns the Frobenius inner product of this matrix with m
.
Definition at line 101 of file Matrix3d.h.
|
inline |
inverse
returns the inverse of this matrix.
Definition at line 159 of file Matrix3d.h.
|
inline |
Definition at line 82 of file Matrix3d.h.
|
inline |
The function call operator returns the scalar at row r
and column c
.
Bounds are not checked.
Definition at line 98 of file Matrix3d.h.
The multiplication operator returns the product of this matrix with matrix m
.
Definition at line 122 of file Matrix3d.h.
The multiplication operator returns the product of this matrix with vector v
.
Definition at line 116 of file Matrix3d.h.
|
inline |
Definition at line 76 of file Matrix3d.h.
|
inline |
transpose
returns the transpose of this matrix.
Definition at line 150 of file Matrix3d.h.