solven(A,B)
Solves for the general solution of the system of equations A*X=B taking into account free variables. If the null space is not null, you may add linear combinations of the nullspace to the computed solution.
Example
a = ( 1, 2, 3, 4 ; -1, 2, 3, 7 )
1 2 3 4
-1 2 3 7
b = ( 3 ; -2 )
3
-2
x = solven( a, b )
5/2
1/4
0
0
a * x
3
-2
n = nullspace( a )
0 3/2
-3/2 -11/4
1 0
0 1
x2 = x + column( n, 1 )*2
5/2
-11/4
2
0
a * x2
3
-2