Re: [sage-support] Period of a sequence

2018-12-17 Thread pc . chandra12

Thank you. However if S=[1,2,3,1,2,3,1,2,3,1,2], it is showing 11 although 
period is 3. 


On Monday, December 10, 2018 at 1:26:50 PM UTC+5:30, vdelecroix wrote:
>
> You can use 
>
> sage: w = Word(S) 
> sage: w.primitive_length() 
> [3] 
> sage: w.primitive() 
> word: 123 
>
> Le 09/12/2018 à 11:57, chandra chowdhury a écrit : 
> > I have a sequence which I stored in an array. 
> > I want to find the period of the sequence. 
> > But the following code gives error. 
> > 
> > S=[1,2,3,1,2,3] 
> > S=Sequence(S) 
> > print S.period() 
> > 
>

-- 
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, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] Parallel computation in Sage

2018-07-16 Thread pc . chandra12
Values are integers. 

On Monday, July 16, 2018 at 5:30:44 PM UTC+5:30, jori.ma...@uta.fi wrote:
>
> On Mon, 16 Jul 2018, chandra chowdhury wrote: 
>
> > I want to calculate the determinant of a large matrix 
> > with large entries. So it is taking time. In my machine, 
> > I have 32 CPUs. Is it possible in Sage to use all CPUs 
> > parallelly to find the determinant? 
>
> Are values real number or complex numbers, finite field elements...? 
> Symbolics? 
>
> -- 
> Jori Mäntysalo

-- 
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, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.