Hi Florent,
I usually define
def prod_m(x,y):
z=x*y
z.set_immutable()
return z
and then pass this new product to the monoid/semigroup I am using!
Best,
Anne
--
You received this message because you are subscribed to the Google Groups
"sage-devel" group.
To unsubs
Thanks for the advice. I read in this group about previous attempts
(including yours) building on ARM Android devices, which encouraged me to
try it on Sailfish. At the moment my build is still chugging away, although
it got killed earlier and I had to set it off again (but it seems to be
makin
Hi Vincent,
> Having immutability by default would be particuarly annoying in the
> following case
>
> sage: a = identity_matrix(ZZ, 3)
> sage: b = a + a # immutable
> sage: b[0,1] = 2 # niet
Not that much
sage: a = identity_matrix(ZZ, 3)
sage: b = copy(a + a)
sage: b[0,1] = 2 # da
F
True. I was thinking about
sage: M = MatrixSpace(ZZ,3)
sage: a = M.one()
sage: a.is_mutable()
False
On 17/02/16 13:16, Nathann Cohen wrote:
Having immutability by default would be particuarly annoying in the
following case
sage: a = identity_matrix(ZZ, 3)
sage: b = a + a # immutable
sage: b
> Having immutability by default would be particuarly annoying in the
> following case
>
> sage: a = identity_matrix(ZZ, 3)
> sage: b = a + a # immutable
> sage: b[0,1] = 2 # niet
Why would identity_matrix return an immutable matrix ? Or did I miss
something ? All that we need is that the sum/p
Hi Florent,
No. And this is indeed a problem. The only current workaround is to
replace the product with
p = a * b
p.set_immutable()
Note that this is more flexible than having some immutability by default
for the product. Though, as in your example it is a barrier for being
used in any gen
As a workaround you could use the @fork (or even @parallel) decorators.
William
On Wed, Feb 17, 2016 at 5:51 AM, Jean-Pierre Flori wrote:
> I must admit I'm getting the same issue and am investigating this when I
> have spare time.
> It might be an internal PARI issue eating up all its variables
Hi there,
Is there a way to convince sage that the product of two mutable matrices are
immutable ?
I need to consider matrix over a finite ring as a monoid and to take the
monoid algebra (like a group algebra) of it. It works when defined but I can't
compute any product in It because group
Sir,
Thanks a lot.
Now i'm reading it for understanding.
Also i'm reading about betti numbers and other related stuffes :-).
Look like this is very interesting.
:-)
On Wed, Feb 17, 2016 at 6:00 PM, mmarco wrote:
> You can get the code of sage here:
>
> https://github.com/sagemath/sage
>
> Th
I must admit I'm getting the same issue and am investigating this when I
have spare time.
It might be an internal PARI issue eating up all its variables slots when
initializing finite fields.
--
You received this message because you are subscribed to the Google Groups
"sage-devel" group.
To un
On 17 February 2016 at 12:54, lorenzo Cancañon wrote:
> Hi,
>
> Am using Sage 6.9 and i have problems in Elliptic Curves, wen i check the
> cardinality of differents Elliptics Curves for long time, 3 hours the
> program send me and error:
>
> File
> "/home/l/sage-6.9-x86_64-Linux/local/lib/python2
Hi,
Am using Sage 6.9 and i have problems in Elliptic Curves, wen i check the
cardinality of differents Elliptics Curves for long time, 3 hours the
program send me and error:
File
"/home/l/sage-6.9-x86_64-Linux/local/lib/python2.7/site-packages/sage/schemes/elliptic_curves/ell_finite_field.py"
Long ago i succeded at compiling sage in an arm tablet. It took around two
weeks (the power button got damaged, but I don't know if was related to the
heating of the device during the compiling or if it was an independent
problem).
Cross compiling has the problem that some elements of Sage per
You can get the code of sage here:
https://github.com/sagemath/sage
The relevant code for hyperplane arrangements is in the directory
src/sage/geometry/hyperplane_arrangement/
El miércoles, 17 de febrero de 2016, 2:10:08 (UTC+1), Jayamine A. escribió:
>
> Hi,
>
> thanks a lot
>
> I'll look int
Hello,
I'm new to Sage, but interested to build it for Sailfish OS, an ARM Linux
phone built atop Mer (see for example http://www.merproject.org/ and
https://sailfishos.org/ ). I'm doing it out of intrigue, so not necessarily
expecting a practical result.
Cross-compiling using Scatchbox2 (x86
15 matches
Mail list logo