ModularSolution not working?

Open discussion for MAGMA

ModularSolution not working?

Postby maike » Fri Sep 07, 2012 11:23 am

Hello,

I'm trying to use ModularSolution, which is supposed to compute a (with high probability nonzero) vector in the kernel of a matrix. However, on all examples I've tried, it actually gives me the zero vector. The most trivial example is

Code: Select all
> spm := SparseMatrix(Integers(),4,3);
> SetEntry(~spm,1,1,1);
> SetEntry(~spm,2,2,1);
> SetEntry(~spm,3,3,1);
> Matrix(spm);
[1 0 0]
[0 1 0]
[0 0 1]
[0 0 0]
> ModularSolution(Transpose(spm),2);
(0 0 0 0)
> ModularSolution(Transpose(spm),2);
(0 0 0 0)
> ModularSolution(Transpose(spm),2);
(0 0 0 0)
> ModularSolution(Transpose(spm),2);
(0 0 0 0)
> ModularSolution(Transpose(spm),2);
(0 0 0 0)
> ModularSolution(Transpose(spm),2);
(0 0 0 0)


Why isn't this giving me something like (0 0 0 1)?

Thanks to anyone who can help!
maike
 
Posts: 2
Joined: Fri Sep 07, 2012 11:13 am

Re: ModularSolution not working?

Postby mgates3 » Fri Sep 07, 2012 3:45 pm

What package are you using? These are not calls from the MAGMA library that ICL publishes.
-mark
mgates3
 
Posts: 428
Joined: Fri Jan 06, 2012 2:13 pm

Re: ModularSolution not working?

Postby jeremiahpalmer » Fri Sep 07, 2012 5:23 pm

This question is probably for the "other" magma software: http://magma.maths.usyd.edu.au/magma/
jeremiahpalmer
 
Posts: 58
Joined: Fri Jan 28, 2011 12:46 pm

Re: ModularSolution not working?

Postby maike » Sat Sep 08, 2012 5:08 am

Yes I'm sorry. I guess I did end up in the wrong forum.
maike
 
Posts: 2
Joined: Fri Sep 07, 2012 11:13 am


Return to User discussion

Who is online

Users browsing this forum: Google [Bot], Yahoo [Bot] and 1 guest

cron