This is not an abstract symbolic expression for a rage - which I would still like, but this answer uses numpy to provide its default output summary with ellipses for large arrays. Solves my practical problem of too much output.
ref: https://doc.sagemath.org/html/en/thematic_tutorials/numerical_sage/numpy.html
import numpy as np
l = np.array(srange(-3,3,0.002))
show(l)
[β―πΉ.β―πΈ.πΏπΏπΎβ―πΈ.πΏπΏπΌ...πΈ.πΏπΏπΊπΈ.πΏπΏπΌπΈ.πΏπΏπΎ]
![]() | 2 | No.2 Revision |
This is not an abstract symbolic expression for a rage - which I would still like, but this answer uses numpy to provide its default output summary with ellipses for large arrays. Solves my practical problem of too much output.
output.
ref: https://doc.sagemath.org/html/en/thematic_tutorials/numerical_sage/numpy.html
import numpy as np
l = np.array(srange(-3,3,0.002))
show(l)
[β―πΉ.β―πΈ.πΏπΏπΎβ―πΈ.πΏπΏπΌ...πΈ.πΏπΏπΊπΈ.πΏπΏπΌπΈ.πΏπΏπΎ]
![]() | 3 | No.3 Revision |
This is not an abstract symbolic expression for a rage range - which I would still like, but this answer uses numpy to provide its default output summary with ellipses for large arrays. Solves my practical problem of too much output.
ref: https://doc.sagemath.org/html/en/thematic_tutorials/numerical_sage/numpy.html
import numpy as np
l = np.array(srange(-3,3,0.002))
show(l)
[β―πΉ.β―πΈ.πΏπΏπΎβ―πΈ.πΏπΏπΌ...πΈ.πΏπΏπΊπΈ.πΏπΏπΌπΈ.πΏπΏπΎ]
![]() | 4 | No.4 Revision |
This is not an abstract symbolic expression for a range - which I would still like, but this answer uses numpy to provide its default output summary with ellipses for large arrays. Solves my practical problem of too much output.
ref: https://doc.sagemath.org/html/en/thematic_tutorials/numerical_sage/numpy.html
import numpy as np
l = np.array(srange(-3,3,0.002))
np.array(srange(-3.0, 3.0, 0.002))
show(l)
[β―πΉ.β―πΈ.πΏπΏπΎβ―πΈ.πΏπΏπΌ...πΈ.πΏπΏπΊπΈ.πΏπΏπΌπΈ.πΏπΏπΎ]