adjoint matrix

This commit is contained in:
2026-09-05 18:15:39 +02:00
parent 47913b40ce
commit 837963193f
4 changed files with 41 additions and 6 deletions
+17 -2
View File
@@ -3511,13 +3511,28 @@ return calcinverse(*this);
template<>
NRMat<double> NRMat<double>::svdinverse(const double thr) const
{
return calcsvdinverse(*this,thr);
return calcsvdinverse(*this,thr,false);
}
template<>
NRMat<std::complex<double> > NRMat<std::complex<double> >::svdinverse(const double thr) const
{
return calcsvdinverse(*this,thr);
return calcsvdinverse(*this,thr,false);
}
template<>
NRMat<double> NRMat<double>::absadjoint(const double thr) const
{
return calcsvdinverse(*this,thr,true);
}
template<>
NRMat<std::complex<double> > NRMat<std::complex<double> >::absadjoint(const double thr) const
{
return calcsvdinverse(*this,thr,true);
}