Method

NumCosmoMathSplinecopy

Declaration [src]

NcmSpline*
ncm_spline_copy (
  const NcmSpline* s
)

Description [src]

This function copies the two NcmVector of the spline s into those two NcmVector of a new NcmSpline.

Return value

Type: NcmSpline

A NcmSpline.

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