*** empty log message ***
This commit is contained in:
6
t2.cc
6
t2.cc
@@ -28,13 +28,15 @@
|
||||
#include "traceback.h"
|
||||
#endif
|
||||
|
||||
using namespace LA;
|
||||
|
||||
void test(const NRVec<double> &x)
|
||||
{
|
||||
NRMat<double> aa(0.,2,2);
|
||||
NRMat<double> cc(aa);
|
||||
cc.copyonwrite(); cc[0][0]=1.;
|
||||
|
||||
cout << aa << cc <<"\n";
|
||||
cout <<"test x= "<<x<<"\n";
|
||||
std::cout << aa << cc <<"\n";
|
||||
std::cout <<"test x= "<<x<<"\n";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user