Skip to content

Commit 6d3ef21

Browse files
committed
introduced sphinx+doxygen documentation
1 parent b70a17a commit 6d3ef21

File tree

525 files changed

+110687
-284
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

525 files changed

+110687
-284
lines changed

.gitignore

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ toolbox/license.txt
6464
*.mltbx
6565
*.mexmaci64
6666
!src_python_interface/include
67-
docs/xml
68-
docs/sphinx/splines/*
69-
!docs/sphinx/splines/.gitkeep
70-
docs/sphinx/_build
67+
docs_build/xml
68+
docs_build/sphinx/api
69+
docs_build/sphinx/_build

README.md

Lines changed: 39 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
1-
Splines [![Build Status](https://travis-ci.org/ebertolazzi/Splines.svg?branch=master)](https://travis-ci.org/ebertolazzi/Splines) [![View Splines on File Exchange](https://www.mathworks.com/matlabcentral/images/matlab-file-exchange.svg)](https://www.mathworks.com/matlabcentral/fileexchange/54481-splines)
1+
Splines
22
=======
33

4+
[![Build Status](https://travis-ci.org/ebertolazzi/Splines.svg?branch=master)](https://travis-ci.org/ebertolazzi/Splines)
5+
[![View Splines on File Exchange](https://www.mathworks.com/matlabcentral/images/matlab-file-exchange.svg)](https://www.mathworks.com/matlabcentral/fileexchange/54481-splines)
46

5-
`Splines` is a set of C++ classes (with MATLAB mex interface) which implements varios spline interpolation.
7+
<br>
8+
9+
[Splines](https://github.com/ebertolazzi/Splines)
10+
is a set of C++ classes (with MATLAB mex interface) which
11+
implements varios spline interpolation.
612
The classes are the following:
713

814
- ConstantSpline, for piecewise constants functions
@@ -13,19 +19,19 @@ The classes are the following:
1319
- PchipSpline,
1420
- QuinticSpline, Simple quintic spline based on PCHIP
1521

16-
**References**
22+
### References
1723

1824
- F.N. Fritsch and R.E. Carlson,
19-
Monotone Piecewise Cubic Interpolation,
25+
Monotone Piecewise Cubic Interpolation,<br>
2026
SIAM Journal of Numerical Analysis, Vol. 17, No. 2, pp. 238-246,
2127
April 1980.
2228

23-
**Matlab**
29+
### Matlab
2430

25-
To use in MATLAB install the toolbox `Splines.mltbx` then compile the files running `CompileSplinesLib`.
31+
To use in MATLAB install the toolbox `Splines.mltbx` then compile the files running `CompileSplinesLib` (available at [releases](https://github.com/ebertolazzi/Splines/releases))
2632

2733

28-
**C++ Usage**
34+
### C++ Usage
2935

3036
The usage is simple:
3137

@@ -92,27 +98,47 @@ cout << spline.DD(1.1) << '\n'; // spline second derivative at x = 1.1
9298
cout << spline.DDD(1.1) << '\n'; // spline third derivative at x = 1.1
9399
~~~~~~~~~~~~~
94100

95-
**Compile and tests**
101+
### Compile and tests
102+
103+
**Using makefile**
96104

97105
Edit makefile file to match compiler of your OS and do:
98106

107+
```sh
99108
make
109+
```
110+
111+
**Using rakefile**
112+
113+
```sh
114+
rake build_win # on windows
115+
rake build_linux # on linux
116+
rake build_osx # on mac
117+
```
100118

101119
To run the test
102120

103-
make run
121+
```sh
122+
make run # using makefile
123+
rake run # using rake on linux and osx
124+
rake run_win # using rake on windows
125+
```
104126

105-
To generate documentation (using DOXYGEN: http://www.stack.nl/~dimitri/doxygen/index.html)
127+
To generate documentation (using [DOXYGEN](https://www.doxygen.nl/index.html) and [SPHINX](https://www.sphinx-doc.org/en/master/))
106128

107-
make doc
129+
```sh
130+
make doc
131+
```
108132

109-
**DOXYGEN documentation**
133+
### Online Documentation
110134

111-
Available at: http://ebertolazzi.github.io/Splines/html/index.html
135+
Available at: [http://ebertolazzi.github.io/Splines](http://ebertolazzi.github.io/Splines)
112136

113137
* * *
114138

115139
Enrico Bertolazzi<br>
116140
Dipartimento di Ingegneria Industriale<br>
117141
Universita` degli Studi di Trento<br>
118142
email: enrico.bertolazzi@unitn.it
143+
144+
* * *

docs/.buildinfo

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Sphinx build info version 1
2+
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
3+
config: b1d36ca468536e785b06538e865db08a
4+
tags: 645f666f9bcd5a90fca523b33c5a78b7
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
.. _exhale_class_class_splines_1_1_akima2_dspline:
2+
3+
Class Akima2Dspline
4+
===================
5+
6+
- Defined in :ref:`file__Users_enrico_Ricerca_develop_C++_pins-mechatronix_LibSources_submodules_Splines_src_SplineAkima2D.hxx`
7+
8+
9+
Inheritance Relationships
10+
-------------------------
11+
12+
Base Type
13+
*********
14+
15+
- ``public BiCubicSplineBase`` (:ref:`exhale_class_class_splines_1_1_bi_cubic_spline_base`)
16+
17+
18+
Class Documentation
19+
-------------------
20+
21+
22+
.. doxygenclass:: Splines::Akima2Dspline
23+
:members:
24+
:protected-members:
25+
:undoc-members:
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
.. _exhale_class_class_splines_1_1_akima_spline:
2+
3+
Class AkimaSpline
4+
=================
5+
6+
- Defined in :ref:`file__Users_enrico_Ricerca_develop_C++_pins-mechatronix_LibSources_submodules_Splines_src_SplineAkima.hxx`
7+
8+
9+
Inheritance Relationships
10+
-------------------------
11+
12+
Base Type
13+
*********
14+
15+
- ``public CubicSplineBase`` (:ref:`exhale_class_class_splines_1_1_cubic_spline_base`)
16+
17+
18+
Class Documentation
19+
-------------------
20+
21+
22+
.. doxygenclass:: Splines::AkimaSpline
23+
:members:
24+
:protected-members:
25+
:undoc-members:
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
.. _exhale_class_class_splines_1_1_bessel_spline:
2+
3+
Class BesselSpline
4+
==================
5+
6+
- Defined in :ref:`file__Users_enrico_Ricerca_develop_C++_pins-mechatronix_LibSources_submodules_Splines_src_SplineBessel.hxx`
7+
8+
9+
Inheritance Relationships
10+
-------------------------
11+
12+
Base Type
13+
*********
14+
15+
- ``public CubicSplineBase`` (:ref:`exhale_class_class_splines_1_1_cubic_spline_base`)
16+
17+
18+
Class Documentation
19+
-------------------
20+
21+
22+
.. doxygenclass:: Splines::BesselSpline
23+
:members:
24+
:protected-members:
25+
:undoc-members:
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
.. _exhale_class_class_splines_1_1_bi_cubic_spline:
2+
3+
Class BiCubicSpline
4+
===================
5+
6+
- Defined in :ref:`file__Users_enrico_Ricerca_develop_C++_pins-mechatronix_LibSources_submodules_Splines_src_SplineBiCubic.hxx`
7+
8+
9+
Inheritance Relationships
10+
-------------------------
11+
12+
Base Type
13+
*********
14+
15+
- ``public BiCubicSplineBase`` (:ref:`exhale_class_class_splines_1_1_bi_cubic_spline_base`)
16+
17+
18+
Class Documentation
19+
-------------------
20+
21+
22+
.. doxygenclass:: Splines::BiCubicSpline
23+
:members:
24+
:protected-members:
25+
:undoc-members:
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
.. _exhale_class_class_splines_1_1_bi_cubic_spline_base:
2+
3+
Class BiCubicSplineBase
4+
=======================
5+
6+
- Defined in :ref:`file__Users_enrico_Ricerca_develop_C++_pins-mechatronix_LibSources_submodules_Splines_src_SplineBiCubic.hxx`
7+
8+
9+
Inheritance Relationships
10+
-------------------------
11+
12+
Base Type
13+
*********
14+
15+
- ``public SplineSurf`` (:ref:`exhale_class_class_splines_1_1_spline_surf`)
16+
17+
18+
Derived Types
19+
*************
20+
21+
- ``public Akima2Dspline`` (:ref:`exhale_class_class_splines_1_1_akima2_dspline`)
22+
- ``public BiCubicSpline`` (:ref:`exhale_class_class_splines_1_1_bi_cubic_spline`)
23+
24+
25+
Class Documentation
26+
-------------------
27+
28+
29+
.. doxygenclass:: Splines::BiCubicSplineBase
30+
:members:
31+
:protected-members:
32+
:undoc-members:
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
.. _exhale_class_class_splines_1_1_bi_quintic_spline:
2+
3+
Class BiQuinticSpline
4+
=====================
5+
6+
- Defined in :ref:`file__Users_enrico_Ricerca_develop_C++_pins-mechatronix_LibSources_submodules_Splines_src_SplineBiQuintic.hxx`
7+
8+
9+
Inheritance Relationships
10+
-------------------------
11+
12+
Base Type
13+
*********
14+
15+
- ``public BiQuinticSplineBase`` (:ref:`exhale_class_class_splines_1_1_bi_quintic_spline_base`)
16+
17+
18+
Class Documentation
19+
-------------------
20+
21+
22+
.. doxygenclass:: Splines::BiQuinticSpline
23+
:members:
24+
:protected-members:
25+
:undoc-members:

0 commit comments

Comments
 (0)