Skip to content

Commit

Permalink
Amended spelling in vandermonde.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jremes-foss committed Mar 18, 2015
1 parent 06b7935 commit 20ccc8d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/intermediate/vandermonde.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def comb_w_rep(n, k):


def vandermonde(order, dim=1, syms='a b c d'):
"""Comptutes a Vandermonde matrix of given order and dimension.
"""Computes a Vandermonde matrix of given order and dimension.
Define syms to give beginning strings for temporary variables.
Expand Down Expand Up @@ -118,7 +118,7 @@ def main():
pprint(V)

print('-'*79)
print("Computing the determinate and comparing to \sum_{0<i<j<=3}(a_j - a_i)")
print("Computing the determinant and comparing to \sum_{0<i<j<=3}(a_j - a_i)")

det_sum = 1
for j in range(order + 1):
Expand Down

0 comments on commit 20ccc8d

Please sign in to comment.