*** empty log message ***
This commit is contained in:
parent
df5a882739
commit
9b60f9ddc0
2
mat.h
2
mat.h
@ -57,7 +57,7 @@ public:
|
|||||||
const bool operator==(const NRMat &rhs) const {return !(*this != rhs);};
|
const bool operator==(const NRMat &rhs) const {return !(*this != rhs);};
|
||||||
inline int getcount() const {return count?*count:0;}
|
inline int getcount() const {return count?*count:0;}
|
||||||
NRMat & operator=(const NRMat &rhs); //assignment
|
NRMat & operator=(const NRMat &rhs); //assignment
|
||||||
void clear() {LA_traits<T>::clear((*this)[0],nn*mm);}; //zero out
|
void clear() {if(nn&&mm) LA_traits<T>::clear((*this)[0],nn*mm);}; //zero out
|
||||||
void randomize(const T &x); //fill with random numbers
|
void randomize(const T &x); //fill with random numbers
|
||||||
NRMat & operator=(const T &a); //assign a to diagonal
|
NRMat & operator=(const T &a); //assign a to diagonal
|
||||||
NRMat & operator|=(const NRMat &rhs); //assignment to a new copy
|
NRMat & operator|=(const NRMat &rhs); //assignment to a new copy
|
||||||
|
Loading…
Reference in New Issue
Block a user