Skip to content

Symbolic solution of linear equation system returns wrong results #447

@hpaantee

Description

@hpaantee

Related to #442. Solving a linear system Ax=b symbolically via A.LUsolve(b) returns a wrong result. Both when using .subs or Lambdify. The result contains values of up to e+100. When solving the linear system numerically I get the correct result, with no value exceeding e-02.

What causes this difference? In this comment (sympy/sympy#25208 (comment)) one contributor of sympy also mentions the accuracy difference. Where does this come from?

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