float support for nonclass functions

This commit is contained in:
jiri committed 2026-11-05 16:18:49 +01:00
1 parent bb42a566bc
commit 48796fba1b
6 files changed
+1859 -42

No files matched your search

+36
View File
@@ -5348,24 +5348,48 @@ NRMat<double> NRMat<double>::inverse() const
return calcinverse(*this);
}
template<>
NRMat<float> NRMat<float>::inverse() const
{
return calcinverse(*this);
}
template<>
NRMat<std::complex<double> > NRMat<std::complex<double> >::inverse() const
{
return calcinverse(*this);
}
template<>
NRMat<std::complex<float> > NRMat<std::complex<float> >::inverse() const
{
return calcinverse(*this);
}
template<>
NRMat<double> NRMat<double>::svdinverse(const double thr) const
{
return calcsvdinverse(*this,thr,false);
}
template<>
NRMat<float> NRMat<float>::svdinverse(const float thr) const
{
return calcsvdinverse(*this,thr,false);
}
template<>
NRMat<std::complex<double> > NRMat<std::complex<double> >::svdinverse(const double thr) const
{
return calcsvdinverse(*this,thr,false);
}
template<>
NRMat<std::complex<float> > NRMat<std::complex<float> >::svdinverse(const float thr) const
{
return calcsvdinverse(*this,thr,false);
}
@@ -5375,12 +5399,24 @@ NRMat<double> NRMat<double>::absadjoint(const double thr) const
return calcsvdinverse(*this,thr,true);
}
template<>
NRMat<float> NRMat<float>::absadjoint(const float 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);
}
template<>
NRMat<std::complex<float> > NRMat<std::complex<float> >::absadjoint(const float thr) const
{
return calcsvdinverse(*this,thr,true);
}