|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
44 auto* tmp =
static_cast<gsl_matrix *
>(gslData);
46 tmp->data = tmp->block->data;
47 tmp->block->size = v.
rows()*v.
cols();
50 tmp->size1 = v.
rows();
51 tmp->size2 = v.
cols();
92 auto* tmp =
static_cast<gsl_vector *
>(gslData);
94 tmp->data = tmp->block->data;
95 tmp->block->size = v.
size();
98 tmp->size = tmp->block->size;
GslVector(const yarp::sig::Vector &)
contains the definition of a Vector type
size_t rows() const
Return number of rows.
contains the definition of a Matrix type
GslMatrix(const yarp::sig::Matrix &)
Allocate from yarp Matrix.
void * getGslMatrix()
Return GSL compatile pointer.
size_t cols() const
Return number of columns.
T * data()
Return a pointer to the first element of the vector.
double * data()
Return a pointer to the first element.
A library for interoperability with the GSL library.