1 | initial version |
The double question mark will show the code of f
:
sage: f??
Signature: f(x)
Source:
def f(x):
return R(x**Integer(3)-x+Integer(188))
File: ~/sage/9.3.develop/<ipython-input-2-567a043781c3>
Type: function
Note that Sage's preparser has turned x^3-x+188
into x**Integer(3)-x+Integer(188)
.
2 | No.2 Revision |
The double question mark will show the code of f
:
sage: f??
Signature: f(x)
Source:
def f(x):
return R(x**Integer(3)-x+Integer(188))
File: ~/sage/9.3.develop/<ipython-input-2-567a043781c3>
Type: function
Note that Sage's preparser has turned x^3-x+188
into x**Integer(3)-x+Integer(188)
.
EDIT: the above does not answer to the question: it's a quick way to recall the definition of f
but it does not allow to edit it. See @tmontiel answer for this.
3 | No.3 Revision |
The double question mark will show the code of f
:
sage: f??
Signature: f(x)
Source:
def f(x):
return R(x**Integer(3)-x+Integer(188))
File: ~/sage/9.3.develop/<ipython-input-2-567a043781c3>
Type: function
Note that Sage's preparser has turned x^3-x+188
into x**Integer(3)-x+Integer(188)
.
EDIT: the above does not answer to the question: it's a quick way to recall the definition of f
but it does not allow to edit it. See @tmontiel @tmonteil 's answer for this.