I have written the following:
T=[0]*2
S=[]
l=2
for i in range(l):
T[0]=i
T[1]=i+1
print T
S.append(T)
Now S becomes [[1, 2], [1, 2]] instead of [[0,1],[1,2]].
In my situation, length l of S is not fixed. Is there any
method to solve this problem?
--
You received this message
On Oct 1, 2012, at 00:28 , Santanu Sarkar wrote:
I have written the following:
T=[0]*2
S=[]
l=2
for i in range(l):
T[0]=i
T[1]=i+1
print T
S.append(T)
Now S becomes [[1, 2], [1, 2]] instead of [[0,1],[1,2]].
In my situation, length l of S is not fixed. Is there any
On 10/1/12 2:40 AM, Justin C. Walker wrote:
On Oct 1, 2012, at 00:28 , Santanu Sarkar wrote:
I have written the following:
T=[0]*2
S=[]
l=2
for i in range(l):
T[0]=i
T[1]=i+1
print T
S.append(T)
Now S becomes [[1, 2], [1, 2]] instead of [[0,1],[1,2]].
In my situation, length
Thank you.
magma found parametrization too, so the problem is in sage/singular.
(probably you mean genus zero, not one).
On Mon, Oct 01, 2012 at 06:23:04AM -0700, luisfe wrote:
Maple agrees with magma here and says that the genus is one. Moreover, it
computes a parametrization of the curve
I wanted to get lattice of transitive subgroups. Few questions rising from
that:
I can say
G=[s for s in SymmetricGroup(5).conjugacy_classes_subgroups() if
s.is_transitive()];
[[G[n].is_subgroup(s) for s in G] for n in range(len(G))];
but then I got quite unreadable list. In general, Sage
import mpmath
mpmath.mp.pretty=True
mpmath.mp.dps=30
def F(x):
return mpmath.zeta(x)+mpmath.zeta(x,derivative=1)
r=mpmath.findroot(F,[0.1+mpmath.j],solver=muller)
Unhandled SIGSEGV: A segmentation fault occurred in Sage.
This probably occurred because a *compiled* component of Sage
Hmm. My backtrace showed:
/home/mcneil/sagedev/sage-5.4.beta0/local/lib/libcsage.so(print_backtrace+0x3b)[0xb6bd7c49]
/home/mcneil/sagedev/sage-5.4.beta0/local/lib/libcsage.so(sigdie+0x17)[0xb6bd7c89]
i get the same exception on standalone mpmath, don't know if it uses
gmp.
On Mon, Oct 01, 2012 at 10:35:37AM -0400, D. S. McNeil wrote:
Hmm. My backtrace showed:
/home/mcneil/sagedev/sage-5.4.beta0/local/lib/libcsage.so(print_backtrace+0x3b)[0xb6bd7c49]
Just did a clean install of Sage 5.3 on newly upgraded OS X 10.8, and I can't
get my notebook to run. It's been years since I've tried to initialize a new
notebook, and I can't tell if I'm forgetting a step. I also know that 10.8
isn't fully supported yet, so I imagine there might be some
On 2/10/2012, at 12:41 PM, AHaensch annahaen...@gmail.com wrote:
Just did a clean install of Sage 5.3 on newly upgraded OS X 10.8,
From source or just a binary?
and I can't get my notebook to run. It's been years since I've tried to
initialize a new notebook, and I can't tell if I'm
10 matches
Mail list logo