This class is a "CSerializable" wrapper for "CMatrixFloat".
- Note
- For a complete introduction to Matrices and vectors in MRPT, see: http://www.mrpt.org/Matrices_vectors_arrays_and_Linear_Algebra_MRPT_and_Eigen_classes
Definition at line 22 of file CMatrix.h.
#include <mrpt/math/CMatrix.h>
◆ Base
◆ ConstPtr
◆ ConstUniquePtr
◆ mrpt_autotype
◆ Ptr
A type for the associated smart pointer
Definition at line 24 of file CMatrix.h.
◆ UniquePtr
◆ CMatrix() [1/5]
mrpt::math::CMatrix::CMatrix |
( |
| ) |
|
|
inline |
◆ CMatrix() [2/5]
mrpt::math::CMatrix::CMatrix |
( |
size_t |
row, |
|
|
size_t |
col |
|
) |
| |
|
inline |
◆ CMatrix() [3/5]
Copy constructor.
Definition at line 33 of file CMatrix.h.
◆ CMatrix() [4/5]
Copy constructor.
Definition at line 36 of file CMatrix.h.
◆ CMatrix() [5/5]
template<typename OtherDerived >
◆ _GetBaseClass()
◆ clone()
Returns a deep copy (clone) of the object, indepently of its class.
Implements mrpt::rtti::CObject.
◆ Create()
template<typename... Args>
static Ptr mrpt::math::CMatrix::Create |
( |
Args &&... |
args | ) |
|
|
inlinestatic |
◆ CreateObject()
◆ CreateUnique()
template<typename... Args>
static UniquePtr mrpt::math::CMatrix::CreateUnique |
( |
Args &&... |
args | ) |
|
|
inlinestatic |
◆ duplicateGetSmartPtr()
◆ getClassName()
static constexpr auto mrpt::math::CMatrix::getClassName |
( |
| ) |
|
|
inlinestatic |
◆ GetRuntimeClass()
◆ GetRuntimeClassIdStatic()
◆ operator delete() [1/3]
void mrpt::math::CMatrix::operator delete |
( |
void * |
ptr, |
|
|
const std::nothrow_t & |
|
|
) |
| |
|
inlinenoexcept |
◆ operator delete() [2/3]
void mrpt::math::CMatrix::operator delete |
( |
void * |
ptr | ) |
|
|
inlinenoexcept |
◆ operator delete() [3/3]
void mrpt::math::CMatrix::operator delete |
( |
void * |
memory, |
|
|
void * |
ptr |
|
) |
| |
|
inlinenoexcept |
◆ operator delete[]()
void mrpt::math::CMatrix::operator delete[] |
( |
void * |
ptr | ) |
|
|
inlinenoexcept |
◆ operator new() [1/3]
void* mrpt::math::CMatrix::operator new |
( |
size_t |
size, |
|
|
const std::nothrow_t & |
|
|
) |
| |
|
inlinenoexcept |
◆ operator new() [2/3]
void* mrpt::math::CMatrix::operator new |
( |
size_t |
size | ) |
|
|
inline |
◆ operator new() [3/3]
static void* mrpt::math::CMatrix::operator new |
( |
size_t |
size, |
|
|
void * |
ptr |
|
) |
| |
|
inlinestatic |
◆ operator new[]()
void* mrpt::math::CMatrix::operator new[] |
( |
size_t |
size | ) |
|
|
inline |
◆ operator=() [1/2]
template<class OTHERMAT >
CMatrix& mrpt::math::CMatrix::operator= |
( |
const OTHERMAT & |
m | ) |
|
|
inline |
Assignment operator for float matrixes.
Definition at line 45 of file CMatrix.h.
◆ operator=() [2/2]
template<typename OtherDerived >
Assignment operator from any other Eigen class
Definition at line 53 of file CMatrix.h.
◆ serializeFrom()
Pure virtual method for reading (deserializing) from an abstract archive.
Users don't call this method directly. Instead, use stream >> object;
.
- Parameters
-
in | The input binary stream where the object data must read from. |
version | The version of the object stored in the stream: use this version number in your code to know how to read the incoming data. |
- Exceptions
-
std::exception | On any I/O error |
Implements mrpt::serialization::CSerializable.
Definition at line 34 of file CMatrix.cpp.
References MRPT_THROW_UNKNOWN_SERIALIZATION_VERSION, and setSize().
◆ serializeGetVersion()
uint8_t CMatrix::serializeGetVersion |
( |
| ) |
const |
|
overrideprotectedvirtual |
Must return the current versioning number of the object.
Start in zero for new classes, and increments each time there is a change in the stored format.
Implements mrpt::serialization::CSerializable.
Definition at line 23 of file CMatrix.cpp.
◆ serializeTo()
◆ writeToMatlab()
virtual mxArray* mrpt::serialization::CSerializable::writeToMatlab |
( |
| ) |
const |
|
inlinevirtualinherited |
Introduces a pure virtual method responsible for writing to a mxArray
Matlab object, typically a MATLAB struct
whose contents are documented in each derived class.
- Returns
- A new
mxArray
(caller is responsible of memory freeing) or nullptr is class does not support conversion to MATLAB.
Definition at line 68 of file CSerializable.h.
◆ _init_CMatrix
◆ className
constexpr const char* mrpt::math::CMatrix::className = "CMatrix" |
|
static |
◆ runtimeClassId