CAMLprim value ml_gsl_linalg_PTLQ_Lsvx_T (value LQ, value P, value X) { _DECLARE_MATRIX(LQ); _DECLARE_VECTOR(X); GSL_PERMUT_OF_BIGARRAY(P); _CONVERT_MATRIX(LQ); _CONVERT_VECTOR(X); gsl_linalg_PTLQ_Lsvx_T (&m_LQ, &perm_P, &v_X); return Val_unit; }
/** * C++ version of gsl_linalg_PTLQ_Lsvx_T(). * @param LQ A matrix * @param p A permutation * @param x A vector * @return Error code on failure */ inline int PTLQ_Lsvx_T( matrix const& LQ, permutation const& p, vector& x ){ return gsl_linalg_PTLQ_Lsvx_T( LQ.get(), p.get(), x.get() ); }