Exemple #1
0
Vector genx(Vector &x0, vector<long>&JCOL)
{
  Vector x(x0.size());

  forVector(x0,i) x[i] = x0[JCOL[i]-1];

  return x;
}
Exemple #2
0
static status
forSomeVector(Vector v, Code code, Int from, Int to)
{ return forVector(v, code, from, to, TRUE);
}
Exemple #3
0
static status
forAllVector(Vector v, Code code, Int from, Int to)
{ return forVector(v, code, from, to, FALSE);
}