YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
Gsl.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2006-2021 Istituto Italiano di Tecnologia (IIT)
3 * SPDX-License-Identifier: GPL-2.0-or-later
4 */
5
6
7#ifndef YARP_GSL_GSL_HEADER_H
8#define YARP_GSL_GSL_HEADER_H
9
10/*
11 * This library provides functions for compatibility with GSL.
12 * @warning Including/linking GSL forces this library to be GPL.
13 */
14
15#include <yarp/sig/Matrix.h>
16#include <yarp/sig/Vector.h>
17#include <yarp/gsl/api.h>
18
19namespace yarp::gsl {
20class GslMatrix;
21class GslVector;
22} // namespace yarp::gsl
23
35{
36public:
41 ~GslMatrix();
42
46 void *getGslMatrix();
47
51 const void *getGslMatrix() const;
52
53private:
54 void *gslData;
55};
56
68{
69public:
71 ~GslVector();
72 void *getGslVector();
73 const void *getGslVector() const;
74
75private:
76 void *gslData;
77};
78
79#endif // YARP_GSL_GSL_HEADER_H
contains the definition of a Matrix type
contains the definition of a Vector type
Classes for compatibility with the GSL library.
Definition Gsl.h:35
void * getGslMatrix()
Return GSL compatile pointer.
Definition Gsl.cpp:54
Classes for compatibility with the GSL library.
Definition Gsl.h:68
A class for a Matrix.
Definition Matrix.h:39
The main, catch-all namespace for YARP.
Definition dirs.h:16
#define YARP_gsl_API
Definition api.h:17