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

◆ qr_thin()

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_thin ( const EigMat &  m)

Returns the thin QR decomposition.

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

Definition at line 25 of file qr_thin.hpp.