oph_gsl_spline

Description

Behaviour

It computes the interpolation based on cubic splines.

Parameters

  • input measure type: Ophidia typing. Supported types are: ‘oph_double’; ‘oph_float’; ‘oph_long’; ‘oph_int’; ‘oph_short’; ‘oph_byte’.
  • output measure type: Ophidia typing. Supported types are: ‘oph_double’; ‘oph_float’; ‘oph_long’; ‘oph_int’; ‘oph_short’; ‘oph_byte’.
  • measure: input measure.
  • old_dim: input dimension; data type must be ‘oph_double’.
  • new_dim: new values for dimension; data type must be ‘oph_double’.

Return type

Binary-array.

Examples

Compute the interpolation from dimension ‘x1’ to ‘x2’.

oph_gsl_spline('OPH_DOUBLE','OPH_DOUBLE',measure,x1,x2)

Operation type

Simple.

Arguments

Argument name Type Mandatory Values Default Min/Max-value Min/Max-times
input measure type “oph_type” “yes” “‘oph_double’|’oph_float’|’oph_int’|’oph_long’|’oph_short’|’oph_byte’”     “1” / “1”
output measure type “oph_type” “yes” “‘oph_double’|’oph_float’|’oph_int’|’oph_long’|’oph_short’|’oph_byte’”     “1” / “1”
measure “binary-array” “yes”       “1” / “1”
old_dim “binary-array” “yes”       “1” / “1”
new_dim “binary-array” “yes”       “1” / “1”