oh, I see. Tricky one.
On Wednesday, May 25, 2016 at 5:24:48 PM UTC+2, vdelecroix wrote:
>
> On 25/05/16 10:11, Pierre wrote:
> > By that reasoning, you should expect libgap lists to start with 1, as in
> a
> > GAP console, but they start with 0 as python lists (and i think it's
> GREAT
> > :
I recently started using Sage Manifolds, and was wondering if it was
possible to define tensor expression independent of basis. For example, I
am working with some quantum field theory, and am trying to define the
following tensor
U_mu=partial_mu (psi)/(sqrt(partial_nu(psi) nabla^nu (psi))
whe
You need the Xcode command line tools
On Wednesday, May 25, 2016 at 6:09:58 PM UTC+2, paulmasson wrote:
>
> Running OS X El Capitan 10.11.15 on a year-old Macbook Pro.
>
> Logs attached.
>
--
You received this message because you are subscribed to the Google Groups
"sage-support" group.
To unsu
The Sage graph class comes equipped with a method which computes the Lovasz
theta-function. Is there also a version that works with weights on the
vertices?
Evan
--
You received this message because you are subscribed to the Google Groups
"sage-support" group.
To unsubscribe from this group a
On 25/05/16 10:11, Pierre wrote:
By that reasoning, you should expect libgap lists to start with 1, as in a
GAP console, but they start with 0 as python lists (and i think it's GREAT
: with the old pexpect interface, the lists starting with 1 used to create
a lot of trouble).
I'm pretty sure the
By that reasoning, you should expect libgap lists to start with 1, as in a
GAP console, but they start with 0 as python lists (and i think it's GREAT
: with the old pexpect interface, the lists starting with 1 used to create
a lot of trouble).
I'm pretty sure the idea was to have libgap lists b
On 05/24/2016 10:14 PM, Vincent Delecroix wrote:
>>
>> What about sqrt(2*x^16 + 10*x^11 - 9*x^10 + x^7 + x^4 - 17*x^2 - x)?
>>
>
> What is the problem with this expression? It is very easy to decide the
> sign of any polynomial expression in one variable on any given interval.
But how much comput
Hello Pierre,
You should not expect libgap lists to behave the same as Python list
since in a gap console addition is addition of vectors!
gap> [0,1] + [1,3];
[ 1, 4 ]
gap> [0,1,5] + [1,3];
[ 1, 4, 5 ]
gap> Concatenation([0,1], [0,3]);
[ 0, 1, 0, 3 ]
And in Sage
sage: l1 = libgap([0,1])
sage
PS on another example, using + on two GAP lists of length 2 and 6
respectively has produced a list of length 6, and I think it contains sums
of elements taken from the lists, somehow.
--
You received this message because you are subscribed to the Google Groups
"sage-support" group.
To unsubscr
Hi,
This is on SMC. I think the following used to work (?), but I may be wrong.
sage: G= libgap.SymmetricGroup(3)
sage: foo= G.GeneratorsOfGroup()
sage: foo + foo
...
ValueError: libGAP: Error, no method found! Error, no 1st choice method found
for `+' on 2 arguments
One may try list(foo) + l
On Wednesday, May 25, 2016 at 6:00:19 AM UTC-7, kbriggs wrote:
>
> At
> http://doc.sagemath.org/html/en/reference/power_series/sage/rings/power_series_ring.html,
>
> where is it documented how and where ZZ, QQ, CC etc. are defined? If I
> search for these, nothing shows up. The base_ring has
Thanks and sorry - yes, I realized my mistake,
K
On Wednesday, 25 May 2016 15:03:35 UTC+1, John Cremona wrote:
>
> R.gen() is z, not the square root of minus 1, so your f is 4*z^2.
>
> With I = CC.gen() you get
>
> sage: print(f.dict())
> {1: 2.00*I, 2: 2.00}
>
>
> On 2
On Wednesday, 25 May 2016 15:34:30 UTC+1, kbriggs wrote:
>
> Thanks and sorry - yes, I realized my mistake,
> K
>
> On Wednesday, 25 May 2016 15:03:35 UTC+1, John Cremona wrote:
>>
>> R.gen() is z, not the square root of minus 1, so your f is 4*z^2.
>>
>> With I = CC.gen() you get
>>
>> sage: p
R.gen() is z, not the square root of minus 1, so your f is 4*z^2.
With I = CC.gen() you get
sage: print(f.dict())
{1: 2.00*I, 2: 2.00}
On 25 May 2016 at 14:13, wrote:
> Why do I get this?
>
>
> R.=PowerSeriesRing(CC)
>
> I=R.gen()
> f=2*I*z+2*z^2
>
> print(f.dict())
>
Why do I get this?
R.=PowerSeriesRing(CC)
I=R.gen()
f=2*I*z+2*z^2
print(f.dict())
> {2: 4.00}
Thanks,
Keith
--
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, s
At
http://doc.sagemath.org/html/en/reference/power_series/sage/rings/power_series_ring.html,
where is it documented how and where ZZ, QQ, CC etc. are defined? If I search
for these, nothing shows up. The base_ring has to be a commutative ring, but
these are elsewhere in the docs called Z, Q,
16 matches
Mail list logo