You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the examples there is a multiplication between a matrix containing floats and a vector containing ints. The output is written as it was int, but it should be float
Examples
m1=Matrix([[0.0, 1.0, 2.0],
[0.0, 2.0, 4.0]])
v1=Vector([[1], [2], [3]])
m1*v1# Output:Matrix([[8], [16]]) # << should be float# Or: Vector([[8], [16] # << should be float
Also, sometimes, the output of a matrix has different precision (0. != 0.0):
In the examples there is a multiplication between a matrix containing
float
s and a vector containingint
s. The output is written as it was int, but it should be floatExamples
Also, sometimes, the output of a matrix has different precision (
0. != 0.0
):In my opinion, it should be
0.0
everywhereFixed on:
The text was updated successfully, but these errors were encountered: