Ask Your Question
0

Substituting variables in instances of elements of SymmetricFunctions of polynomial rings

asked 2024-03-06 18:30:53 +0100

yeetcode gravatar image

updated 2024-03-07 06:12:13 +0100

I am working with

R.<q,t> = PolynomialRing(QQ)

Q = R.fraction_field()

Sym = SymmetricFunctions(Q)

following which I declare Ht = Sym.macdonald().Ht(). I would now like to evaluate Ht for different relations between q, t. As an example, I would like to be able to compute Ht[2,1,1] with the substitution q -> q and t -> 1.

edit retag flag offensive close merge delete

Comments

I mean being able to evaluate something like Ht[2,1,1] but with the substitution q=t or t=1.

yeetcode gravatar imageyeetcode ( 2024-03-07 06:10:30 +0100 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2024-03-07 18:05:41 +0100

Max Alekseyev gravatar image

updated 2024-03-07 18:06:30 +0100

Is this what you want?

Ht = Sym.macdonald().Ht()
Ht_2 = Sym.macdonald(q=t, t=1).Ht()

f = q*Ht[3,2,1] + t*Ht[2,1,1]
print( Ht_2(f) )
edit flag offensive delete link more

Comments

Seems to be doing the job quite alright. I find it unintuitive and restrictive that the substitution has to be made into Sym.macdonald(), but given that the list of substitutions I'm interested in is very small, I can indeed create a fixed few instances and be happy with it. Thanks! How (if at all) can I make a feature request for element-wise substitution?

yeetcode gravatar imageyeetcode ( 2024-03-07 21:44:36 +0100 )edit

You can submit a feature request at https://github.com/sagemath/sage/issues

Max Alekseyev gravatar imageMax Alekseyev ( 2024-03-07 23:51:50 +0100 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2024-03-06 18:30:53 +0100

Seen: 212 times

Last updated: Mar 07