Skip to content

Symmetric example program gives a wrong solution #118

@joons86

Description

@joons86

Hi, I'm trying to solve a problem with simple real valued symmetric matrix and rhs as below
image

I wrote my code as follows.
image

but gives a wrong answer
image

I'm sure that I made some mistake in some part in the code but cannot find a bug.
Would you please correct the code to give right solution or provide example code with row, col and value of a symmetric matrix to try?

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions