foscat.CircSpline ================= .. py:module:: foscat.CircSpline Classes ------- .. autoapisummary:: foscat.CircSpline.CircSpline Module Contents --------------- .. py:class:: CircSpline(nodes, degree=3) .. py:attribute:: degree :value: 3 .. py:attribute:: nodes .. py:method:: cubic_spline_function(x) Evaluate the cubic spline basis function. Args: x (float or array): Input value(s) to evaluate the spline basis function. Returns: float or array: Result of the cubic spline basis function. .. py:method:: eval(x) Compute a 3rd-degree cubic spline with 4-point support. Args: x (float or array): Input value(s) to compute the spline. Returns: indices (array): Indices of the spline support points. coefficients (array): Normalized spline coefficients. .. py:method:: eval_N(x, N) Compute a 3rd-degree cubic spline with 4-point support. Args: x (float or array): Input value(s) to compute the spline. Returns: indices (array): Indices of the spline support points. coefficients (array): Normalized spline coefficients.