Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
made function arguments italic and changed grammar mistake
  • Loading branch information
ullmannJan authored Jun 13, 2022
1 parent 297f4c4 commit 9352fd2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

A fast algorithm in C++ inspired by [De Boor's algorithm](https://en.wikipedia.org/wiki/De_Boor%27s_algorithm) to calculate Bsplines of arbitrary order and their derivatves.

This the file ´bSplines.hpp´ 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)
The file ´bSplines.hpp´ 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()

0 comments on commit 9352fd2

Please sign in to comment.