cheby 0.4.0

Unit-safe Chebyshev approximation and spectral numerics for Rust.
Documentation
1
2
3
4
5
6
7
8
9
//! Collocation points.

use crate::core::NodeKind;

/// Chebyshev-Lobatto collocation points.
#[inline]
pub fn collocation_points<const N: usize>() -> [f64; N] {
    crate::core::nodes::nodes(NodeKind::GaussLobatto)
}