Open PawelTroka opened 7 years ago
Do you work with the generic base types (Matrix<T>
, Vector<T>
) or with the explicit types in the sub-namespaces? It seems to me we should rather add conversion on the base types (which essentially call ToComplex etc.) rather than on the explicit types.
@cdrnet Yeah, you are right - sorry I missed that. We only need implicit conversion on the base types.
See #https://github.com/mathnet/mathnet-numerics/issues/304 Lack of this implicit conversion causes below TSL code to not run properly: Example below code will throw error:
Another example where it will fail:
var m = sqrt(-1)·matrix({{1,0}});