On Tue, Mar 24, 2020 at 5:07 AM Raphael Seidel <[email protected]> wrote:
>
> Hello Sympy community,
> I am a heavy user of the tensor package and wrote some functions which are 
> missing. However I am not a software developer so you'll need you to excuse 
> my "raw" programming style.
>
> My first self written function is able to factorize Tensor expressions ie. 
> For tensor expression of the type
>
> a(x)b + a(x)c + d
>
> the function returns the list [a,b+c,d]
> where the terms b+c and d is factorized recursively even further. I also 
> wrote my own function to print expressions like this since, once you multiply 
> the stuff in the list it goes back to the expanded form.

Can you give an example of such an expression? You can prevent
evaluation with evaluate=False when building the class.

>
> My second self written function is basically what .subs does but for tensor 
> expressions.

This sounds useful. subs itself ought to work, so if it doesn't, then
we should fix it.

Aaron Meurer

>
> If you would like to have a look a them feel free to send me an e-mail: 
> [email protected]
>
> Cheers, Raphael
>
>
> --
> You received this message because you are subscribed to the Google Groups 
> "sympy" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sympy/fb926294-1715-478e-b661-457ef0748a41%40googlegroups.com.

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/CAKgW%3D6KzTEhfcLKwp%3DXYcBkP_ku3q70%3D6xi9qu8u2-enN51MMg%40mail.gmail.com.

Reply via email to