get f(val) if val is numeric, otherwise generate the composed fonction f(val())
Definition at line 132 of file C2Functions.py. 00132 : 00133 "f(x) evaluates f(arg) without derivatives if arg is numeric, otherwise returns the composed function f(arg())" 00134 if isinstance(arg, C2Function): return C2ComposedFunction(self, arg) 00135 else: return self.value_with_derivatives(arg)[0] 00136
|