public virtual List <string> ExScaleByPowerOf2Primitive() { List <string> res = new List <string>(); IDiagram.setHasCmath(true); res.Add(Indentation(1) + "y0 = x0 * pow(2.0, x1);"); return(res); }
public virtual List <string> ExSquareRootPrimitive() { List <string> res = new List <string>(); IDiagram.setHasCmath(true); res.Add(Indentation(1) + "y0 = sqrt(x0);"); return(res); }
public virtual List <string> ExAbsoluteValuePrimitive() { List <string> res = new List <string>(); IDiagram.setHasCmath(true); res.Add(Indentation(1) + "y0 = abs(x0);"); return(res); }