Skip to content

Commit

Permalink
Merge branch 'feature/docs'
Browse files Browse the repository at this point in the history
  • Loading branch information
heueristik committed Feb 8, 2024
2 parents d1ff6ee + 26d1b97 commit d839054
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "bsplines"
license = "Apache-2.0"
version = "0.0.1-alpha.6"
version = "0.0.1-alpha.7"
authors = [
"Michael A. Heuer <[email protected]>",
]
Expand Down
2 changes: 1 addition & 1 deletion src/curve/basis/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ cfg_attr(all(),
doc = ::embed_doc_image::embed_image!("eq-basis-function", "doc-images/equations/basis-function.svg"),
doc = ::embed_doc_image::embed_image!("eq-basis-prefactor", "doc-images/equations/basis-prefactor.svg"),
doc = ::embed_doc_image::embed_image!("eq-basis-function-zero", "doc-images/equations/basis-function-zero.svg")))]
//! Evaluates the basis spline functions using the Cox-de Boor-Mansfield recurrence relation
//! Implements the basis spline functions using the Cox-de Boor-Mansfield recurrence relation
//!
//! ![The Cox-de Boor-Mansfield recurrence relation][eq-basis-function]
//!
Expand Down
13 changes: 7 additions & 6 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,13 @@ doc = ::embed_doc_image::embed_image!("img-curve", "doc-images/plots/manipulatio
//!
//! ## What are B-Splines?
//!
//! B-splines are parametric functions composed of piecewise polynomials with a polynomial degree `p > 0`.
//! These piecewise polynomials are joined so that the parametric function is `p-1` times continuously
//! differentiable. The overall functions are parametrized over finite domains with the co-domain being an
//! `N`-dimensional vector space. They can describe curves, but also surfaces.
//! Their characteristics lead to many desirable properties.
//!
//! B-splines are parametric functions composed of piecewise, polynomial [basis functions][curve::basis] of degree `p > 0`.
//! These piecewise polynomials are joined so that the parametric function is `p-1` times continuously differentiable.
//! The overall functions are parametrized over finite domains with a so-called [knot vector][curve::knots]
//! with the co-domain being an `N`-dimensional vector space, that is defined by [control points][curve::points].
//! They can describe [curves][curve], but also surfaces.
//! These characteristics lead to many desirable properties.
//! The piecewise definition makes B-spline functions versatile allowing to interpolate or approximate
//! complex-shaped and high-dimensional data, while maintaining a low polynomial degree. Because of the polynomial
//! nature, all possible derivatives are accessible.
Expand Down

0 comments on commit d839054

Please sign in to comment.