[3.0] Generic Maths Implementation. - #2459
Closed
Tweety-Lab wants to merge 58 commits into
Closed
Conversation
Contributor
Author
|
@dotnet-policy-service agree |
Contributor
|
Hi! I just wanted to share that I have also been working on this a bit. I have a script that generates a lot of this code using roslyn. I have the vector and matrix implementations for storage and equality as well as a scaffold of the matrix multiplication operators. |
Include generated code.
More complete matrix implementation.
Feature/math 3.0
…. INumber implies a total order opposed to INumberBase which supports e.g. Complex numbers.
…Normalize. Add DistanceSquared and Distance.
Feature/math 3.0
Contributor
|
Status snapshot: Vector structs:
Matrix structs must fulfill the following requirements:
Several of these functions exist, but not for all types or not for both LH/RH versions. A Quaternion struct:
Geometric Types:
Geometric Types details:
|
Member
|
These changes have been incorporated into #2528 which is nearing approval. Thank you so much for your contribution towards this! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary of the PR
Implements the Generic Maths Proposal
Progress
Further Comments
Old Silk.NET.Maths classes are kept in a
Legacy/folder, this is just temporary and will be removed. If you'd like this to be split up into multiple smaller PRs let me know.