Hi, I need a symbolic factorization of the matrix, similar to symbfact in MATLAB. I have a sparse matrix:

A = sparse([ 2 0 0 0 0 1

0 2 1 1 1 1

0 1 2 2 1 1

0 1 2 2 0 2

0 1 1 0 2 2

1 1 1 2 2 0]

Using MATLAB, I get

R = 1 0 0 0 0 1

0 1 1 1 1 1

0 0 1 1 1 1

0 0 0 1 1 1

0 0 0 0 1 1

0 0 0 0 0 1

The link below mentions symbolic factorization, but whether it is possible to obtain a matrix as a result?