Yet Another Robot Platform
yarp::gsl::GslMatrix Class Reference

Classes for compatibility with the GSL library. More...

#include <yarp/gsl/Gsl.h>

Detailed Description

Classes for compatibility with the GSL library.

Legacy code like: Matrix m; gsl_function(m.getGslMatrix());

Should be replaced with: Matrix m; gsl_function(GslMatrix(m).getGslMatrix());

Definition at line 54 of file Gsl.h.

Public Member Functions

 GslMatrix (const yarp::sig::Matrix &)
 Allocate from yarp Matrix. More...
 ~GslMatrix ()
void * getGslMatrix ()
 Return GSL compatile pointer. More...
const void * getGslMatrix () const
 Return GSL compatile, const pointer. More...

Private Attributes

void * gslData

Constructor & Destructor Documentation

◆ GslMatrix()

GslMatrix::GslMatrix ( const yarp::sig::Matrix v)

Allocate from yarp Matrix.

Definition at line 32 of file Gsl.cpp.

◆ ~GslMatrix()

GslMatrix::~GslMatrix ( )

Definition at line 54 of file Gsl.cpp.

Member Function Documentation

◆ getGslMatrix() [1/2]

void * GslMatrix::getGslMatrix ( )

Return GSL compatile pointer.

Definition at line 67 of file Gsl.cpp.

◆ getGslMatrix() [2/2]

const void * GslMatrix::getGslMatrix ( ) const

Return GSL compatile, const pointer.

Definition at line 73 of file Gsl.cpp.

Member Data Documentation

◆ gslData

void* yarp::gsl::GslMatrix::gslData

Definition at line 74 of file Gsl.h.

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