Hi, Vincent,
Yes, my matrix is sparse. I just move here from matlab, so I am a
newbie for sage and python.
The function you have offered can do the job. But I am worried about its
efficiency, because my sparse matrix
maybe very large which comes from Finite Element method.
So about the eff
Hi Huayi,
On 20/05/15 08:20, Huayi Wei wrote:
I have a sage matrix, and I want to get its left-lower and right-upper
triangular parts. Does there exist any method to get them directly?
In matlab, there are two functions `triu` and `tril` to do such things.
Does sage have the similar functions?
Hi, everyone,
I have a sage matrix, and I want to get its left-lower and right-upper
triangular parts. Does there exist any method to get them directly?
In matlab, there are two functions `triu` and `tril` to do such things.
Does sage have the similar functions?
Best
Huayi
--
You receiv
Hi,
Just to complete: dict.fromkeys is an optimized routine to create a
dictionary with given keys and a default value. By default, the value is
None
sage: dict.fromkeys([0,1,2,3,4,5])
{0: None, 1: None, 2: None, 3: None, 4: None, 5: None}
This is faster than anything else to create a dictio
Hi, Dan, Thanks very much! It works very well. -- Huayi
On 2015年05月20日 09:39, Dan Drake wrote:
On Wed, 20 May 2015 at 06:27AM +0800, Huayi Wei wrote:
Hi, everyone,
I want to create a sparse matrix, so I need to create a dict first.
I try to use `dict.fromkeys()` to do it, which like following:
On Wed, 20 May 2015 at 06:27AM +0800, Huayi Wei wrote:
> Hi, everyone,
>
> I want to create a sparse matrix, so I need to create a dict first.
> I try to use `dict.fromkeys()` to do it, which like following:
>
> ```
> sage: keys = [(0,1),(1,2)] # the length of keys maybe very long
> sage: values
Hi, everyone,
I want to create a sparse matrix, so I need to create a dict first. I
try to use `dict.fromkeys()` to do it, which like following:
```
sage: keys = [(0,1),(1,2)] # the length of keys maybe very long
sage: values = [0,1] # values have the same length as keys
sage: d = dict.fromkey
I've just checked ask.sagemath.org and this is already implemented in
Sage 6.6 and above. Just simply by calling sage with IPython (either by
'sage -n ipython' or by 'sage -ipython notebook') you can choose in the
New popup window the option Sage
This is such a nice feature
Thanks a lot!
That worked with sage -i database_gap-4.7.7, whereas previous attemps had
failed wit sage -i database_gap. I don't understand...
Thank you !
--
Emmanuel Charpentier
Le mardi 19 mai 2015 17:06:10 UTC+2, John H Palmieri a écrit :
>
>
>
> On Tuesday, May 19, 2015 at 2:14:59 AM UTC-7, Emmanuel Charp
On Tuesday, May 19, 2015 at 2:14:59 AM UTC-7, Emmanuel Charpentier wrote:
>
> Something is definitely out of joint in packages management.
>
> Thanks to the current migration of sagemath.org, I rebuilt from scratch
> (= from the tarball) sage 6.7 on a slow machine. The resultant system :
> charp
Well, the only trick I found until now was this:
http://ask.sagemath.org/question/10988/in-line-graphics-for-sage-in-ipython-notebook/
On 19/05/15 14:54, Volker Braun wrote:
Does work now! Try "sage --notebook=ipython"
On Tuesday, May 19, 2015 at 1:01:28 PM UTC+2, Jose Guzman wrote:
H
Right, thanks.
Best,
evrim.
2015-05-19 4:34 GMT+03:00 Brian Sherson :
> I believe what you are looking for is “implicit_plot”
>
> ~Brian
>
> On 05/18/2015 03:15 PM, Evrim Ulu wrote:
>
> Hello,
>
> Is there a way to plot non-parametric curve of 2-variables f(x,y)=0?
>
> I've seen the document
Does work now! Try "sage --notebook=ipython"
On Tuesday, May 19, 2015 at 1:01:28 PM UTC+2, Jose Guzman wrote:
>
> Hi everybody,
>
> After a long time out, I'm coming back to use Sage. Is there development
> about the inline plotting of Sage in Ipython notebook?
> Is it possible now?
>
> Last
On 19 May 2015 at 10:48, Simon King wrote:
> Hi John,
>
> On 2015-05-19, John Cremona wrote:
>> -- assuming that the generators have the same minimal polynomial of
>> course! what about the general case?
>
> We are talking here about default conversion. I guess
> K1.hom([K2.gen()]) (mapping gene
Hi everybody,
After a long time out, I'm coming back to use Sage. Is there development
about the inline plotting of Sage in Ipython notebook?
Is it possible now?
Last post I found is here:
https://groups.google.com/forum/#!topic/sage-support/9pUhO8wO4nE
Thanks
Jose
--
Jose Guzman
http://w
Hi John,
On 2015-05-19, John Cremona wrote:
> -- assuming that the generators have the same minimal polynomial of
> course! what about the general case?
We are talking here about default conversion. I guess
K1.hom([K2.gen()]) (mapping generator to generator) is the only
reasonable default. And
On 19 May 2015 at 10:17, Simon King wrote:
> Hi Nils,
>
> On 2015-05-18, Nils Bruin wrote:
>> On Monday, May 18, 2015 at 2:43:46 AM UTC-7, Simon King wrote:
>>
>>> - There are ways to make the conversion automatic, but I would recommend
>>> against it (perhaps it is safer to use K2.register_con
One more datapoint : I still can install an "old-style" .spkg :
charpent@SAP5057241:/usr/local/sage-6.7$ ./sage -i ~/Téléchargements/
sage_mode-0.14.spkg
sage_mode-0.14
Extracting package /home/charpent/Téléchargements/sage_mode-0.14.spkg
-rw-r
Hi Nils,
On 2015-05-18, Nils Bruin wrote:
> On Monday, May 18, 2015 at 2:43:46 AM UTC-7, Simon King wrote:
>
>> - There are ways to make the conversion automatic, but I would recommend
>> against it (perhaps it is safer to use K2.register_conversion instead
>> of K2.register_coercion?)
>>
Something is definitely out of joint in packages management.
Thanks to the current migration of sagemath.org, I rebuilt from scratch (=
from the tarball) sage 6.7 on a slow machine. The resultant system :
charpent@SAP5057241:/usr/local/sage-6.7$ sage --version
SageMath Version 6.7, Release Date:
20 matches
Mail list logo