addRow in PIVector2D
git-svn-id: svn://db.shs.com.ru/pip@799 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
16
main.cpp
16
main.cpp
@@ -1,14 +1,14 @@
|
||||
#include "pip.h"
|
||||
|
||||
PIKbdListener kbd(0, 0, false);
|
||||
|
||||
int main() {
|
||||
//PISystemInfo::machineID();
|
||||
kbd.enableExitCapture();
|
||||
PIThread t;
|
||||
t.start(10);
|
||||
//WAIT_FOR_EXIT;
|
||||
piSleep(20.);
|
||||
t.stop();
|
||||
PIVector<double> v;
|
||||
for (int i=0; i<9; ++i) v << i;
|
||||
PIVector2D<double> v2(3,3,v);
|
||||
piCout << v2;
|
||||
v2.addRow(PIVector<double>() << 99 << 88 << 77 << 66);
|
||||
v2.addRow(v2.row(1));
|
||||
piCout << v2;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user