First time here? Check out the FAQ!
answered 2022-08-25 10:22:35 +0100
Use something like .n(digits=4).
.n(digits=4)
Here is an example.
sage: f = lambda x: log(x).n(digits=4) sage: map_threaded(f, [[1, 2], [3, e]]) [[0.0000, 0.6931], [1.099, 1.000]]