Method

NumCosmoMathVectorfast_addto

Declaration [src]

void
ncm_vector_fast_addto (
  NcmVector* cv,
  const guint i,
  const gdouble val
)

Description [src]

This function adds val to the value of the i-th component of cv assuming stride == 1.

Parameters

i

Type: const guint

Component index.

val

Type: const gdouble

A constant double.