I have a matrix:
> A[-1 0 1 0.5]
> [-0.2 0.8 1 -1]
> [0.4 0.8 1 -0.1]
> [-0.6 0.4 -1 1]
I want to extract a sub matrix from this.. so what I want the program to do is to make a matrix to preserve the signs... like so:
B[-1 +1 +1 +1]
[-1 +1 +1 -1]
[+1 +1 +1 -1]
[-1 +1 -1 +1]
and a matrix C which contains the element values
C[1 0 1 0.5]
[0.2 0.8 1 1]
[0.4 0.8 1 0.1]
[0.6 0.4 1 1]
So when B and C are multiplied together, they make up matrix A.