Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Reusing computations from determinant in 3x3 #4

@david-cortes

Description

@david-cortes

In the 4x4 code, some temporary variables which are the result of multiplying two entries are defined and get used twice, first in the determinant and then in the output.

The 3x3 case also has some computations that get used more than once (such as m.m11 * m.m22), and there's more than 1 potential way of picking which if you were to expand the products from the determinant .

Would be nice to have an optimized version of 3x3 reusing computations.

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