minor NR changes

This commit is contained in:
2024-03-02 13:11:23 +01:00
parent 222d723675
commit 750781aa5c
2 changed files with 11 additions and 3 deletions

View File

@@ -33,7 +33,9 @@ class NR {
NR& operator*=(const NR& opNR);
NR& operator/=(const NR& opNR);
void Invert();
NR operator-() const;
NR Inverse() const;
friend std::ostream& operator<<(std::ostream& os, const NR& opNR);
friend std::istream& operator>>(std::istream& os, NR& opNR);