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

proof of concept for mul_tr #1386

Closed
wants to merge 5 commits into from
Closed

proof of concept for mul_tr #1386

wants to merge 5 commits into from

Conversation

fangs124
Copy link
Contributor

I saw issue #1254. Attempted to implement it following the implementation for tr_mul. I'm not quire sure why the original hidden function was called xx_mul_to_unit (specifically the xx part), but I made a corresponding function yy_mul_to_uninit.

Opening this pull request mainly to gather feedback, and if all is good I should be able to make other variations of the functions in ops.rs such as mul_ad, mul_tr_to, etc.

Fixed a (presumed) typo in documentation in matrix_view.rs.

Previously it says fixed_view and fixed_slice returns a matrix with `(R::dim(), CView::dim())` consecutive components. I just changed R to RView, because presumably this is a typo.
Fixed a (presumed) typo in documentation in matrix_view.rs.

Previously it says fixed_view and fixed_slice returns a matrix with `(RView, CView)` consecutive components. As per-input, and after re-reading the documentation and source code. Seems like RView and CView should be used instead of RView::dim() and CViem::dim().
Fixed spacing in documentation.
added mut_tr and the corresponding hidden yy_mul_to_uninit function.
added a test for mul_tr to verify that we get m.mul_tr(v) is m*v.transpose(). also changed the name of the previous test for tr_mul to clarify which side of the multiplication is being transposed.
@fangs124 fangs124 closed this Apr 24, 2024
@fangs124 fangs124 reopened this Apr 24, 2024
@fangs124 fangs124 closed this Apr 24, 2024
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

1 participant