Kevin Acres on Thu, 24 Dec 2009 11:15:24 +0100


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

How to implement equivalent of magma NullSpace in Pari/GP


Hi,

I'm trying to implement an equivalent of the Magma NullSpace() function.

For example I'd like:

[0 0 0 1 0 0 1 0]
[1 0 1 0 0 0 1 0]
[1 1 0 0 0 0 0 1]
[0 1 1 0 0 0 0 1]
[0 1 1 0 0 0 0 0]
[0 0 1 0 0 1 0 0]

to return

[0 1 0 0 0 0 0 0 1]
[0 0 1 0 0 1 1 0 0]

I'm sure that it must be pretty trivial. It's just that I haven't worked out how as yet.

Any pointers in the right direction would be greatly appreciated.


Kevin.