Common Interface for Vector and Matrix
A common (gemeinsames) Interface for Vector and Matrix would be fine.
This would make it easier to implement common methods be using Generics.
Like:
T mapInplace<T>(T t) where T : IMatrix {
t.MapInplace(f => .... );
return f;
}
1
vote
Jürgen Vogl
shared this idea