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
Implement Matrix method .pretty(), that will be return string with formatted matrix.
Main idea on this stage is to make support of fractions. If matrix element can not be represented as decimal, .pretty() should represent this element as fraction (even improper).
Example:
Here is element [0][1] is fixed point decimal got by dividing 2 by 3 (2/3). Same with 1 divided by 3 (element [1][0])
10.5 0.666
0.333 0.256
To avoid fixed point values for periodic fractions we will use just fraction representation.
Include for this library Sympy or just standard fractions.
Also need to support roots.
The text was updated successfully, but these errors were encountered: