*** empty log message ***
This commit is contained in:
parent
1021cebe33
commit
df5a882739
4
mat.h
4
mat.h
@ -105,7 +105,7 @@ public:
|
|||||||
void get(int fd, bool dimensions=1, bool transposed=false);
|
void get(int fd, bool dimensions=1, bool transposed=false);
|
||||||
void put(int fd, bool dimensions=1, bool transposed=false) const;
|
void put(int fd, bool dimensions=1, bool transposed=false) const;
|
||||||
void copyonwrite();
|
void copyonwrite();
|
||||||
void resize(const int n, const int m);
|
void resize(int n, int m);
|
||||||
inline operator T*(); //get a pointer to the data
|
inline operator T*(); //get a pointer to the data
|
||||||
inline operator const T*() const;
|
inline operator const T*() const;
|
||||||
NRMat & transposeme(int n=0); // square matrices only
|
NRMat & transposeme(int n=0); // square matrices only
|
||||||
@ -492,7 +492,7 @@ void NRMat<T>::copyonwrite()
|
|||||||
}
|
}
|
||||||
|
|
||||||
template <typename T>
|
template <typename T>
|
||||||
void NRMat<T>::resize(const int n, const int m)
|
void NRMat<T>::resize(int n, int m)
|
||||||
{
|
{
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
if (n<0 || m<0) laerror("illegal dimensions in Mat::resize()");
|
if (n<0 || m<0) laerror("illegal dimensions in Mat::resize()");
|
||||||
|
Loading…
Reference in New Issue
Block a user