I typed the example code from the "arpackpp.doc", and got a run time error like this:
here is my code:
and the matrix is
well, I answer my question... element of irow, which is pointer to an array of row indices of the nonzero elements contained in nzval, should start from 0 not 1.