MatrixDouble Class Reference

The MatrixDouble class. More...

#include <ArmarXCore/util/variants/eigen3/MatrixVariant.h>

+ Inheritance diagram for MatrixDouble:

Public Member Functions

VariantDataClassPtr clone (const Ice::Current &c=Ice::emptyCurrent) const override
 
void deserialize (const armarx::ObjectSerializerBasePtr &serializer, const ::Ice::Current &=Ice::emptyCurrent) override
 
VariantTypeId getType (const Ice::Current &c=Ice::emptyCurrent) const override
 
Ice::ObjectPtr ice_clone () const override
 
 MatrixDouble (const Eigen::MatrixXd &)
 
 MatrixDouble (int rows, int cols)
 
 MatrixDouble (int rows, int cols, const std::vector< double > &entries)
 
double & operator() (const int x, const int y)
 
std::string output (const Ice::Current &c=Ice::emptyCurrent) const override
 
void serialize (const armarx::ObjectSerializerBasePtr &serializer, const ::Ice::Current &=Ice::emptyCurrent) const override
 
virtual Eigen::MatrixXd toEigen () const
 
std::string toJsonRowMajor ()
 
bool validate (const Ice::Current &c=Ice::emptyCurrent) override
 

Protected Member Functions

 MatrixDouble ()
 

Friends

template<class BaseClass, class VariantClass>
class GenericFactory
 
std::ostream & operator<< (std::ostream &stream, const MatrixDouble &rhs)
 

Detailed Description

The MatrixDouble class.

Constructor & Destructor Documentation

◆ MatrixDouble() [1/4]

MatrixDouble ( )
protected

◆ MatrixDouble() [2/4]

MatrixDouble ( int rows,
int cols )

◆ MatrixDouble() [3/4]

MatrixDouble ( const Eigen::MatrixXd & m)

◆ MatrixDouble() [4/4]

MatrixDouble ( int rows,
int cols,
const std::vector< double > & entries )

Member Function Documentation

◆ clone()

VariantDataClassPtr clone ( const Ice::Current & c = Ice::emptyCurrent) const
inlineoverride

◆ deserialize()

void deserialize ( const armarx::ObjectSerializerBasePtr & serializer,
const ::Ice::Current & = Ice::emptyCurrent )
override

◆ getType()

VariantTypeId getType ( const Ice::Current & c = Ice::emptyCurrent) const
inlineoverride

◆ ice_clone()

Ice::ObjectPtr ice_clone ( ) const
inlineoverride

◆ operator()()

double & operator() ( const int x,
const int y )

◆ output()

std::string output ( const Ice::Current & c = Ice::emptyCurrent) const
inlineoverride

◆ serialize()

void serialize ( const armarx::ObjectSerializerBasePtr & serializer,
const ::Ice::Current & = Ice::emptyCurrent ) const
override

◆ toEigen()

Eigen::MatrixXd toEigen ( ) const
virtual

◆ toJsonRowMajor()

std::string toJsonRowMajor ( )

◆ validate()

bool validate ( const Ice::Current & c = Ice::emptyCurrent)
inlineoverride

Friends And Related Symbol Documentation

◆ GenericFactory

template<class BaseClass, class VariantClass>
friend class GenericFactory
friend

◆ operator<<

std::ostream & operator<< ( std::ostream & stream,
const MatrixDouble & rhs )
friend

The documentation for this class was generated from the following files: