#include "seqspace.hh" #include "multop.hh" #include "cgnealg.hh" #include "terminator.hh" using namespace RVL; using namespace RVLAlg; using namespace RVLUmin; int main() { // cerr<<"coeff list for 1 + x"< alist; alist.push_back(1.0); alist.push_back(0.5); // cerr<<"op of multiplication by 1+x"< x(op.getDomain()); // cerr<<"vector in range"< b(op.getRange()); // cerr<<"assign to b the coeff list of the const poly 1"< blist; blist.push_back(1.0); AssignList initb(blist); b.eval(initb); // cerr<<"zero out x"< cg(x,op,b,rnorm,nrnorm,tol,tol,nsteps); // cerr<<"run"<