Ask Your Question

Anupamsage's profile - activity

2018-03-06 15:32:41 -0600 received badge  Famous Question (source)
2017-05-18 02:35:24 -0600 received badge  Notable Question (source)
2017-04-13 11:29:36 -0600 received badge  Notable Question (source)
2016-10-02 11:31:14 -0600 received badge  Popular Question (source)
2016-09-22 18:43:00 -0600 received badge  Popular Question (source)
2016-07-11 01:39:12 -0600 received badge  Notable Question (source)
2016-07-08 08:37:01 -0600 received badge  Popular Question (source)
2016-07-05 09:50:55 -0600 received badge  Nice Question (source)
2016-07-04 13:02:23 -0600 received badge  Student (source)
2016-07-04 02:19:07 -0600 asked a question Polynomial interpolation

I wanted to do find the polynomial function in multivariable with set of data points. Something similar to the one done in mathematica that is the function InterpolatePolynomial. In one variable there is the function in sage called .lagrange_polynomial which works pretty good. I was wonder if there is something in multivariable ?

2016-06-15 21:00:50 -0600 asked a question coefficient function in sage

I want to compute the coefficient of certain polynomial but he coefficient function in sage gives me back for the coefficient of X^0 that is for any polynomial f f.coefficient(x^0) = 0 Can you some suggest how to change this thing in sage library ?

2016-06-13 19:37:37 -0600 asked a question evaluation of character of symmetric group.

I am writing a code in sage where I am using character of Symmetric group. I want to evaluate the character of symmetric group on certain conjugacy classes. While I know the command for defining character as below.\

G = SymmetricGroup(3)\

rho = SymmetricGroupRepresentation([1,1,1])\

chi = rho.to_character();

I want to find chi([2,1]) that is to evaluate chi on the conjugacy class of type (2,1). Any help please ?

2016-06-13 19:35:20 -0600 received badge  Scholar (source)
2016-05-03 08:09:07 -0600 asked a question What is the bug ?

I am writing this code in sage online worksheet given a tuple say $a=(a_1,a_2,...a_n)$ \phi be an permutation in S_n then \phi(a)= (a_\phi(1),...,a_\phi(n)) I want to count the number of permutation that fixes a The code is as follows

def Aut(tuple): c=1 for a in SymmetricGroup(len(tuple)): if a.action(tuple)== tuple : c=c+1

2016-05-03 08:09:06 -0600 asked a question What is the bug

I am writing this code in sage online worksheet given a tuple say $a=(a_1,a_2,...a_n)$ \phi be an permutation in S_n then \phi(a)= (a_\phi(1),...,a_\phi(n)) I want to count the number of permutation that fixes a The code is as follows

def Aut(tuple): c=1 for a in SymmetricGroup(len(tuple)): if a.action(tuple)== tuple : c=c+1

return c