Method

NumCosmoMathTriVecdot

Declaration [src]

gdouble
ncm_trivec_dot (
  const NcmTriVec* v1,
  const NcmTriVec* v2
)

Description [src]

Calculates the dot product of two NcmTriVec.

Parameters

v2

Type: NcmTriVec

A NcmTriVec.

The data is owned by the caller of the method.

Return value

Type: gdouble

The dot product of v1 and v2.