Hi,
I was just reading up on the GA module.
Reading through the wiki
http://wiki.sympy.org/wiki/Geometric_Algebra_Module
and this
http://docs.sympy.org/modules/galgebra/GA/GAsympy.html
I stumbled on the use of set_main():
Isn't there a "cleaner way" of doing this -- it seems like quite some hack...
I think in the description the use of the term "broadcasting" is meant
in a non-standard way at least in the sense that it seems to have a
different meaning as commonly used in the numpy world.
For example, the "make_symbols()" function depend on the prior call to
set_main(sys.modules[__name__]
--> why couldn't make_symbols not jut make use of something like
sys._getframe(1).f_globals to put the symbols there ? I'm not sure
however how this would work for a symbol (e.g. "x") that had been
declared global (e.g. "global x") in the respective scope...

What do you think ?

(Also: the use of "from sympy.galgebra.GA import *" is discouraged --
could it be changed to "from sympy.galgebra import GA" !?)

Regards,

Sebastian Haase

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To post to this group, send email to sympy@googlegroups.com
To unsubscribe from this group, send email to sympy+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sympy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to