berkowitz method in symengine

25 views
Skip to first unread message

Sally Thu

unread,
Feb 7, 2023, 2:47:52 PM2/7/23
to symengine
Hi,

I would like to replace the determinant calculation of sympy with symengine but for certain reason I would need the berkowitz method to be used. Is it possible to do that or is this not implemented yet and possible to use from within python.

Sorry , I am new to symengine and hope this question is not stupid but I tried to find more info on that but could not find anything.

I would appreciaty your help.
Thanks
Sally

Ondřej Čertík

unread,
Feb 9, 2023, 7:14:55 PM2/9/23
to syme...@googlegroups.com
Hi Sally,

On Tue, Feb 7, 2023, at 12:47 PM, Sally Thu wrote:
> Hi,
>
> I would like to replace the determinant calculation of sympy with
> symengine but for certain reason I would need the berkowitz method to

That would be great. Do you plan to submit it as a PR to SymPy as well?

> be used. Is it possible to do that or is this not implemented yet and
> possible to use from within python.
>
> Sorry , I am new to symengine and hope this question is not stupid but
> I tried to find more info on that but could not find anything.

No worries, thanks for asking. I think we have it implemented:

https://github.com/symengine/symengine/blob/d21d3b513404c48071ea96d6048f2488361e86d4/symengine/matrix.h#L540

So you can probably just call it.

Ondrej
Reply all
Reply to author
Forward
0 new messages