There is a formula in matlab
cvDelta = sdDelta.^2/delta;
where sdDelta
and delta
are arrays. As a result of execution we get a scalar (a number, and NOT A MASSIF ) In Python, you need to repeat this formula, but as a result I get an array, instead of a scalar value. Here is my code.
cvDelta = sdDelta ** 2 / delta
I suspect that the fact is that in Python, operations with arrays are somehow different.