Method

NumCosmoMathVectorset

Declaration [src]

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

Description [src]

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

Parameters

i

Type: const guint

Component index.

val

Type: const gdouble

A constant double.