Method

NumCosmoMathVectoraddto

Declaration [src]

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

Description [src]

This function adds val to the value of the i-th component of the vector cv.

Parameters

i

Type: const guint

Component index.

val

Type: const gdouble

A constant double.