Searched refs:refVec1 (Results 1 – 1 of 1) sorted by relevance
129 DenseVector refVec1 = DenseVector::Zero(rows); in sparse_vector() local130 initSparse<Scalar>(densityVec, refVec1, vec1); in sparse_vector()133 refVec1.conservativeResize(rows+incRows); in sparse_vector()134 if (incRows > 0) refVec1.tail(incRows).setZero(); in sparse_vector()136 VERIFY_IS_APPROX(vec1, refVec1); in sparse_vector()140 vec1.insert(vec1.rows()-1) = refVec1(refVec1.rows()-1) = 1; in sparse_vector()142 VERIFY_IS_APPROX(vec1, refVec1); in sparse_vector()