Sparse vectorΒΆ

The SpVec class for sparse vectors. It is an alias for Eigen::SparseVector<double, Eigen::RowMajor>. Its purpose is to provide convenient mechanisms for performing basic sparse vector operations. All of the member functions implemented in Eigen::SparseVector<double, Eigen::RowMajor> can be directly used by SpVec.