Skip to content

.evalf() for matrices #491

Open
Open
@michaelwcl

Description

@michaelwcl

This may sound a bit baseless since I am very new to symengine and have recently been trying to convert my sympy based code to symengine for speed reasons.

Currently, I work with 4x4 symbolic matrices and have a need to .sub() and evaluate in order to use the data.

However, to my knowledge, symengine matrices don't have a evalf function, as I see this error:

AttributeError: 'symengine.lib.symengine_wrapper.MutableDenseMatrix' object has no attribute 'evalf'

I'm not sure how else I can go about this, and I feel that my implmentation would cost me speed. I was hoping that there could be a .evalf() for matrices in symengine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions