Assume given a dense Toeplitz matrix A, then it would be nice to convert it to a |ToepMat| object by
ToepMat(A)
instead the cumbersome ToepMat(A(:,1), A(1,:)).
Even if A is not Toeplitz, the constructor could return the closest Toeplitz matrix to A in the fro norm. Note that this optimization problem is solved by taking means along the diagnoals of A.
Assume given a dense Toeplitz matrix A, then it would be nice to convert it to a |ToepMat| object by
ToepMat(A)
instead the cumbersome ToepMat(A(:,1), A(1,:)).
Even if A is not Toeplitz, the constructor could return the closest Toeplitz matrix to A in the fro norm. Note that this optimization problem is solved by taking means along the diagnoals of A.