Updating my XCode package, so gcc is now 4.0.1 build 5370, fixed the
problem. Thanks. sage-2.10.3.rc2 seems to have compiled OK. I had
compiled OK with R in sage before, so presumably that got upgraded at
some point - ?
M. Hampton
On Feb 27, 7:02 am, mhampton <[EMAIL PROTECTED]> wrote:
> OK,
On Mar 10, 12:06 am, Francois <[EMAIL PROTECTED]> wrote:
> Since they are still in that rc I should mention a couple of typos
> that
> I spotted in two spkg.
Hi Francois,
> In linbox in the spkg-install file on line 41 we have an interesting
> reference to ${SAGE_LCOAL}.
This is now #2458 and
Note that the function that is called by "^" is __xor__. So you can already
do a.__xor__(b). If you want to write the function that David describes,
calling a.__xor__(b) is better than using eval.
David
On Mon, Mar 10, 2008 at 6:34 AM, David Joyner <[EMAIL PROTECTED]> wrote:
>
> Another solutio
Hi!
You might want to look for the zeroesIn method to the
new section "Reinterpretation of Boolean sets as subsets of the vector
space"
in the PolyBoRi tutorial.
http://polybori.sourceforge.net/doc/tutorial/index.html
Best regards,
Michael
On 7 Mrz., 10:14, Chris Gorecki <[EMAIL PROTECTED]> wrote
Another solution (avoiding the preparer) is to simply define
sage: def xor(a,b): return eval("%s^%s"%(a,b))
:
sage: xor(1,0)
1
sage: xor(1,1)
0
which mimics the native Python behavior:
Python 2.5.1 (r251:54863, Oct 5 2007, 13:50:07)
[GCC 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2
On Mon, Mar 10, 2008 at 6:30 AM, vgermrk <[EMAIL PROTECTED]> wrote:
>
> Since the preparser replaces "^" with "**" (which is good!),
> i want a way to access the python-buildin-XOR again.
>
> I suggested in IRC that the preparser should also replace "xor" with
> "^",
> so that one can do "5 xor
Cool!
On Sun, Mar 9, 2008 at 9:48 PM, Hector Villafuerte <[EMAIL PROTECTED]> wrote:
>
> Hi,
> in a moment of procrastination I came up with this:
> https://www.sagenb.org/home/pub/1728/
>
> Hopefully somebody can put this banality to good use within SAGE :)
> Best,
> --
> Hector
>
> >
>
Since the preparser replaces "^" with "**" (which is good!),
i want a way to access the python-buildin-XOR again.
I suggested in IRC that the preparser should also replace "xor" with
"^",
so that one can do "5 xor 3".
But since i did not convince everybody (on IRC), let's discuss here
about it
On 3/10/08, William Stein <[EMAIL PROTECTED]> wrote:
>
> On Sun, Mar 9, 2008 at 3:05 PM, Philippe Saade <[EMAIL PROTECTED]> wrote:
>
>
> First he would guess that "vector" might be the command to
> create a vector, and type vector? into Sage, which would
> yield about 20 examples and extensive