MRPT  1.9.9
xsmatrix.h File Reference
#include <stddef.h>
#include "xsmath.h"
Include dependency graph for xsmatrix.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  XsMatrix
 

Macros

#define XSMATRIX_INITIALIZER
 
#define XsMatrix_offsetM(thisPtr, row, column)   (thisPtr->m_stride * row + column)
 

Typedefs

typedef struct XsMatrix XsMatrix
 

Functions

XSTYPES_DLL_API void XsMatrix_ref (XsMatrix *thisPtr, XsSize rows, XsSize cols, XsSize stride, XsReal *buffer, XsDataFlags flags)
 
XSTYPES_DLL_API void XsMatrix_construct (XsMatrix *thisPtr, XsSize rows, XsSize cols, XsSize stride, const XsReal *src, XsSize srcStride)
 
XSTYPES_DLL_API void XsMatrix_assign (XsMatrix *thisPtr, XsSize rows, XsSize cols, XsSize stride, const XsReal *src, XsSize srcStride)
 
XSTYPES_DLL_API void XsMatrix_destruct (XsMatrix *thisPtr)
 
XSTYPES_DLL_API void XsMatrix_copy (XsMatrix *copy, XsMatrix const *src)
 
XSTYPES_DLL_API void XsMatrix_setZero (XsMatrix *thisPtr)
 
XSTYPES_DLL_API int XsMatrix_empty (const XsMatrix *thisPtr)
 
XSTYPES_DLL_API void XsMatrix_multiplyScalar (const XsMatrix *thisPtr, XsReal scalar, XsMatrix *dest)
 
XSTYPES_DLL_API XsSize XsMatrix_offset (const XsMatrix *thisPtr, XsSize row, XsSize column)
 
XSTYPES_DLL_API XsReal XsMatrix_value (const XsMatrix *thisPtr, XsSize row, XsSize column)
 
XSTYPES_DLL_API void XsMatrix_setValue (XsMatrix *thisPtr, XsSize row, XsSize column, XsReal value)
 
XSTYPES_DLL_API int XsMatrix_dimensionsMatch (const XsMatrix *thisPtr, XsSize rows, XsSize columns)
 
XSTYPES_DLL_API void XsMatrix_fromQuaternion (XsMatrix *thisPtr, const struct XsQuaternion *quat)
 
XSTYPES_DLL_API void XsMatrix_swap (XsMatrix *a, XsMatrix *b)
 

Macro Definition Documentation

◆ XSMATRIX_INITIALIZER

#define XSMATRIX_INITIALIZER
Value:
{ \
nullptr, 0, 0, 0, XSDF_Managed \
}

Definition at line 23 of file xsmatrix.h.

◆ XsMatrix_offsetM

#define XsMatrix_offsetM (   thisPtr,
  row,
  column 
)    (thisPtr->m_stride * row + column)

Definition at line 57 of file xsmatrix.h.

Typedef Documentation

◆ XsMatrix

typedef struct XsMatrix XsMatrix

Definition at line 27 of file xsmatrix.h.

Function Documentation

◆ XsMatrix_assign()

XSTYPES_DLL_API void XsMatrix_assign ( XsMatrix thisPtr,
XsSize  rows,
XsSize  cols,
XsSize  stride,
const XsReal src,
XsSize  srcStride 
)

◆ XsMatrix_construct()

XSTYPES_DLL_API void XsMatrix_construct ( XsMatrix thisPtr,
XsSize  rows,
XsSize  cols,
XsSize  stride,
const XsReal src,
XsSize  srcStride 
)

◆ XsMatrix_copy()

XSTYPES_DLL_API void XsMatrix_copy ( XsMatrix copy,
XsMatrix const *  src 
)

◆ XsMatrix_destruct()

XSTYPES_DLL_API void XsMatrix_destruct ( XsMatrix thisPtr)

◆ XsMatrix_dimensionsMatch()

XSTYPES_DLL_API int XsMatrix_dimensionsMatch ( const XsMatrix thisPtr,
XsSize  rows,
XsSize  columns 
)

◆ XsMatrix_empty()

XSTYPES_DLL_API int XsMatrix_empty ( const XsMatrix thisPtr)

◆ XsMatrix_fromQuaternion()

XSTYPES_DLL_API void XsMatrix_fromQuaternion ( XsMatrix thisPtr,
const struct XsQuaternion quat 
)

◆ XsMatrix_multiplyScalar()

XSTYPES_DLL_API void XsMatrix_multiplyScalar ( const XsMatrix thisPtr,
XsReal  scalar,
XsMatrix dest 
)

◆ XsMatrix_offset()

XSTYPES_DLL_API XsSize XsMatrix_offset ( const XsMatrix thisPtr,
XsSize  row,
XsSize  column 
)

◆ XsMatrix_ref()

XSTYPES_DLL_API void XsMatrix_ref ( XsMatrix thisPtr,
XsSize  rows,
XsSize  cols,
XsSize  stride,
XsReal buffer,
XsDataFlags  flags 
)

◆ XsMatrix_setValue()

XSTYPES_DLL_API void XsMatrix_setValue ( XsMatrix thisPtr,
XsSize  row,
XsSize  column,
XsReal  value 
)

◆ XsMatrix_setZero()

XSTYPES_DLL_API void XsMatrix_setZero ( XsMatrix thisPtr)

◆ XsMatrix_swap()

XSTYPES_DLL_API void XsMatrix_swap ( XsMatrix a,
XsMatrix b 
)

◆ XsMatrix_value()

XSTYPES_DLL_API XsReal XsMatrix_value ( const XsMatrix thisPtr,
XsSize  row,
XsSize  column 
)



Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: 8fe78517f Sun Jul 14 19:43:28 2019 +0200 at lun oct 28 02:10:00 CET 2019