-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
OK and thank you.
Now I would like to deal with bitwise operations with symbolic
expressions :
sage: z = var('z')
sage: e = ((3*z^3 | 2*z^2) ^^ 5*z) + 2
-
---------------------------------------------------------------------------
TypeError Traceback (most recent call
last)
<ipython-input-2-d41626504269> in <module>()
- ----> 1 e = ((Integer(3)*z**Integer(3) | Integer(2)*z**Integer(2)) ^
Integer(5)*z) + Integer(2)
TypeError: unsupported operand type(s) for |:
'sage.symbolic.expression.Expression' and
'sage.symbolic.expression.Expression'
and that was my question actually : is there something already done to
do it ? Or is it something interesting to investigate ?
- --
G.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (GNU/Linux)
iF4EAREIAAYFAlUtDZkACgkQ3evBxNNLf8isDwD/ZlqNGZaxwhIVS45LkvT7ZQSI
4giLftswOvQkPvMRPsYA+wU5tq0X31LDVTiMmOj5ecrF6y1qwleU8n7Rlj7dkQZm
=Fz0H
-----END PGP SIGNATURE-----