Method

NumCosmoMathVectorcmp2

Declaration [src]

gint
ncm_vector_cmp2 (
  const NcmVector* cv1,
  const NcmVector* cv2,
  const gdouble reltol,
  const gdouble abstol
)

Description [src]

Performs a comparison, component-wise, of the two vectors and returns the number of components that do not match.

Parameters

cv2

Type: NcmVector

A constant NcmVector.

The data is owned by the caller of the method.
reltol

Type: const gdouble

The relative tolerance.

abstol

Type: const gdouble

The absolute tolerance.

Return value

Type: gint

The number of components that do not match.