Ejemplo n.º 1
0
std::string getErrorMessage()
{
   std::string errMessage ;
   Error callError = RFunction("geterrmessage").call(&errMessage);
   if (callError)
      LOG_ERROR(callError);   
   return errMessage;
}
Ejemplo n.º 2
0
      RFunction Identity(int  dim)
{return RFunction(new function_algebra_identity(dim));}
Ejemplo n.º 3
0
RFunction Polynomial1D(const coord_type& c)    { return RFunction(new function_algebra_polynomial1D(c));}
Ejemplo n.º 4
0
RFunction S3(const double& a, const double& b) { return RFunction(new function_algebra_hermite(a,b));}
Ejemplo n.º 5
0
RFunction Rotation3D          (const coord_type& axis, double angle)
  { return RFunction(new function_algebra_rotation3D(axis,angle));}
Ejemplo n.º 6
0
RFunction DistanceToHyperplane(const coord_type& normal, double dist) 
  { return RFunction(new function_algebra_distance(normal,dist));}
Ejemplo n.º 7
0
RFunction ProjectToHyperplane (const coord_type& normal, double dist) 
  { return RFunction(new function_algebra_project(normal,dist));}
Ejemplo n.º 8
0
RFunction Circle   (const coord_type& m, double r) {return RFunction(new function_algebra_circle(m,r));}
Ejemplo n.º 9
0
RFunction Translate(const coord_type& t)           { return RFunction(new function_algebra_translate(t));}
Ejemplo n.º 10
0
RFunction Scale    (const coord_type& diag)        { return RFunction(new function_algebra_scale(diag));}
Ejemplo n.º 11
0
RFunction Norm2(int n)     { return RFunction(new function_algebra_norm2(n));}
Ejemplo n.º 12
0
RFunction X(int i,int dim) { return RFunction(new function_algebra_coordinate_with_dim(i,dim));}
Ejemplo n.º 13
0
RFunction X(int i)         { return RFunction(new function_algebra_coordinate(i));}
Ejemplo n.º 14
0
RFunction Constant(const coord_type& p, int dDef) { return RFunction(new function_algebra_constant(p,dDef));}