Input port methods
double input0=getInputScalar(0);
Output port methods
setOutputScalar(0,output0);
Parameter port methods
int parameter0 = getParameterScalar(0);
double parameter1 = getParameterScalar(1);
std::string parameter2 = getParameterString(2);
Arrays
test(0, 0) = 2;
test(1, 1) = 4;
test2 += 1;
a(0, 0) = -3;
a(1, 1) = 4;
a.print();