% PCC_convert examples

% 1D space + 3D proper cone in 4D
A = [ 1, 1, 5;
      2, 1, 2;
      3, 2, 3;
      4, 1, 2 ];

% 2D fan in 3D space
%A = [ 1, -1,  0,  0;
%      2, -2,  1, -1;
%      0,  0,  2,  2 ];

% single half line in 3D space
%A = [ 1, 1, -1,  0;
%      0, 3, -2,  0;
%      0, 0,  0, -1 ];

% 1D space along z-axis
%A = [ 1,  1,  -1;
%      0,  5,  -3;
%      0,  0,   0 ];

% 1D space + 1D half line
%A = [ 0,  0,  0;
%      2, -2, -1;
%      1, -1,  0 ];

% empty
%A = [ 2, 1, 0, -1; 
%      0, 2, 1, -1;
%      1, 0, 2, -1 ];

A
[ U, E, V ] = PCC_convert(A);
U
E
V
A'*U
