Skip to content

Commit

Permalink
changed main description of the file
Browse files Browse the repository at this point in the history
  • Loading branch information
ullmannJan committed Apr 30, 2022
1 parent 8ee743b commit 4592d29
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions bSplines.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,13 @@
* The used algorithms are similar to and inspired by DeBoors algorithm
* (https://en.wikipedia.org/wiki/De_Boor%27s_algorithm), but distinct.
*
* The useful function is called bSplinesWithDeriv() and is the one that should be used.
*
* Both functions provide some code example, to give you an idea how to
* use them.
*
* This file contains three methods
* 1. ndxBsplinesHelper(ArrayXd &splines, ArrayXd &knotsInput, int index, uint nDeriv=1)
* 2. bSplinesWithDeriv(double x, ArrayXd &knotsInput, int kOrd, int nDeriv=0)
* 3. ndxBsplines(double x, ArrayXd &knotsInput, int kOrd, int nDeriv=1)
*
* It is recommended to use ndxBsplines() if you just need the splines or just the derivative.
* In case you need both together use method bSplinesWithDeriv()
*/

#pragma once
Expand Down

0 comments on commit 4592d29

Please sign in to comment.