Replace all numbers < e-n by 0
As always two question in one.
F = random_matrix(RR,7,50)
import numpy as np
covMatrix = np.cov(F,bias=True)
Ω=matrix(covMatrix)
Λ=Ω.inverse()
Ω*Λ
1) Is there a way to ask Sama (nicname for SAgeMAth more elegant than SM -- a wink) to overcome the number less than e-n and replace it by 0 --- I have found a way : to use change_ring(QQ)
but I want to know if therre is another way.
2) is there a way to ask Sama to display only n decimal digit.
The short name for SageMath that everyone uses is Sage.
Yes but this is from a time where Sagemath was named Sage --- I think the name has been changed because of the accounting software. But if I must comply I will nod snif...
The default assumption on ask.sagemath.org is that Sage refers to SageMath, not to any other Sage.
See also William Stein's original post introducing the long name "SageMath", from which this is an excerpt: