* singular value decomposition
* <i>USV<sup>T</sup></i>.
*/
- boost::shared_ptr<LAPACKFullMatrix<number> > svd_u;
+ std_cxx1x::shared_ptr<LAPACKFullMatrix<number> > svd_u;
/**
* The matrix
* <i>V<sup>T</sup></i> in the
* singular value decomposition
* <i>USV<sup>T</sup></i>.
*/
- boost::shared_ptr<LAPACKFullMatrix<number> > svd_vt;
+ std_cxx1x::shared_ptr<LAPACKFullMatrix<number> > svd_vt;
};
std::fill(wr.begin(), wr.end(), 0.);
ipiv.resize(8*mm);
- svd_u = boost::shared_ptr<LAPACKFullMatrix<number> >(new LAPACKFullMatrix<number>(mm,mm));
- svd_vt = boost::shared_ptr<LAPACKFullMatrix<number> >(new LAPACKFullMatrix<number>(nn,nn));
+ svd_u = std_cxx1x::shared_ptr<LAPACKFullMatrix<number> >(new LAPACKFullMatrix<number>(mm,mm));
+ svd_vt = std_cxx1x::shared_ptr<LAPACKFullMatrix<number> >(new LAPACKFullMatrix<number>(nn,nn));
number* mu = const_cast<number*> (svd_u->data());
number* mvt = const_cast<number*> (svd_vt->data());
int info;
In the beginning the Universe was created. This has made a lot of
people very angry and has been widely regarded as a bad move.
Douglas Adams