Main MRPT website > C++ reference for MRPT 1.9.9
Classes | Macros | Typedefs | Functions
xsmatrix.h File Reference
#include "xsmath.h"
#include <stddef.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 22 of file xsmatrix.h.

◆ XsMatrix_offsetM

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

Definition at line 56 of file xsmatrix.h.

Typedef Documentation

◆ XsMatrix

typedef struct XsMatrix XsMatrix

Definition at line 26 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 
)
XSDF_Managed
@ XSDF_Managed
Definition: xstypedefs.h:49



Page generated by Doxygen 1.8.17 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST