Method
NumCosmoMathVectorhypot
Declaration [src]
void
ncm_vector_hypot (
NcmVector* cv1,
const gdouble a,
const NcmVector* cv2
)
Description [src]
Performs the operation: $x^i_1 = \sqrt{(x^i_1)^2+(\alpha x^i_2)^2}$
where $x_1^i$ and $x_2^i$ are the components of cv1 and cv2
respectively.
Parameters
a-
Type:
const gdoubleA constant gdouble.
cv2-
Type:
NcmVectorA constant
NcmVector.The data is owned by the caller of the method.