|
| | fpConstrainedCurve () |
| | Default constructor - allocates new fitpack_constrained_curve.
|
| |
| | ~fpConstrainedCurve () override |
| | Destructor - deallocates if owned.
|
| |
| | fpConstrainedCurve (const fpConstrainedCurve &other) |
| | Copy constructor - deep copy.
|
| |
| fpConstrainedCurve & | operator= (const fpConstrainedCurve &other) |
| | Copy assignment - deep copy.
|
| |
| | fpConstrainedCurve (fpConstrainedCurve &&other) noexcept |
| | Move constructor - transfer ownership.
|
| |
| fpConstrainedCurve & | operator= (fpConstrainedCurve &&other) noexcept |
| | Move assignment - transfer ownership.
|
| |
| | fpConstrainedCurve (fitpack_constrained_curve_c &c_wrapper, bool move=false) |
| | Construct from existing C wrapper (takes ownership if move=true)
|
| |
| | fpConstrainedCurve (fitpack_constrained_curve_c &c_wrapper, ViewTag) |
| | Non-owning view ctor: bit-copy the C handle, mark is_pointer=true. Used by parent classes' polymorphic accessors to wrap a base-class handle as the correct concrete subtype.
|
| |
| bool | is_allocated () const override |
| | Check if object is allocated.
|
| |
| bool | is_pointer () const override |
| | Check if this is a non-owning pointer.
|
| |
| const char * | c_type_name () const override |
| | Return the C wrapper struct name for this class (e.g. "fitpack_constrained_curve_c").
|
| |
| const char * | cpp_type_name () const override |
| | Return the fully-qualified C++ class name for this class. Owned by the C++ layer — does not round-trip through Fortran.
|
| |
| fitpack_constrained_curve_c & | c_handle () |
| | Get underlying C wrapper (for interop)
|
| |
| const fitpack_constrained_curve_c & | c_handle () const |
| | Get underlying C wrapper (const, for interop)
|
| |
| fpParametricCurve & | as_parent () |
| | Upcast to parent type (reference, no copy)
|
| |
| const fpParametricCurve & | as_parent () const |
| |
| virtual void | clean_constraints () |
| |
| virtual void | set_constraints (int32_t ddx_begin_n1, int32_t ddx_begin_n2, int32_t ddx_end_n1, int32_t ddx_end_n2, double *ddx_begin=nullptr, double *ddx_end=nullptr, int32_t *ierr=nullptr) |
| | set_constraints
|
| |
| int32_t | comm_size () const override |
| |
| void | comm_pack (std::vector< double > &buffer) const override |
| | comm_pack
|
| |
| void | comm_expand (std::vector< double > &buffer) override |
| | comm_expand
|
| |
| void | new_points (int32_t x_n1, int32_t x_n2, std::vector< double > &x, double *u=nullptr, double *w=nullptr) override |
| | new_points
|
| |
| void | set_default_parameters () override |
| |
| int32_t | new_fit (int32_t x_n1, int32_t x_n2, std::vector< double > &x, double *u=nullptr, double *w=nullptr, double *smoothing=nullptr, int32_t *order=nullptr) override |
| | new_fit
|
| |
| int32_t | fit (double *smoothing=nullptr, int32_t *order=nullptr, bool *keep_knots=nullptr) override |
| |
| int32_t | interpolate (int32_t *order=nullptr, bool *reset_knots=nullptr) override |
| |
| int32_t | least_squares (double *smoothing=nullptr, bool *reset_knots=nullptr) override |
| |
| std::vector< double > | eval_one (double u, int32_t n_result, int32_t *ierr=nullptr) override |
| | eval_one
|
| |
| std::vector< double > | eval_many (std::vector< double > &u, int32_t n_result, int32_t *ierr=nullptr) override |
| | eval_many
|
| |
| std::vector< double > | dfdx (double u, int32_t order, int32_t n_result, int32_t *ierr=nullptr) override |
| | dfdx
|
| |
| std::vector< double > | dfdx (std::vector< double > &u, int32_t order, int32_t n_result, int32_t *ierr=nullptr) override |
| | dfdx
|
| |
| std::vector< double > | dfdx_all (double u, int32_t n_result, int32_t *ierr=nullptr) override |
| | dfdx_all
|
| |
| double | mse () const override |
| |
| int32_t | core_comm_size () const override |
| |
| void | core_comm_pack (std::vector< double > &buffer) const override |
| | core_comm_pack
|
| |
| void | core_comm_expand (std::vector< double > &buffer) override |
| | core_comm_expand
|
| |
| void | destroy_base () override |
| |
| std::vector< double > | deriv_begin_vector () const |
| | Deep copy of component 'deriv_begin' as a std::vector.
|
| |
| std::array< int64_t, 2 > | deriv_begin_shape () const |
| | Extents of component 'deriv_begin', leading dimension first.
|
| |
| fxArray< double > | deriv_begin () const |
| | Zero-copy fxArray view of component 'deriv_begin'.
|
| |
| std::vector< double > | deriv_end_vector () const |
| | Deep copy of component 'deriv_end' as a std::vector.
|
| |
| std::array< int64_t, 2 > | deriv_end_shape () const |
| | Extents of component 'deriv_end', leading dimension first.
|
| |
| fxArray< double > | deriv_end () const |
| | Zero-copy fxArray view of component 'deriv_end'.
|
| |
| std::vector< double > | xx_vector () const |
| | Deep copy of component 'xx' as a std::vector.
|
| |
| std::array< int64_t, 2 > | xx_shape () const |
| | Extents of component 'xx', leading dimension first.
|
| |
| fxArray< double > | xx () const |
| | Zero-copy fxArray view of component 'xx'.
|
| |
| std::vector< double > | cp_vector () const |
| | Deep copy of component 'cp' as a std::vector.
|
| |
| std::array< int64_t, 2 > | cp_shape () const |
| | Extents of component 'cp', leading dimension first.
|
| |
| fxArray< double > | cp () const |
| | Zero-copy fxArray view of component 'cp'.
|
| |
| int32_t & | ib () |
| |
| const int32_t & | ib () const |
| |
| int32_t & | ie () |
| |
| const int32_t & | ie () const |
| |
| template<FP_SIZE dim> |
| FP_FLAG | constrain_begin (const std::vector< fpPoint< dim > > &ddx_begin) |
| | Pin the begin endpoint; leave the end endpoint free.
|
| |
| template<FP_SIZE dim> |
| FP_FLAG | constrain_both (const std::vector< fpPoint< dim > > &ddx_begin, const std::vector< fpPoint< dim > > &ddx_end) |
| | Pin both endpoints.
|
| |
| template<FP_SIZE dim> |
| FP_FLAG | constrain_end (const std::vector< fpPoint< dim > > &ddx_end) |
| | Pin the end endpoint; leave the begin endpoint free.
|
| |
| template<FP_SIZE dim> |
| FP_FLAG | new_fit (const std::vector< fpPoint< dim > > &x, FP_REAL smoothing=1000.0, FP_SIZE order=3) |
| | Fit a new curve through the points, choosing u by cumulative Euclidean distance.
|
| |
| template<FP_SIZE dim> |
| FP_FLAG | new_fit (const std::vector< fpPoint< dim > > &x, const std::vector< FP_REAL > &u, FP_REAL smoothing=1000.0, FP_SIZE order=3) |
| | Fit a new curve through the points at the given parameter values u.
|
| |
| template<FP_SIZE dim> |
| FP_FLAG | new_fit (const std::vector< fpPoint< dim > > &x, const std::vector< FP_REAL > &u, const std::vector< FP_REAL > &w, FP_REAL smoothing=1000.0, FP_SIZE order=3) |
| | Fit a new curve through the points at parameter values u, with weights w.
|
| |
| FP_FLAG | fit (FP_SIZE order) |
| | Refit the current points with a new spline order.
|
| |
| FP_FLAG | fit (FP_REAL smoothing) |
| | Refit the current points with a new smoothing.
|
| |
| FP_FLAG | fit (FP_REAL smoothing, FP_SIZE order) |
| | Refit the current points with a new smoothing and spline order.
|
| |
| | fpParametricCurve () |
| | Default constructor - allocates new fitpack_parametric_curve.
|
| |
| | ~fpParametricCurve () override |
| | Destructor - deallocates if owned.
|
| |
| | fpParametricCurve (const fpParametricCurve &other) |
| | Copy constructor - deep copy.
|
| |
| fpParametricCurve & | operator= (const fpParametricCurve &other) |
| | Copy assignment - deep copy.
|
| |
| | fpParametricCurve (fpParametricCurve &&other) noexcept |
| | Move constructor - transfer ownership.
|
| |
| fpParametricCurve & | operator= (fpParametricCurve &&other) noexcept |
| | Move assignment - transfer ownership.
|
| |
| | fpParametricCurve (fitpack_parametric_curve_c &c_wrapper, bool move=false) |
| | Construct from existing C wrapper (takes ownership if move=true)
|
| |
| | fpParametricCurve (fitpack_parametric_curve_c &c_wrapper, ViewTag) |
| | Non-owning view ctor: bit-copy the C handle, mark is_pointer=true. Used by parent classes' polymorphic accessors to wrap a base-class handle as the correct concrete subtype.
|
| |
| bool | is_allocated () const override |
| | Check if object is allocated.
|
| |
| bool | is_pointer () const override |
| | Check if this is a non-owning pointer.
|
| |
| const char * | c_type_name () const override |
| | Return the C wrapper struct name for this class (e.g. "fitpack_parametric_curve_c").
|
| |
| const char * | cpp_type_name () const override |
| | Return the fully-qualified C++ class name for this class. Owned by the C++ layer — does not round-trip through Fortran.
|
| |
| fitpack_parametric_curve_c & | c_handle () |
| | Get underlying C wrapper (for interop)
|
| |
| const fitpack_parametric_curve_c & | c_handle () const |
| | Get underlying C wrapper (const, for interop)
|
| |
| fpFitter & | as_parent () |
| | Upcast to parent type (reference, no copy)
|
| |
| const fpFitter & | as_parent () const |
| |
| int32_t | comm_size () const override |
| |
| void | comm_pack (std::vector< double > &buffer) const override |
| | comm_pack
|
| |
| void | comm_expand (std::vector< double > &buffer) override |
| | comm_expand
|
| |
| double | mse () const override |
| |
| int32_t | core_comm_size () const override |
| |
| void | core_comm_pack (std::vector< double > &buffer) const override |
| | core_comm_pack
|
| |
| void | core_comm_expand (std::vector< double > &buffer) override |
| | core_comm_expand
|
| |
| void | destroy_base () override |
| |
| std::vector< double > | x_vector () const |
| | Deep copy of component 'x' as a std::vector.
|
| |
| std::array< int64_t, 2 > | x_shape () const |
| | Extents of component 'x', leading dimension first.
|
| |
| fxArray< double > | x () const |
| | Zero-copy fxArray view of component 'x'.
|
| |
| std::vector< double > | u_vector () const |
| | Deep copy of component 'u' as a std::vector.
|
| |
| fxArray< double > | u () const |
| | Zero-copy fxArray view of component 'u'.
|
| |
| std::vector< double > | sp_vector () const |
| | Deep copy of component 'sp' as a std::vector.
|
| |
| fxArray< double > | sp () const |
| | Zero-copy fxArray view of component 'sp'.
|
| |
| std::vector< double > | w_vector () const |
| | Deep copy of component 'w' as a std::vector.
|
| |
| fxArray< double > | w () const |
| | Zero-copy fxArray view of component 'w'.
|
| |
| std::vector< double > | dd_vector () const |
| | Deep copy of component 'dd' as a std::vector.
|
| |
| std::array< int64_t, 2 > | dd_shape () const |
| | Extents of component 'dd', leading dimension first.
|
| |
| fxArray< double > | dd () const |
| | Zero-copy fxArray view of component 'dd'.
|
| |
| std::vector< double > | t_vector () const |
| | Deep copy of component 't' as a std::vector.
|
| |
| fxArray< double > | t () const |
| | Zero-copy fxArray view of component 't'.
|
| |
| int32_t & | m () |
| |
| const int32_t & | m () const |
| |
| int32_t & | idim () |
| |
| const int32_t & | idim () const |
| |
| bool | has_params () const |
| |
| void | set_has_params (bool value) |
| |
| int32_t & | order () |
| |
| const int32_t & | order () const |
| |
| double & | ubegin () |
| |
| const double & | ubegin () const |
| |
| double & | uend () |
| |
| const double & | uend () const |
| |
| int32_t & | nest () |
| |
| const int32_t & | nest () const |
| |
| int32_t & | knots () |
| |
| const int32_t & | knots () const |
| |
| FP_SIZE | degree () const |
| | Spline degree k of the current fit.
|
| |
| FP_SIZE | ndim () const |
| | Number of space dimensions of the fitted curve.
|
| |
| template<FP_SIZE dim> |
| FP_FLAG | new_fit (const std::vector< fpPoint< dim > > &x, FP_REAL smoothing=1000.0, FP_SIZE order=3) |
| | Fit a new curve through the points, choosing u by cumulative Euclidean distance.
|
| |
| template<FP_SIZE dim> |
| FP_FLAG | new_fit (const std::vector< fpPoint< dim > > &x, const std::vector< FP_REAL > &u, FP_REAL smoothing=1000.0, FP_SIZE order=3) |
| | Fit a new curve through the points at the given parameter values u.
|
| |
| template<FP_SIZE dim> |
| FP_FLAG | new_fit (const std::vector< fpPoint< dim > > &x, const std::vector< FP_REAL > &u, const std::vector< FP_REAL > &w, FP_REAL smoothing=1000.0, FP_SIZE order=3) |
| | Fit a new curve through the points at parameter values u, with weights w.
|
| |
| FP_FLAG | fit (FP_SIZE order) |
| | Refit the current points with a new spline order.
|
| |
| FP_FLAG | fit (FP_REAL smoothing) |
| | Refit the current points with a new smoothing.
|
| |
| FP_FLAG | fit (FP_REAL smoothing, FP_SIZE order) |
| | Refit the current points with a new smoothing and spline order.
|
| |
| template<FP_SIZE dim> |
| fpPoint< dim > | eval (FP_REAL u, FP_FLAG *ierr=nullptr) |
| | Evaluate the curve at the parameter value u.
|
| |
| template<FP_SIZE dim> |
| std::vector< fpPoint< dim > > | eval (const std::vector< FP_REAL > &u, FP_FLAG *ierr=nullptr) |
| | Evaluate the curve at every parameter value in u.
|
| |
| template<FP_SIZE dim> |
| fpPoint< dim > | ddu (FP_REAL u, FP_SIZE order, FP_FLAG *ierr=nullptr) |
| | Derivative of the given order at the parameter value u.
|
| |
| template<FP_SIZE dim> |
| std::vector< fpPoint< dim > > | ddu_all (FP_REAL u, FP_FLAG *ierr=nullptr) |
| | All derivatives (orders 0..k) at the parameter value u.
|
| |
| virtual | ~fpFitter ()=default |
| |
| const char * | fortran_type_name () const |
| | Return the dynamic Fortran type name of the underlying object.
|
| |
| fitpack_fitter_c & | c_handle () |
| | Get underlying C wrapper (for interop)
|
| |
| const fitpack_fitter_c & | c_handle () const |
| | Get underlying C wrapper (const, for interop)
|
| |
| std::vector< double > | c_vector () const |
| | Deep copy of component 'c' as a std::vector.
|
| |
| fxArray< double > | c () const |
| | Zero-copy fxArray view of component 'c'.
|
| |
| std::vector< double > | wrk_vector () const |
| | Deep copy of component 'wrk' as a std::vector.
|
| |
| fxArray< double > | wrk () const |
| | Zero-copy fxArray view of component 'wrk'.
|
| |
| std::vector< int32_t > | iwrk_vector () const |
| | Deep copy of component 'iwrk' as a std::vector.
|
| |
| fxArray< int32_t > | iwrk () const |
| | Zero-copy fxArray view of component 'iwrk'.
|
| |
| int32_t & | iopt () |
| |
| const int32_t & | iopt () const |
| |
| double & | smoothing () |
| |
| const double & | smoothing () const |
| |
| double & | fp () |
| |
| const double & | fp () const |
| |
| int32_t & | lwrk () |
| |
| const int32_t & | lwrk () const |
| |
| int32_t & | liwrk () |
| |
| const int32_t & | liwrk () const |
| |