clifford.tools.mat2Frame¶
- clifford.tools.mat2Frame(A: numpy.ndarray, layout: Optional[clifford._layout.Layout] = None, is_complex: Optional[bool] = None) → Tuple[List[clifford._multivector.MultiVector], clifford._layout.Layout][source]¶
Translates a (possibly complex) matrix into a real vector frame
The rows and columns of A are interpreted as follows
M, N = A.shape
M
: dimension of spaceN
: number of vectors
If A is complex M and N are doubled.
- Parameters
A (ndarray) – MxN matrix representing vectors
- Returns
a (list of clifford.MultiVector) – The resulting vectors
layout (clifford.Layout) – The layout of the vectors in
a
.