def results(self):
if self.deriv == <NUM_LIT:0>:<EOL><INDENT>return self.v,<EOL><DEDENT>if self.deriv == <NUM_LIT:1>:<EOL><INDENT>return self.v, self.d<EOL><DEDENT>if self.deriv == <NUM_LIT:2>:<EOL><INDENT>return self.v, self.d, self.dd<EOL><DEDENT>
Return the value and optionally derivative and second order derivative