[GiNaC-list] Can GiNaC set info_flag?

Seungyun Cho kivoloid at gmail.com
Thu May 13 04:24:14 CEST 2010


For example, I want to set a symbol r to be rational, or real, but
without specifying a value.
I know one can use info(info_flags::real) to determine if an object is real,
but I want to do the opposite.
I found a type 'realsymbol' to do this, but I want many other scopes such as
rational, prime, positive integer, pure imaginary, etc.
Is there any solution?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cebix.net/pipermail/ginac-list/attachments/20100513/e93386ae/attachment.htm>


More information about the GiNaC-list mailing list