Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add benchmark for inverting matrix #154

Merged
merged 2 commits into from
Feb 3, 2022
Merged

Add benchmark for inverting matrix #154

merged 2 commits into from
Feb 3, 2022

Conversation

charles-rs
Copy link
Contributor

inverts a 3x3 matrix. The indexing could benefit from some CSE

@sampsyo
Copy link
Owner

sampsyo commented Feb 3, 2022

Very cool, and potentially even realistic. And leaving some work to do for some future optimizations seems like a good idea too. 😃

@sampsyo sampsyo merged commit 5ced673 into sampsyo:main Feb 3, 2022
det :float = fadd det to_add;
det :float = fsub det to_sub;
i :int = add i one;
i_lt_three = lt i three;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

: bool?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants