Main MRPT website > C++ reference for MRPT 1.5.6
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   { NULL, 0, 0, 0, XSDF_Managed }
 
#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   { NULL, 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 41 of file xsmatrix.h.

Typedef Documentation

◆ XsMatrix

typedef struct XsMatrix XsMatrix

Definition at line 23 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.5.6 Git: 4c65e8431 Tue Apr 24 08:18:17 2018 +0200 at lun oct 28 01:35:26 CET 2019