|
| | fpSurface () |
| | Default constructor - allocates new fitpack_surface.
|
| |
| | ~fpSurface () override |
| | Destructor - deallocates if owned.
|
| |
| | fpSurface (const fpSurface &other) |
| | Copy constructor - deep copy.
|
| |
| fpSurface & | operator= (const fpSurface &other) |
| | Copy assignment - deep copy.
|
| |
| | fpSurface (fpSurface &&other) noexcept |
| | Move constructor - transfer ownership.
|
| |
| fpSurface & | operator= (fpSurface &&other) noexcept |
| | Move assignment - transfer ownership.
|
| |
| | fpSurface (fitpack_surface_c &c_wrapper, bool move=false) |
| | Construct from existing C wrapper (takes ownership if move=true)
|
| |
| | fpSurface (fitpack_surface_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_surface_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_surface_c & | c_handle () |
| | Get underlying C wrapper (for interop)
|
| |
| const fitpack_surface_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 |
| |
| virtual void | new_points (std::vector< double > &x, std::vector< double > &y, std::vector< double > &z, double *w=nullptr) |
| | new_points
|
| |
| virtual int32_t | new_fit (std::vector< double > &x, std::vector< double > &y, std::vector< double > &z, double *w=nullptr, double *smoothing=nullptr, int32_t *order=nullptr) |
| | new_fit
|
| |
| virtual int32_t | fit (double *smoothing=nullptr, int32_t *order=nullptr, bool *keep_knots=nullptr) |
| |
| virtual int32_t | interpolate (bool *reset_knots=nullptr) |
| |
| virtual int32_t | least_squares (double *smoothing=nullptr, bool *reset_knots=nullptr) |
| |
| virtual double | eval (double x, double y, int32_t *ierr=nullptr) |
| |
| virtual std::vector< double > | eval (std::vector< double > &x, std::vector< double > &y, int32_t *ierr=nullptr) |
| | eval
|
| |
| virtual std::vector< double > | eval_ongrid (std::vector< double > &x, std::vector< double > &y, int32_t *ierr=nullptr) |
| | eval_ongrid
|
| |
| virtual double | dfdx (double x, double y, int32_t dx, int32_t dy, int32_t *ierr=nullptr) |
| |
| virtual std::vector< double > | dfdx (std::vector< double > &x, std::vector< double > &y, int32_t dx, int32_t dy, int32_t *ierr=nullptr) |
| | dfdx
|
| |
| virtual std::vector< double > | dfdx_ongrid (std::vector< double > &x, std::vector< double > &y, int32_t dx, int32_t dy, int32_t *ierr=nullptr) |
| | dfdx_ongrid
|
| |
| virtual double | integral (std::vector< double > &lower, std::vector< double > &upper) const |
| | integral
|
| |
| virtual fpCurve | cross_section (double u, bool along_y, int32_t *ierr=nullptr) |
| |
| virtual fpSurface | derivative_spline (int32_t nux, int32_t nuy, int32_t *ierr=nullptr) |
| |
| 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.
|
| |
| fxArray< double > | x () const |
| | Zero-copy fxArray view of component 'x'.
|
| |
| std::vector< double > | y_vector () const |
| | Deep copy of component 'y' as a std::vector.
|
| |
| fxArray< double > | y () const |
| | Zero-copy fxArray view of component 'y'.
|
| |
| std::vector< double > | z_vector () const |
| | Deep copy of component 'z' as a std::vector.
|
| |
| fxArray< double > | z () const |
| | Zero-copy fxArray view of component 'z'.
|
| |
| 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 > | wrk2_vector () const |
| | Deep copy of component 'wrk2' as a std::vector.
|
| |
| fxArray< double > | wrk2 () const |
| | Zero-copy fxArray view of component 'wrk2'.
|
| |
| std::vector< double > | t_vector () const |
| | Deep copy of component 't' as a std::vector.
|
| |
| std::array< int64_t, 2 > | t_shape () const |
| | Extents of component 't', leading dimension first.
|
| |
| fxArray< double > | t () const |
| | Zero-copy fxArray view of component 't'.
|
| |
| int32_t & | m () |
| |
| const int32_t & | m () const |
| |
| int32_t & | nmax () |
| |
| const int32_t & | nmax () const |
| |
| int32_t & | lwrk2 () |
| |
| const int32_t & | lwrk2 () const |
| |
| int32_t & | bc () |
| |
| const int32_t & | bc () const |
| |
| 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 |
| |
Standalone C++ RAII wrapper for Fortran fitpack_surface.
This class provides automatic memory management (RAII) and a natural C++ API for the underlying Fortran fitpack_surface, without requiring the fortran-arrays library. Array arguments use std::vector<T> for standalone operation. Extends fpFitter (Fortran: extends(fitpack_fitter))