clifford.bases(layout, mvClass=<class 'clifford._multivector.MultiVector'>, grades: Optional[Container[int]] = None) → Dict[str, clifford._multivector.MultiVector][source]

Returns a dictionary mapping basis element names to their MultiVector instances, optionally for specific grades

if you are lazy, you might do this to populate your namespace with the variables of a given layout.

>>> locals().update(layout.blades())

Changed in version 1.1.0: This dictionary includes the scalar