Add aliases to Python so "_." prefix no longer needed, update documentation
parent
a9575e64e4
commit
f81db07bf1
@ -1,42 +1,36 @@
|
|||||||
'''def notify(msg):
|
def notify(msg):
|
||||||
_.notify(msg)
|
_.notify(msg)
|
||||||
|
|
||||||
def ask(msg):
|
def ask(msg):
|
||||||
return _.ask(msg)
|
return _.ask(msg)
|
||||||
|
|
||||||
def diff(fun,var):
|
def diff(fun,var):
|
||||||
return _.diff(fun,var)
|
return _.diff(fun,var)
|
||||||
|
|
||||||
def integrate(fun,var):
|
def integrate(fun,var):
|
||||||
return _.integrate(fun,var)
|
return _.integrate(fun,var)
|
||||||
|
|
||||||
def rad(num):
|
def rad(num):
|
||||||
return _.rad(num)
|
return _.rad(num)
|
||||||
|
|
||||||
def deg(num):
|
def deg(num):
|
||||||
return _.deg(num)
|
return _.deg(num)
|
||||||
|
|
||||||
def subs(fun,var):
|
def subs(fun,var):
|
||||||
return _.subs(fun,var)
|
return _.subs(fun,var)
|
||||||
|
|
||||||
def plot():
|
def plot():
|
||||||
_.plot()
|
_.plot()
|
||||||
|
|
||||||
def plot(fun):
|
def plot(fun):
|
||||||
_.plot(fun)
|
_.plot(fun)
|
||||||
|
|
||||||
def plotname(fun):
|
def plotname(fun):
|
||||||
_.plotname(fun)
|
_.plotname(fun)
|
||||||
|
|
||||||
def plotname():
|
def plotname():
|
||||||
return _.plotname()
|
return _.plotname()
|
||||||
|
|
||||||
def xlim(min,max):
|
def xlim(min,max):
|
||||||
_.xlim(min,max)
|
_.xlim(min,max)
|
||||||
|
|
||||||
def plotclr():
|
def plotclr():
|
||||||
_.plotclr()
|
_.plotclr()
|
||||||
|
|
||||||
def drawdot(x, y):
|
def drawdot(x, y):
|
||||||
_.drawdot(x, y)
|
_.drawdot(x, y)
|
||||||
'''
|
def simplify(expr):
|
||||||
|
return _.simplify(expr)
|
||||||
|
def vpa(expr):
|
||||||
|
return _.vpa(expr)
|
||||||
|
def setglobal(key,val):
|
||||||
|
_.setglobal(key,val)
|
||||||
|
def getglobal(key):
|
||||||
|
return _.getglobal(key)
|
Loading…
Reference in New Issue