ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Tue, 14 Jul 2020 10:34:27 +0200can incidence algebras over ring that is not number ring?https://ask.sagemath.org/question/52452/can-incidence-algebras-over-ring-that-is-not-number-ring/I try the following codes, but it does not work.
SF= SymmetricFunctions(QQ)
s = SF.s()
I = P.incidence_algebra(SF)
s([2,1])*I[1,1]
TypeError: unsupported operand parent(s) for *: 'Symmetric Functions over Rational Field in the Schur basis' and 'Incidence algebra of Finite lattice containing 4 elements over Symmetric Functions over Rational Field'Mon, 13 Jul 2020 14:20:06 +0200https://ask.sagemath.org/question/52452/can-incidence-algebras-over-ring-that-is-not-number-ring/Answer by FrédéricC for <p>I try the following codes, but it does not work.</p>
<pre><code>SF= SymmetricFunctions(QQ)
s = SF.s()
I = P.incidence_algebra(SF)
s([2,1])*I[1,1]
TypeError: unsupported operand parent(s) for *: 'Symmetric Functions over Rational Field in the Schur basis' and 'Incidence algebra of Finite lattice containing 4 elements over Symmetric Functions over Rational Field'
</code></pre>
https://ask.sagemath.org/question/52452/can-incidence-algebras-over-ring-that-is-not-number-ring/?answer=52459#post-id-52459Like this
P = posets.PentagonPoset()
SF = SymmetricFunctions(QQ)
s = SF.s()
I = P.incidence_algebra(s)
s([2,1])*I[1,1]
This is because SF.s() is another parent.Tue, 14 Jul 2020 08:45:04 +0200https://ask.sagemath.org/question/52452/can-incidence-algebras-over-ring-that-is-not-number-ring/?answer=52459#post-id-52459Comment by Xie for <p>Like this</p>
<pre><code>P = posets.PentagonPoset()
SF = SymmetricFunctions(QQ)
s = SF.s()
I = P.incidence_algebra(s)
s([2,1])*I[1,1]
</code></pre>
<p>This is because SF.s() is another parent.</p>
https://ask.sagemath.org/question/52452/can-incidence-algebras-over-ring-that-is-not-number-ring/?comment=52462#post-id-52462Thanks! I only use s for computation and do not know s can be used as a ring.Tue, 14 Jul 2020 10:34:27 +0200https://ask.sagemath.org/question/52452/can-incidence-algebras-over-ring-that-is-not-number-ring/?comment=52462#post-id-52462