Overloading operators

5 views
Skip to first unread message

Ingo Dahn

unread,
Mar 9, 2023, 4:57:19 PM3/9/23
to CoCalc
The python module galgebra overloads the * operator to behave as the geometric product.for multivectors. When I pip install this module into a SageMath kernel, the module can be loaded, but the overloading does not apply.
How can it be achieved that the overloaded version is applied only if one of the arguments is an object of type Mv (multivectors) but not to otherwise?
Alternatively: Is there a way to prevent overloading by enforcing the use of another symbol fpr the geometric product?

Reply all
Reply to author
Forward
0 new messages