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 3d rotations #93

Merged
merged 4 commits into from
Jul 21, 2024
Merged

Add 3d rotations #93

merged 4 commits into from
Jul 21, 2024

Conversation

paulnovo
Copy link
Contributor

@paulnovo paulnovo commented Jul 14, 2024

This adds 3D support to the Rotate transformation, and introduces
RotateX, RotateY, and RotateZ for 3D rotations around the x, y, and z
axes.

PR Checklist

  • Tests are added
  • Documentation, if applicable

This adds 3D support to the Rotate transformation, and introduces
RotateX, RotateY, and RotateZ for 3D rotations around the x, y, and z
axes.
Ensure the number of transforms equals the number of random states.
Previously, the projection would silently be calculated only for the
number of transforms equal to the number of random states.
@CarloLucibello
Copy link
Member

CarloLucibello commented Jul 15, 2024

Thanks! Could you add to the documentation in doc/src/transforms.md and docs/src/ref.md?

* Use `@docs; canonical=false` for documentation outside of ref.md.
  This allows documentation to exist on a second page. Previously,
  documentation was split between multiple pages. Some were in ref.md,
  and some were in other pages (transformations.md, buffering.md). Now,
  all documentation is at least in ref.md, but can also be duplicated
  on other pages with `canonical=false`.
* Add missing documentation to ref.md, and transformations.md.
* Enable the visualizations in gallery.md, and clean up the code a bit.
* Add visualizations in gallery.md for 3D rotations.
@paulnovo
Copy link
Contributor Author

Thanks! Could you add to the documentation in doc/src/transforms.md and docs/src/ref.md?

Hi @CarloLucibello, thanks for taking a look. I just pushed two commits. The first commit is probably what you were looking for, just adding the documentation to ref.md. In a second commit, I went much further with a bit of reorganization, but maybe not what you wanted. I can pull this commit out into a separate PR if that makes more sense.

@CarloLucibello
Copy link
Member

I like the reorganization! still something to do or we can merge?

@paulnovo
Copy link
Contributor Author

@CarloLucibello I am all done with this, you can merge.

@CarloLucibello CarloLucibello merged commit d88f839 into FluxML:master Jul 21, 2024
16 checks passed
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.

2 participants