|
fitpack
Modern Fortran library for curve and surface fitting with splines
|
C interface to fitpack_parametric_curves. More...
Data Types | |
| type | fitpack_parametric_curve_c |
| Public Fortran interface. More... | |
Functions/Subroutines | |
| subroutine, public | fitpack_parametric_curve_c_get_pointer (this, fptr) |
| Get pointer to embedded Fortran object. | |
| subroutine, public | fitpack_parametric_curve_c_pointer (this, fthis) |
| Get embedded Fortran object; allocate it if not done yet. | |
| subroutine, public | fitpack_parametric_curve_c_allocate (this) |
| Instantiate Fortran object. | |
| subroutine, public | fitpack_parametric_curve_c_destroy (this) |
| Deallocate Fortran object. | |
| subroutine, public | fitpack_parametric_curve_c_copy (this, that) |
| Copy contents from another object. | |
| subroutine, public | fitpack_parametric_curve_c_move_alloc (to, from) |
| Move allocation from one object to another. | |
| subroutine, public | fitpack_parametric_curve_c_new_points (this, ndim, npts, x, y, w) |
| Wrapper to new_points. | |
| subroutine, public | fitpack_parametric_curve_c_set_default_parameters (this) |
| integer(fp_flag) function, public | fitpack_parametric_curve_c_new_fit (this, ndim, npts, x, u, w, smoothing, order) |
| Wrapper to new_fit. | |
| integer(fp_flag) function, public | fitpack_parametric_curve_c_fit (this, smoothing, order) |
| Wrapper to curve_fit_automatic_knots. | |
| integer(fp_flag) function, public | fitpack_parametric_curve_c_interpolating (this, order) |
| Wrapper to interpolating_curve. | |
| integer(fp_flag) function, public | fitpack_parametric_curve_c_eval_one (this, u, y) |
| Wrapper to curve_eval_one. | |
| integer(fp_flag) function, public | fitpack_parametric_curve_c_derivative (this, u, order, ddx) |
| Evaluate k-th derivative of the curve at point u. | |
| real(fp_real) function, public | fitpack_parametric_curve_c_smoothing (this) |
| Get smoothing. | |
| integer(fp_size) function, public | fitpack_parametric_curve_c_idim (this) |
| Get dimensions. | |
| real(fp_real) function, public | fitpack_parametric_curve_c_mse (this) |
| Get MSE. | |
| real(fp_real) function, public | fitpack_parametric_curve_c_ubegin (this) |
| Get begin endpoint. | |
| real(fp_real) function, public | fitpack_parametric_curve_c_uend (this) |
| Get end endpoint. | |
| type(c_ptr) function | fitpack_parametric_curve_c_ubegin_ref (this, ubegin) |
| Get a reference to begin endpoint. | |
| type(c_ptr) function | fitpack_parametric_curve_c_uend_ref (this) |
| Get end endpoint. | |
| integer(fp_size) function, public | fitpack_parametric_curve_c_degree (this) |
| Get spline degree. | |
Variables | |
| type(fitpack_parametric_curve_c), parameter, public | fitpack_parametric_curve_c_null = fitpack_parametric_curve_c(cptr=c_null_ptr) |
| Null-initialized object. | |
C interface to fitpack_parametric_curves.
| subroutine, public fitpack_parametric_curves_c::fitpack_parametric_curve_c_allocate | ( | type(fitpack_parametric_curve_c), intent(inout) | this | ) |
Instantiate Fortran object.

| subroutine, public fitpack_parametric_curves_c::fitpack_parametric_curve_c_copy | ( | type(fitpack_parametric_curve_c), intent(inout) | this, |
| type(fitpack_parametric_curve_c), intent(inout) | that ) |
Copy contents from another object.

| integer(fp_size) function, public fitpack_parametric_curves_c::fitpack_parametric_curve_c_degree | ( | type(fitpack_parametric_curve_c), intent(inout) | this | ) |
Get spline degree.
Get object; allocate it in case

| integer(fp_flag) function, public fitpack_parametric_curves_c::fitpack_parametric_curve_c_derivative | ( | type(fitpack_parametric_curve_c), intent(inout) | this, |
| real (fp_real), intent(in), value | u, | ||
| integer(fp_size), intent(in), value | order, | ||
| real (fp_real), dimension(*), intent(out) | ddx ) |
Evaluate k-th derivative of the curve at point u.
Get object; allocate it in case

| subroutine, public fitpack_parametric_curves_c::fitpack_parametric_curve_c_destroy | ( | type(fitpack_parametric_curve_c), intent(inout) | this | ) |
Deallocate Fortran object.

| integer(fp_flag) function, public fitpack_parametric_curves_c::fitpack_parametric_curve_c_eval_one | ( | type(fitpack_parametric_curve_c), intent(inout) | this, |
| real(fp_real), intent(in), value | u, | ||
| real(fp_real), dimension(*), intent(out) | y ) |
Wrapper to curve_eval_one.
Get object; allocate it in case

| integer(fp_flag) function, public fitpack_parametric_curves_c::fitpack_parametric_curve_c_fit | ( | type(fitpack_parametric_curve_c), intent(inout) | this, |
| real (fp_real), intent(in), optional | smoothing, | ||
| integer(fp_size), intent(in), optional | order ) |
Wrapper to curve_fit_automatic_knots.
Get object; allocate it in case

| subroutine, public fitpack_parametric_curves_c::fitpack_parametric_curve_c_get_pointer | ( | type(fitpack_parametric_curve_c), intent(in) | this, |
| type(fitpack_parametric_curve), intent(inout), pointer | fptr ) |
Get pointer to embedded Fortran object.
| integer(fp_size) function, public fitpack_parametric_curves_c::fitpack_parametric_curve_c_idim | ( | type(fitpack_parametric_curve_c), intent(inout) | this | ) |
Get dimensions.
Get object; allocate it in case

| integer(fp_flag) function, public fitpack_parametric_curves_c::fitpack_parametric_curve_c_interpolating | ( | type(fitpack_parametric_curve_c), intent(inout) | this, |
| integer(fp_size), intent(in), optional | order ) |
Wrapper to interpolating_curve.
Get object; allocate it in case

| subroutine, public fitpack_parametric_curves_c::fitpack_parametric_curve_c_move_alloc | ( | type(fitpack_parametric_curve_c), intent(inout) | to, |
| type(fitpack_parametric_curve_c), intent(inout) | from ) |
Move allocation from one object to another.

| real(fp_real) function, public fitpack_parametric_curves_c::fitpack_parametric_curve_c_mse | ( | type(fitpack_parametric_curve_c), intent(inout) | this | ) |
Get MSE.
Get object; allocate it in case

| integer(fp_flag) function, public fitpack_parametric_curves_c::fitpack_parametric_curve_c_new_fit | ( | type(fitpack_parametric_curve_c), intent(inout) | this, |
| integer(fp_size), intent(in), value | ndim, | ||
| integer(fp_size), intent(in), value | npts, | ||
| real (fp_real), dimension(ndim,npts), intent(in) | x, | ||
| real (fp_real), dimension(npts), intent(in), optional | u, | ||
| real (fp_real), dimension(npts), intent(in), optional | w, | ||
| real (fp_real), intent(in), optional | smoothing, | ||
| integer(fp_size), intent(in), optional | order ) |
Wrapper to new_fit.
Local variables
Get object; allocate it in case

| subroutine, public fitpack_parametric_curves_c::fitpack_parametric_curve_c_new_points | ( | type(fitpack_parametric_curve_c), intent(inout) | this, |
| integer(fp_size), intent(in), value | ndim, | ||
| integer(fp_size), intent(in), value | npts, | ||
| real(fp_real), dimension(ndim,npts), intent(in) | x, | ||
| real(fp_real), dimension(ndim,npts), intent(in) | y, | ||
| real(fp_real), dimension(ndim,npts), intent(in), optional | w ) |
Wrapper to new_points.
Local variables
Get object; allocate it in case

| subroutine, public fitpack_parametric_curves_c::fitpack_parametric_curve_c_pointer | ( | type(fitpack_parametric_curve_c), intent(inout) | this, |
| type(fitpack_parametric_curve), intent(inout), pointer | fthis ) |
Get embedded Fortran object; allocate it if not done yet.

| subroutine, public fitpack_parametric_curves_c::fitpack_parametric_curve_c_set_default_parameters | ( | type(fitpack_parametric_curve_c), intent(inout) | this | ) |

| real(fp_real) function, public fitpack_parametric_curves_c::fitpack_parametric_curve_c_smoothing | ( | type(fitpack_parametric_curve_c), intent(inout) | this | ) |
Get smoothing.
Get object; allocate it in case

| real(fp_real) function, public fitpack_parametric_curves_c::fitpack_parametric_curve_c_ubegin | ( | type(fitpack_parametric_curve_c), intent(in) | this | ) |
Get begin endpoint.
Get object; allocate it in case

|
private |
Get a reference to begin endpoint.
Get object; allocate it in case

| real(fp_real) function, public fitpack_parametric_curves_c::fitpack_parametric_curve_c_uend | ( | type(fitpack_parametric_curve_c), intent(in) | this | ) |
Get end endpoint.
Get object; allocate it in case

|
private |
Get end endpoint.
Get object; allocate it in case

| type(fitpack_parametric_curve_c), parameter, public fitpack_parametric_curves_c::fitpack_parametric_curve_c_null = fitpack_parametric_curve_c(cptr=c_null_ptr) |
Null-initialized object.