[sage-support] A question about numpy?

2010-12-15 Thread liji.ma...@gmail.com
Hi Sage group: I have met a problem. The code is as follow. import numpy as np A = np.mat([[1, 2, 3], [4, 5, 6], [7, 8, 9]]) print A[:, 1].shape for i in range(0, 3): print A[:, i].shape the result is (1, 3) (3, 1) (3, 1) (3, 1) Is there any difference between "print A[:, 1]" and "print A[:

[sage-support] Could I set breakpoint in Sage?

2009-08-25 Thread liji.ma...@gmail.com
I have used Sage for several months.I find it very useful.In fact, it has helped me a lot.In order to learn Sage more,I have read some documents about Sage,but I didn't find any subject about how to set breakpoint. I wish to know how to use breakpoint because I belive the breakpoint is very impor

[sage-support] Re: Is there anyway in SAGE to calculate the integral of bessel function?

2009-05-04 Thread liji.ma...@gmail.com
ing? > > sage: from scipy import special > sage: RealNumber=float > sage: special.iti0k0(1.0)[0] > 1.0865210970235892 > > See the thread > > http://groups.google.com/group/sage-support/browse_thread/thread/e344... > > for more details. > > On Mon, Ma

[sage-support] Is there anyway in SAGE to calculate the integral of bessel function?

2009-05-04 Thread liji.ma...@gmail.com
Hello everyone! I have a question about the integral of bessel function,I can calculate the integral of bessel function by using Scipy lib.For example,scipy.special.iti0k0(x)[0] means the integral of besseli(0, x) from 0 to x.Is there any function like scipy.special.iti0k0(x)[0] in the SAGE? --~-