Symmetric matrix that stores only non-redundant entries (with limited operations) More...
#include <matrix3.h>
Public Member Functions | |
__hostanddev__ | symmetricMatrix3 (scalar xx=scalar(), scalar yy=scalar(), scalar zz=scalar(), scalar yz=scalar(), scalar zx=scalar(), scalar xy=scalar()) |
__hostanddev__ | symmetricMatrix3 (const matrix3<> &m) |
Initialize from regular matrix. | |
__hostanddev__ | operator matrix3< scalar > () const |
Convert to regular matrix (for most operations) | |
__hostanddev__ symmetricMatrix3< scalar > | operator* (scalar s) const |
Scale. | |
__hostanddev__ symmetricMatrix3< scalar > & | operator+= (symmetricMatrix3< scalar > m) |
Accumulate. | |
Public Attributes | |
scalar | xx |
scalar | yy |
scalar | zz |
scalar | yz |
scalar | zx |
scalar | xy |
Symmetric matrix that stores only non-redundant entries (with limited operations)