NRMat svdinverse()

This commit is contained in:
2026-09-05 09:47:01 +02:00
parent e5073a3141
commit 47913b40ce
4 changed files with 56 additions and 12 deletions
+4 -1
View File
@@ -173,7 +173,10 @@ public:
void identity() {*this = (T)1;}
//! inverse matrix
NRMat inverse();
NRMat inverse() const;
//! pseudo-svd-inverse matrix
NRMat svdinverse(const LA_traits<T>::normtype thr=0) const;
//! add scalar value to the diagonal elements
NRMat & operator+=(const T &a);