On Sunday, November 5, 2017 at 2:14:16 PM UTC, Ralf Stephan wrote:
>
> Hello,
>
> The set of integers can be formally represented as
> sage: Set(ZZ)
> Set of elements of Integer Ring
>
> A bit more tricky are the reals:
> sage: Set(RealSet(-oo,oo))
> Set of elements of (-oo, +oo)
>
> How could one represent the complexes? Is it a cartesian product?
>

sure - if you are willing to sacrifice the field structure.

sage: RealSet(-oo,oo).cartesian_product(RealSet(-oo,oo))
The Cartesian product of ((-oo, +oo), (-oo, +oo))

-- 
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