Ask Your Question

Revision history [back]

Trying to find how symmetrica library works

Really am just hoping somebody is able to tell me where I can find the source for some stuff.

I wanted to learn how a couple of the functions worked. I was interested in finding character values of the symmetric group. For computing a character value the function charvalue() will take a integer Partition and under some index will output an integer, the character value. I am interested how it is computed. I mean I get how to do it by hand, but how the code does it. The second function I want to see, chartafel(), does a whole table of these character values.

The functions I ended up using were symmetrica.charvalue(), symmetrica.chartafel().

Frankly I was interested in how sage finds character values and if it takes some of the shortcuts in creating the table or the character values themselves.

Can't link to the docs because of Karma but its basically in:doc.sagemath.org/html/en/reference/libs/sage/libs/symmetrica/symmetrica.html

I found that some of the code where I thought I could find it were written in Cython. Which I do not know but I use Python and C. But this code I found I can't see where it actually computes the character values here. I just don't see what actually runs to generate these integers.

In GitHub sage source code I found: github.com/sagemath/sage/tree/develop/src/sage/libs/symmetrica

I could really appreciate anybody just pointing me in the right direction.