/Users/enrico/Ricerca/develop/PINS/pins-mechatronix/LibSources/submodules/Splines/src/SplinesCinterface.h Source FileΒΆ

Splines: /Users/enrico/Ricerca/develop/PINS/pins-mechatronix/LibSources/submodules/Splines/src/SplinesCinterface.h Source File
Splines
SplinesCinterface.h
1/*--------------------------------------------------------------------------*\
2 | |
3 | Copyright (C) 2016 |
4 | |
5 | , __ , __ |
6 | /|/ \ /|/ \ |
7 | | __/ _ ,_ | __/ _ ,_ |
8 | | \|/ / | | | | \|/ / | | | |
9 | |(__/|__/ |_/ \_/|/|(__/|__/ |_/ \_/|/ |
10 | /| /| |
11 | \| \| |
12 | |
13 | Enrico Bertolazzi |
14 | Dipartimento di Ingegneria Industriale |
15 | Universita` degli Studi di Trento |
16 | email: enrico.bertolazzi@unitn.it |
17 | |
18\*--------------------------------------------------------------------------*/
19
20/*\
21 | file: SplinesCinterface.h
22 */
23
24#pragma once
25
26#ifndef SPLINES_C_INTERFACE_H
27#define SPLINES_C_INTERFACE_H
28
29#ifndef DOXYGEN_SHOULD_SKIP_THIS
30#ifdef __cplusplus
31extern "C" {
32#endif
33#endif
34
39 /* @{ */
40
44 int
45 SPLINE_new(
46 char const id[],
47 char const type[]
48 );
49
53 int SPLINE_select( char const id[] );
54
58 int SPLINE_delete( char const id[] );
59
63 int SPLINE_print();
64
68 char const * SPLINE_get_type_name();
69
73 void * SPLINE_mem_ptr( char const id[] );
74
78 int SPLINE_init();
79
83 int SPLINE_push( double x, double y );
84
88 int SPLINE_build();
89
93 int
94 SPLINE_build2(
95 double const x[],
96 double const y[],
97 int n
98 );
99
103 double SPLINE_eval( double x );
104
108 double SPLINE_eval_D( double x );
109
113 double SPLINE_eval_DD( double x );
114
118 double SPLINE_eval_DDD( double x );
119
123 double SPLINE_eval_DDDD( double x );
124
128 double SPLINE_eval_DDDDD( double x );
129
130 /* @} */
131
132#ifndef DOXYGEN_SHOULD_SKIP_THIS
133#ifdef __cplusplus
134}
135#endif
136#endif
137
138#endif
139
140/*
141// eof: SplineCinterface.hh
142*/