X-Git-Url: https://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=matrices.py;h=82944ee72ab77ca676054601991afadcd804ae77;hb=7c5ede653e5873b53c7c4b06c081f314c9ef640b;hp=01ab35274ed2157cac71af13dd84b0fdf3e4dfd4;hpb=91660cdf9b0662f4d7f1d9ecea516dfea010a729;p=dunshire.git diff --git a/matrices.py b/matrices.py index 01ab352..82944ee 100644 --- a/matrices.py +++ b/matrices.py @@ -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``.