Open WhiteBlackGoose opened 2 years ago
Consider integration with .NET6/7 numeric interfaces?
I think we can do it for multitarget. So if the target is .NET 7+, then we also offer a wrapper which would provide default operations implementing their numeric interfaces
Name of the type
For now we will assume it's
Tensor
. However it's opionated, because it might be useful to avoid calling it the same name as other libs.Operations
Namespace:
GenericTensor.Core
.Interfaces with method
Invoke: () -> A
Interfaces with method
Invoke: A -> B
Interfaces with method
Invoke: A x B -> C
Interfaces with method
Invoke: A -> bool
Interfaces with method
Invoke: A x B -> bool
Interfaces with method
Invoke: A -> string
Interfaces with method
Invoke: A -> byte[]
Interfaces with method
Invoke: byte[] -> A
Tensor
The main type where all these methods will be is
Tensor
(but notTensor<T>
!).Composition
Math operations
...
Elementwise: