Skip to content

Commit

Permalink
Typos (funtion -> function) in script comments
Browse files Browse the repository at this point in the history
  • Loading branch information
vidhanarya committed Mar 6, 2019
1 parent a2be84c commit 6e72bd7
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions visma/calculus/differentiation.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def differentiate(tokens, wrtVar):
"""Simplifies and then differentiates given tokens wrt given variable
Arguments:
tokens {list} -- list of funtion tokens
tokens {list} -- list of function tokens
wrtVar {string} -- with respect to variable
Returns:
Expand Down Expand Up @@ -46,7 +46,7 @@ def differentiateTokens(funclist, wrtVar):
"""Differentiates given tokens wrt given variable
Arguments:
funclist {list} -- list of funtion tokens
funclist {list} -- list of function tokens
wrtVar {string} -- with respect to variable
Returns:
Expand Down
6 changes: 3 additions & 3 deletions visma/calculus/integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def integrate(tokens, wrtVar):
"""Simplifies and then integrates given tokens wrt given variable
Arguments:
tokens {list} -- list of funtion tokens
tokens {list} -- list of function tokens
wrtVar {string} -- with respect to variable
Returns:
Expand Down Expand Up @@ -52,7 +52,7 @@ def integrateTokens(funclist, wrtVar):
"""Integrates given tokens wrt given variable
Arguments:
funclist {list} -- list of funtion tokens
funclist {list} -- list of function tokens
wrtVar {string} -- with respect to variable
Returns:
Expand All @@ -64,7 +64,7 @@ def integrateTokens(funclist, wrtVar):
animNew = []
commentsNew = ["Integrating with respect to " + r"$" + wrtVar + r"$" + "\n"]
for func in funclist:
if isinstance(func, Operator): # add isFuntionOf
if isinstance(func, Operator): # add isfunctionOf
intFunc.append(func)
else:
newfunc = []
Expand Down
2 changes: 1 addition & 1 deletion visma/gui/plotter.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def graphPlot(workspace):
variables {list} -- variables in given equation
Note:
The func obtained from graphPlot() funtion is of different type for 2D and 3D plots. For 2D, func is a numpy array, and for 3D, func is a function.
The func obtained from graphPlot() function is of different type for 2D and 3D plots. For 2D, func is a numpy array, and for 3D, func is a function.
"""
tokens = workspace.eqToks[-1]
axisRange = workspace.axisRange
Expand Down
2 changes: 1 addition & 1 deletion visma/solvers/solve.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def moveToRHS(lTokens, rTokens, wrtVar):


def funcInverse(lTokens, rTokens, wrtVar):
"""Applies inverse of funtion of wrtVar to RHS
"""Applies inverse of function of wrtVar to RHS
Arguments:
lTokens {list} -- LHS tokens list
Expand Down

0 comments on commit 6e72bd7

Please sign in to comment.