On 2014-12-07, Jernej <
azi.s...@gmail.com> wrote:
> ------=_Part_3308_1073346028.1417954673282
> Content-Type: multipart/alternative;
> boundary="----=_Part_3309_733817265.1417954673282"
>
> ------=_Part_3309_733817265.1417954673282
> Content-Type: text/plain; charset=UTF-8
<u,j>=-1 is a linear condition on u.
Shouldn't you only pick up u from the corresponding hyperplane?
>>
>> ====
>> global vectors
>> field = RR # this looks like the fastest option
RDF should be faster, IMHO.
You could use Cython instead of C, and numpy arrays instead of Sage
matrices (numpy arrays interface quite well with Cython).
Alas, currently plain Sage matrices are very slow.
As your matrices are quite small, alternatively you might experiment
with computing modulo p, for p a prime or order bigger than n^2.
>>
>> Best,
>>
>> Jernej
>>
>