Constructor

NumCosmoMathVectornew_fftw

Declaration [src]

NcmVector*
ncm_vector_new_fftw (
  guint size
)

Description [src]

This function allocates memory for a new NcmVector of double with n components. It uses fftw_alloc_real in order to be used by fftw* functions.

Parameters

size

Type: guint

Number of doubles allocated.

Return value

Type: NcmVector

A new NcmVector.

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