Skip to content
Snippets Groups Projects
Commit 491bba19 authored by Martin Bauer's avatar Martin Bauer
Browse files

Moved moment stuff to new lbm module

parent cfef0f9d
Branches
Tags
No related merge requests found
......@@ -317,3 +317,12 @@ def countNumberOfOperations(term):
visit(term)
return result
def matrixFromColumnVectors(columnVectors):
"""Creates a sympy matrix from column vectors.
:param columnVectors: nested sequence - i.e. a sequence of column vectors
"""
c = columnVectors
return sp.Matrix([list(c[i]) for i in range(len(c))]).transpose()
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment