This class is a "CSerializable" wrapper for "CMatrixTemplateNumeric<double>".
- 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 24 of file CMatrixD.h.
#include <mrpt/math/CMatrixD.h>
◆ Base
◆ ConstPtr
◆ ConstUniquePtr
◆ mrpt_autotype
◆ Ptr
A type for the associated smart pointer
Definition at line 27 of file CMatrixD.h.
◆ UniquePtr
◆ CMatrixD() [1/5]
mrpt::math::CMatrixD::CMatrixD |
( |
| ) |
|
|
inline |
◆ CMatrixD() [2/5]
mrpt::math::CMatrixD::CMatrixD |
( |
size_t |
row, |
|
|
size_t |
col |
|
) |
| |
|
inline |
◆ CMatrixD() [3/5]
◆ CMatrixD() [4/5]
◆ CMatrixD() [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::CMatrixD::Create |
( |
Args &&... |
args | ) |
|
|
inlinestatic |
◆ CreateObject()
◆ CreateUnique()
template<typename... Args>
static UniquePtr mrpt::math::CMatrixD::CreateUnique |
( |
Args &&... |
args | ) |
|
|
inlinestatic |
◆ duplicateGetSmartPtr()
◆ getClassName()
static constexpr auto mrpt::math::CMatrixD::getClassName |
( |
| ) |
|
|
inlinestaticconstexpr |
◆ GetRuntimeClass()
◆ GetRuntimeClassIdStatic()
◆ operator delete() [1/3]
void mrpt::math::CMatrixD::operator delete |
( |
void * |
memory, |
|
|
void * |
ptr |
|
) |
| |
|
inlinenoexcept |
◆ operator delete() [2/3]
void mrpt::math::CMatrixD::operator delete |
( |
void * |
ptr | ) |
|
|
inlinenoexcept |
◆ operator delete() [3/3]
void mrpt::math::CMatrixD::operator delete |
( |
void * |
ptr, |
|
|
const std::nothrow_t & |
|
|
) |
| |
|
inlinenoexcept |
◆ operator delete[]()
void mrpt::math::CMatrixD::operator delete[] |
( |
void * |
ptr | ) |
|
|
inlinenoexcept |
◆ operator new() [1/3]
void* mrpt::math::CMatrixD::operator new |
( |
size_t |
size | ) |
|
|
inline |
◆ operator new() [2/3]
void* mrpt::math::CMatrixD::operator new |
( |
size_t |
size, |
|
|
const std::nothrow_t & |
|
|
) |
| |
|
inlinenoexcept |
◆ operator new() [3/3]
static void* mrpt::math::CMatrixD::operator new |
( |
size_t |
size, |
|
|
void * |
ptr |
|
) |
| |
|
inlinestatic |
◆ operator new[]()
void* mrpt::math::CMatrixD::operator new[] |
( |
size_t |
size | ) |
|
|
inline |
◆ operator=()
template<typename OtherDerived >
Assignment operator from any other Eigen class
Definition at line 50 of file CMatrixD.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 32 of file CMatrixD.cpp.
References MRPT_THROW_UNKNOWN_SERIALIZATION_VERSION, and setSize().
◆ serializeGetVersion()
uint8_t CMatrixD::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 22 of file CMatrixD.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 70 of file CSerializable.h.
◆ _init_CMatrixD
◆ className
constexpr const char* mrpt::math::CMatrixD::className = "CMatrixD" |
|
staticconstexpr |
◆ runtimeClassId