C# is a strongly-typed language, when I use MathNet.Numerics in C#, this put me to trouble.
for example:
when I call the PointwiseMultiply()
method, the former matrix and the latter one must be the same type. That means I must convert a Matrix<float>
into a Matrix<Complex32>
, when it pointwise multiplies with a Matrix<Complex32>
of the same dimension.
But we don't need to do that in MATLAB, so I'm wondering is there any better practice?
Excuse me for my simple question. :-)