On Saturday, July 9, 2016 at 2:12:35 AM UTC-7, Jennifer O'Brien wrote:
>
> Using the code below, I am unsure why I cannot form the identity map (or 
> others such as constant maps) via dictionary. I have done the same process 
> for finite simplicial complexes, so maybe this isn't implemented for 
> posets? Thanks for any help.
>
>
> The input:
>
>
> X=Poset({1:[],2:[1]})
> Hom(X,X)({1:1,2:2})
>
>
> There's a generic solution:

sage: D={1:1,2:2}
sage: Hom(X,X)(lambda x: D[x])
Generic endomorphism of Finite poset containing 2 elements

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to