[sage-support] Re: computing the cup-product in the cohomology of a simplicial complex

2011-12-04 Thread Felix Breuer
Hi John! Thanks for your detailed answer! I will try to figure this out and get back to you! Felix -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group a

[sage-support] Re: computing the cup-product in the cohomology of a simplicial complex

2011-12-04 Thread Felix Breuer
Hello again! I have followed your instructions and come up with the following: X = simplicial_complexes.Torus() C = X.chain_complex(cochain=True) print C._chomp_repr_() H = C.homology(generators=True) gen1 = H[1][1][0] gen2 = H[1][1][1] d1 = C.differential()[1] This works very well so far. In pa

[sage-support] Re: computing the cup-product in the cohomology of a simplicial complex

2011-12-04 Thread John H Palmieri
On Sunday, December 4, 2011 7:47:13 PM UTC-8, Felix Breuer wrote: > > Hello again! > > I have followed your instructions and come up with the following: > > X = simplicial_complexes.Torus() > C = X.chain_complex(cochain=True) > print C._chomp_repr_() > H = C.homology(generators=True) > gen1 = H[1

[sage-support] why is this contour integral wrong?

2011-12-04 Thread Dan Drake
I keep wondering whether Sage is making a mistake, or I'm not understanding complex analysis. I'm a little afraid to learn the answer. :) Take f(z) = (z-I)*(z-1)^2/(z-(-1/2-I/3)). It's analytic everywhere except at -1/2-I/3, where it has a simple pole. So, if I integrate over a circle centered at

[sage-support] Re: why is this contour integral wrong?

2011-12-04 Thread achrzesz
On Dec 5, 5:31 am, Dan Drake wrote: > I keep wondering whether Sage is making a mistake, or I'm not > understanding complex analysis. I'm a little afraid to learn the answer. > :) > > Take f(z) = (z-I)*(z-1)^2/(z-(-1/2-I/3)). It's analytic everywhere > except at -1/2-I/3, where it has a simple p