LSST Applications g044012fb7c+304891ab8a,g04a91732dc+4e1b87f259,g07dc498a13+f701f15b83,g114c6a66ad+c7887c1284,g1409bbee79+f701f15b83,g1a7e361dbc+f701f15b83,g1fd858c14a+6ebd102b59,g35bb328faa+0eb18584fe,g3bd4b5ce2c+e83bf4edc8,g4e0f332c67+976ceb6bc8,g53246c7159+0eb18584fe,g5477a8d5ce+51234355ef,g60b5630c4e+c7887c1284,g623d845a50+c7887c1284,g6f0c2978f1+98123c34b6,g71fabbc107+c7887c1284,g75b6c65c88+ce466f4385,g78460c75b0+85633614c8,g786e29fd12+02b9b86fc9,g8852436030+cfe5cf5b7b,g89139ef638+f701f15b83,g9125e01d80+0eb18584fe,g95236ca021+d4f98599f0,g974caa22f6+0eb18584fe,g989de1cb63+f701f15b83,g9f33ca652e+b4908f5dcd,gaaedd4e678+f701f15b83,gabe3b4be73+543c3c03c9,gace736f484+07e57cea59,gb1101e3267+487fd1b06d,gb58c049af0+492386d360,gc99c83e5f0+a513197d39,gcf25f946ba+cfe5cf5b7b,gd0fa69b896+babbe6e5fe,gd6cbbdb0b4+3fef02d88a,gde0f65d7ad+e8379653a2,ge278dab8ac+ae64226a64,gfba249425e+0eb18584fe,w.2025.07
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.