YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
gsl_structs.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2006-2021 Istituto Italiano di Tecnologia (IIT)
3 * SPDX-FileCopyrightText: 2006-2010 RobotCub Consortium
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 */
6
7#ifndef YARP_GSL_IMPL_GSL_COMPATIBILITY_H
8#define YARP_GSL_IMPL_GSL_COMPATIBILITY_H
9
10/*
11 * This file defines types for binary compatibility with the GSL.
12 */
13
14#include <cstddef>
15
16
17#ifndef gsl_block
18typedef struct
19{
20 size_t size;
21 double *data;
22} gsl_block;
23#endif
24
25#ifndef gsl_vector
27{
28 size_t size;
29 size_t stride;
30 double *data;
32 int owner;
33};
34#endif
35
36#ifndef gsl_matrix
38{
39 size_t size1;
40 size_t size2;
41 size_t tda;
42 double * data;
44 int owner;
45};
46#endif
47
48#endif // YARP_GSL_IMPL_GSL_COMPATIBILITY_H
double * data
Definition gsl_structs.h:21
size_t size
Definition gsl_structs.h:20
gsl_block * block
Definition gsl_structs.h:43
size_t tda
Definition gsl_structs.h:41
size_t size1
Definition gsl_structs.h:39
double * data
Definition gsl_structs.h:42
size_t size2
Definition gsl_structs.h:40
size_t stride
Definition gsl_structs.h:29
double * data
Definition gsl_structs.h:30
size_t size
Definition gsl_structs.h:28
gsl_block * block
Definition gsl_structs.h:31