On May 2, 2009, at 12:08 PM, curious wrote:
>
> This problem is just that the folder sage in the dmg cannot be copied.
> However,
> the contents of the folder _can_ be copied, so the solution is to
> create a folder
> somewhere on the machine hard disk (or an external disk) and copy the
> conten
D'oh!
On Mar 9, 2009, at 7:30 PM, Mike Hansen wrote:
>
> On Mon, Mar 9, 2009 at 7:24 PM, Justin Walker wrote:
>> FWIW, the problem shows in Sage 3.3 (the -1 and -2 entries are
>> interchanged; the rest show in the same order).
>
> There is no guarantee on the o
On Mar 9, 2009, at 6:42 PM, Mike Hansen wrote:
>
> On Mon, Mar 9, 2009 at 6:37 PM, Alex Lara wrote:
>> Some idea of how to fix this?
>
> I don't have a copy of Sage 3.1.1 handy right now since it is so old.
> In Sage 3.4.rc0, I run your code and get H and G to be the same.
FWIW, the problem sh
On Dec 30, 2008, at 8:28 PM, H.S.Rai wrote:
>
> I am trying to print symbol and their description in LaTeX. On sage
> console things appear to work fine, but whan processed through
> sagetex, it reports error.
>
>
> ! Undef
On Dec 29, 2008, at 5:23 PM, John Cremona wrote:
>
> Maybe I missed the point here but after
The point was a minor one...
> R.=QQ[]
> M=matrix(R,1,2,[x1+x2,x1*x2])
>
> you can get at the entries like this:
> sage: M[0,0]
> x1 + x2
> sage: M[0,1]
> x1*x2
For the OP, it was surprising that "lis
On Dec 29, 2008, at 4:53 PM, Robert Bradshaw wrote:
>
> On Dec 29, 2008, at 1:38 PM, Justin Walker wrote:
>
>> On Dec 29, 2008, at 3:32 PM, Santanu Sarkar wrote:
>>
>>> I write a program in SAGE as follows:
>>> R.=QQ[]
>>> M=matrix(R,1,2,[x1+x2
On Dec 29, 2008, at 3:32 PM, Santanu Sarkar wrote:
> I write a program in SAGE as follows:
> R.=QQ[]
> M=matrix(R,1,2,[x1+x2,x1*x2])
> may i do following steps to extract polynomials from matrix?
> 1) x = list(M)
> 2) f1 = x[0]
> 3) f2 = x[1]
> is f1 & f2 are polynomials?
> if not how i can get
On Dec 27, 2008, at 12:11 PM, David Perkinson wrote:
>
> Here is a typical error when I try to run a combinatorial function:
>
> sage: combinations([1,2],3)
>
> File "", line 1
> [ ]gap>
> ^
> SyntaxError: invalid syntax
On Mar 27, 2008, at 12:58 PM, Chris Godsil wrote:
>
> I want to extract the "real part" of a quaternion, i.e., if
>
> L. = QuaternionAlgebra(QQ,-1,-1);
>
> and a is in L, then I want the coefficient of 1 in the expansion of as
> a linear combination of 1, i, j and k.
>
> Is there a way to do thi
On Monday, August 27, 2007, at 06:37PM, "William Stein" <[EMAIL PROTECTED]>
wrote:
>On 8/27/07, Justin Walker <[EMAIL PROTECTED]> wrote:
>> Hi, all,
>>
>> I do this, and get integers, but the types are rational:
>>
>> sage: b1=0
>>
Hi, all,
I want to create a "function" within a function, and return it as the value of
the latter function, something along the lines of:
def g(a,b,c):
var('x y')
f = a*x^2 + b*y + c
return f
This works, almost. I have to invoke the return value as a function returning
a functio
Hi, all,
I do this, and get integers, but the types are rational:
sage: b1=0
sage: b2=2
sage: s=(b1+b2)/2
sage: n=(b1-b2)/2
sage: s
1
sage: n
-1
Then I do this:
sage: xgcd(s,n)
---
Traceback (most recent call last)
12 matches
Mail list logo