#10670: Mobius matrices of posets are integer matrices
-----------------------------+----------------------------------------------
Reporter: chapoton | Owner: sage-combinat
Type: defect | Status: new
Priority: minor | Milestone:
Component: combinatorics | Keywords: poset, matrix
Work_issues: | Upstream: N/A
Reviewer: | Author:
Merged: | Dependencies:
-----------------------------+----------------------------------------------
Description changed by chapoton:
Old description:
> I have noticed the following problem.
> {{{
> P=Posets.PentagonPoset()
> P.mobius_function_matrix().parent()
> Full MatrixSpace of 5 by 5 sparse matrices over Rational Field
> }}}
> The Mobius function of a poset should really be an '''integer matrix'''.
New description:
I have noticed the following problem.
{{{
P=Posets.PentagonPoset()
P.mobius_function_matrix().parent()
Full MatrixSpace of 5 by 5 sparse matrices over Rational Field
}}}
The Mobius function of a poset should really be an '''integer matrix'''.
This can be achieved by using change_ring :
{{{
P.mobius_function_matrix().change_ring(ZZ).parent()
Full MatrixSpace of 5 by 5 sparse matrices over Integer Ring
}}}
--
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10670#comment:2>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.