You are not getting this error message on these commands, right? For future 
reference, please always include a small example how to trigger a potential 
bug, otherwise we can't help you. 

It seems, though, that you're passing a 32 entry list to a function which 
expects 2*2*4 = 16 entry lists.

Cheers,
Martin

On Tuesday 17 Mar 2015 02:01:14 Joe Ouni wrote:
> thank you for your reply
> 
> I get the following error :
> a matrix from Full MatrixSpace of 4 by 1 dense matrices over Finite Field
> in a of size 2^8 cannot be converted to a matrix in Full MatrixSpace of 2
> by 2 dense matrices over Finite Field in a of size 2^8!
> 
> the following does not work too :
> 
> 1. sage: P = sr.random_element()
>     sage: K = sr.random_element()
> 
> 2. sage: P = '3243f6a8885a308d313198a2e0370734'
>     sage: K = '2b7e151628aed2a6abf7158809cf4f3c'
> 
> On Monday, March 16, 2015 at 11:59:52 PM UTC+1, Martin Albrecht wrote:
> > On Monday 16 Mar 2015 12:45:07 Joe Ouni wrote:
> > > Hello ,
> > > 
> > > The following SR (2,1,1,4) worked fine.
> > > 
> > > sage: sr = SR(2,1,1,4,star=True,aes_mode=True,
> > > gf2=True,allow_zero_inversions = True)
> > > sage: P = sr.vector([0, 0, 1, 0])
> > > 
> > > sage: K = sr.vector([1, 0, 0, 1])
> > > sage: C = sr(P,K)
> > > sage: load mpolynomialsystem.py
> > > sage: F,s = sr.polynomial_system(P,K)
> > > 
> > > but when I try the same for SR (5,2,2,8) does not work.
> > > I tried using
> > > sage: P = sr.vector([0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 0, 0,
> > 
> > 0,
> > 
> > > 1, 0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 0, 1, 1])
> > > 
> > > sage: K = sr.vector([1, 0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 1,
> > 
> > 0,
> > 
> > > 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 1, 0, 0, 0])
> > 
> > What error are you seeing?
> > 
> > > I need it for my work absolutely.
> > > Thanks in advance

-- 
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 http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to