Method

NumCosmoMathVectorbetween

Declaration [src]

gboolean
ncm_vector_between (
  const NcmVector* cv,
  const NcmVector* cv_lb,
  const NcmVector* cv_ub,
  gint type
)

Description [src]

Check whether all components of cv are between components of cv_lb and cv_ub. If type == 0, compare using cv_lb <= cv < cv_ub; If type == 1, compare using cv_lb < cv <= cv_ub;.

Parameters

cv_lb

Type: NcmVector

A constant NcmVector.

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

Type: NcmVector

A constant NcmVector.

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

Type: gint

An int.

Return value

Type: gboolean

Whether cv is between cv_lb and cv_ub.