clifford.tools.mat2Frame¶
- clifford.tools.mat2Frame(A: ndarray, layout: Layout | None = None, is_complex: bool | None = None) Tuple[List[MultiVector], 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.shapeM: 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.