// WARNING: using this constructor is discounraged because rowidx, colidx, values are not necessarily safe, its the responsibility of the caller to check their allocation space according to values.size().
//! \param rowidx : row indices with for all k < values.size(), M[rowidx[k]][colidx[k]] = values[k];
//! \param colidx : column indices with for all k < values.size(), M[rowidx[k]][colidx[k]] = values[k];
//! \param values : nonzeros of the matrix (should be nnz).
// WARNING: using this constructor is discounraged because rowidx, colidx are not necessarily safe, its the responsibility of the caller to check their allocation space according to values.size().
//! \param rowidx : row indices with for all k < values.size(), M[rowidx[k]][colidx[k]] = values[k];