str2d.Str2D.e
- Str2D.e()[source]
Replace the data with digits of e. This is a wrapper around the e function and returns a new Str2D object with the data replaced with the digits
- Returns:
A new Str2D object with the data replaced with the digits of e.
- Return type:
Examples
Let’s create an instance of Str2D and assign it to the variable a and then
from str2d import Str2D a = Str2D('abcdef\nghijkl\nmnopqr\nstuvwx') a
abcdef ghijkl mnopqr stuvwx
a.e()
2.7182 818284 590452 353602