]> gitweb.michael.orlitzky.com - dunshire.git/blobdiff - matrices.py
Simplify the model a bit.
[dunshire.git] / matrices.py
index 01ab35274ed2157cac71af13dd84b0fdf3e4dfd4..82944ee72ab77ca676054601991afadcd804ae77 100644 (file)
@@ -6,21 +6,6 @@ def append_col(A,b):
     """
     return matrix([A.trans(),b.trans()]).trans()
 
-def append_cols(cols):
-    """
-    Append a bunch of columns together, left to right.
-    """
-    if len(cols) == 0:
-        return cols
-
-    result = cols[0]
-    del(cols[0])
-    for column in cols:
-        result = append_col(result, column)
-
-    return result
-
-
 def append_row(A,b):
     """
     Append the row ``b`` to the bottom of the matrix ``A``.