[API Proposal]: Tensor Operators #112781
Labels
api-suggestion
Early API idea and discussion, it is NOT ready for implementation
area-System.Numerics.Tensors
untriaged
New issue has not been triaged by the area owner
Background and motivation
Tensors are often used to do multi-dimensional math in an efficient manner. We need to add these operators to our Tensor class to enable this behavior. The language team is working on adding 2 features to enable this behavior. First, the ability to restrict which types get certain operators, and second, the ability for users to implement their own compound operators, such as +=.
Note: this API is currently blocked waiting for 2 language features that are supposed to be implemented for .NET 10. All the following API are based on their current in progress work, but if anything major changes we will need to adjust accordingly.
API Proposal
API Usage
Alternative Designs
None. We needed this functionality and so the language team figured out the best way to incorporate it in C# and we are just adopting it.
Risks
Low risk because it's a preview type and its all new features. The main risk will be around the language team and any delays they may have.
The text was updated successfully, but these errors were encountered: