void * @return void */ function eachRow($action); /** * Apply a callback function to each column of the matrix. * * @param callable $action (SvCol) -> void * @return void */ function eachCol($action); // Transform /** * Returns an inverse of the matrix. * * If matrix is know to be symmetric positive definite, it's faster when $inv_sympd is true. * * @param bool $inv_sympd[optional] * @return DenseMatrix */ function i($inv_sympd = false); /** * Check whether the matrix is symmetric/hermitian positive definite within the tolerance given by $tol. * * @param number $tol[optional] * @return bool */ function isSympd($tol); }