1 | initial version |
You should do :
sage: f.is_symmetric()
True
Now, the is_SymmetricFunction
is too specific to be in the global namespace, its source code is :
return isinstance(x, SymmetricFunctionAlgebra_generic.Element)
2 | No.2 Revision |
You should do :do:
sage: f.is_symmetric()
True
Now, the The source code of is_SymmetricFunction
is too specific to be in the global namespace, its source code is : function is:
return isinstance(x, SymmetricFunctionAlgebra_generic.Element)
see:
sage: is_SymmetricFunction??
3 | No.3 Revision |
You should do:
sage: f.is_symmetric()
True
The Indeed, the source code of is_SymmetricFunction
function is:
return isinstance(x, SymmetricFunctionAlgebra_generic.Element)
see:
sage: is_SymmetricFunction??
which means that it only tests the type of f
. But f
is just a polynomial:
sage: f.parent()
Multivariate Polynomial Ring in x1, x2, x3 over Rational Field