Method

NumCosmoMathSpline2dcopy

Declaration [src]

NcmSpline2d*
ncm_spline2d_copy (
  NcmSpline2d* s2d
)

Description [src]

This function copies the two NcmVector and the NcmMatrix of the bidimensional spline s2d into those two NcmVector and NcmMatrix of a new NcmSpline2d.

Return value

Type: NcmSpline2d

A NcmSpline2d.

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