Helloo everybody !
Today I needed to build a cyclic group Z/nZ (and products of them),
and to be able to add elements together.
I screamed for help, Aladin offered his, we tried a few things and
Hell followed.
I report those bugs, as I know next to nothing about groups and
categories, and
Sounds like you want this:
sage: Z5xZ5 = AdditiveAbelianGroup([5, 5])
sage: x = Z5xZ5([1,3])
sage: x
(3, 1)
sage: x + x
(1, 2)
sage: 5*x
(0, 0)
sage: 5*x == 0
True
Note that a "presentation of a group" is actually a
thing: http://en.wikipedia.org/wiki/Presentation_of_a_group
On Wednesday, Nov
On Wednesday, November 6, 2013 12:56:07 PM UTC-5, Volker Braun wrote:
>
> Sounds like you want this:
>
> sage: Z5xZ5 = AdditiveAbelianGroup([5, 5])
> sage: x = Z5xZ5([1,3])
> sage: x
> (3, 1)
> sage: x + x
> (1, 2)
> sage: 5*x
> (0, 0)
> sage: 5*x == 0
> True
>
Related:
http://ask.sagemath.org/
Two questions:
- should AdditiveAbelianGroup be accessible through "groups.[TAB]"? Say as
"groups.additive.AdditiveAbelianGroup"?
- Why in the world are AdditiveAbelianGroupWrapperElement and
AdditiveAbelianGroupWrapper (not to mention UnwrappingMorphism) in the
top-level name space? That is,
2013/11/6, John H Palmieri :
> in sage.groups.additive_abelian.all? I wonder if we should have a
> meta-ticket about cleaning up top-level imports...
+1
But how do we do this ? It is fairly easy to list the names in the
global namespace but how do we select the ones which should stay and
the ones
Helloo !
> sage: Z5xZ5 = AdditiveAbelianGroup([5, 5])
Excellent ! Thaanks ! I can write my patch now ;-)
Nathann
--
You received this message because you are subscribed to the Google Groups
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an e
On Mon, Nov 4, 2013 at 5:56 PM, Mike Zabrocki wrote:
>[...]
> After I installed the new command line tools then I was able to build from
> source also for about 3 hours and then I encountered the same errors that
> others are seeing here.
Hi,
In the interest of porting Sage to OS X 10.9, I dug u
On Wednesday, November 6, 2013 11:20:00 PM UTC+1, William wrote:
>
> On Mon, Nov 4, 2013 at 5:56 PM, Mike Zabrocki
> >
> wrote:
> >[...]
> > After I installed the new command line tools then I was able to build
> from
> > source also for about 3 hours and then I encountered the same errors
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 11/6/13, 2:34 PM, Jean-Pierre Flori wrote:
>
>
> On Wednesday, November 6, 2013 11:20:00 PM UTC+1, William wrote:
>>
>> On Mon, Nov 4, 2013 at 5:56 PM, Mike Zabrocki
>> > wrote:
>>> [...] After I installed the new command line tools then I was
Hi!
With mercurial git I had the following line in my .emacs file
(add-to-list 'load-path (expand-file-name "/Applications/sage/data/emacs"))
but now sage/data does not exist any longer. What should I put there?
Thanks,
Anne
--
You received this message because you are subscribed to the Goog
10 matches
Mail list logo