Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ qr()

template<typename EigMat , require_eigen_t< EigMat > * = nullptr>
std::tuple< Eigen::Matrix< value_type_t< EigMat >, Eigen::Dynamic, Eigen::Dynamic >, Eigen::Matrix< value_type_t< EigMat >, Eigen::Dynamic, Eigen::Dynamic > > stan::math::qr ( const EigMat &  m)

Returns the fat QR decomposition.

Template Parameters
EigMattype of the matrix
Parameters
mMatrix.
Returns
A tuple containing (Q,R):
  1. Orthogonal matrix with maximal columns
  2. Upper triangular matrix with maximal rows

Definition at line 25 of file qr.hpp.