Go to the documentation of this file.
89 if (srcStride == 0 || srcStride == 3)
93 for (r = 0; r < 3; ++r)
94 for (c = 0; c < 3; ++c)
void XsMatrix_ref(XsMatrix *thisPtr, XsSize rows, XsSize cols, XsSize stride, XsReal *buffer, XsDataFlags flags)
Construct the XsMatrix as a reference to data in buffer.
A class that represents a matrix of real numbers.
void XsMatrix3x3_destruct(XsMatrix3x3 *thisPtr)
Frees the Matrix3x3.
void XsMatrix_copy(XsMatrix *copy, XsMatrix const *src)
Copy the contents of copy to the XsMatrix.
void XsMatrix3x3_construct(XsMatrix3x3 *thisPtr)
Init the XsMatrix3x3.
void XsMatrix3x3_assign(XsMatrix3x3 *thisPtr, const XsReal *src, XsSize srcStride)
Init the XsMatrix3x3 and copy the data from src into the matrix if src is not null.
@ XSDF_FixedSize
The contained data points to a fixed-size buffer, this allows creation of dynamic objects on the stac...
XSCPPPROTECTED XsReal *const m_data
Contained data.
double XsReal
Defines the floating point type used by the Xsens libraries.
size_t XsSize
XsSize must be unsigned number!
A class that represents a fixed size (3x3) matrix.
struct XsMatrix m_matrix
The underlying XsMatrix.
XsReal XSCCONST m_fixedData[9]
Fixed storage for the elements of the matrix.
void XsMatrix3x3_copy(XsMatrix *copy, XsMatrix3x3 const *src)
Copy the contents of the XsMatrix3x3 to copy.
const XsSize m_flags
Flags for data management.