Virtual Method

NumCosmoMathSpline2dcopy_empty

Declaration [src]

NcmSpline2d*
copy_empty (
  const NcmSpline2d* s2d
)

Description [src]

This function copies the bidimensional spline s2d into an initialized empty NcmSpline2d of a specific type.

Return value

Type: NcmSpline2d

A NcmSpline2d.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.