MCPcopy Create free account
hub / github.com/SS47816/fiss_planner / swap

Function swap

include/fiss_planner/Eigen/src/SparseCore/SparseVector.h:236–240  ·  view source on GitHub ↗

Swaps the values of \c *this and \a other. * Overloaded for performance: this version performs a \em shallow swap by swaping pointers and attributes only. * \sa SparseMatrixBase::swap() */

Source from the content-addressed store, hash-verified

234 * \sa SparseMatrixBase::swap()
235 */
236 inline void swap(SparseVector& other)
237 {
238 std::swap(m_size, other.m_size);
239 m_data.swap(other.m_data);
240 }
241
242 inline SparseVector& operator=(const SparseVector& other)
243 {

Callers 8

permute_symm_to_fullsymmFunction · 0.70
permute_symm_to_symmFunction · 0.70
SparseVector.hFile · 0.70
swapMethod · 0.70
pivotLMethod · 0.50
pruneLMethod · 0.50
factorizeMethod · 0.50
JacobiSVD.hFile · 0.50

Calls 1

swapMethod · 0.45

Tested by

no test coverage detected