Method

NumCosmoMathVectordot

Declaration [src]

gdouble
ncm_vector_dot (
  const NcmVector* cv1,
  const NcmVector* cv2
)

Description [src]

This function returns the dot product of the NcmVector cv1 and cv2.

Parameters

cv2

Type: NcmVector

A constant NcmVector.

The data is owned by the caller of the method.

Return value

Type: gdouble

$\vec{v}_1 \cdot \vec{v}_2$.