MCPcopy Create free account
hub / github.com/PX4/eigen / setFromTriplets

Method setFromTriplets

Eigen/src/SparseCore/SparseMatrix.h:993–996  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

991template<typename Scalar, int _Options, typename _StorageIndex>
992template<typename InputIterators>
993void SparseMatrix<Scalar,_Options,_StorageIndex>::setFromTriplets(const InputIterators& begin, const InputIterators& end)
994{
995 internal::set_from_triplets<InputIterators, SparseMatrix<Scalar,_Options,_StorageIndex> >(begin, end, *this, internal::scalar_sum_op<Scalar,Scalar>());
996}
997
998/** The same as setFromTriplets but when duplicates are met the functor \a dup_func is applied:
999 * \code

Callers 3

sparse_basicFunction · 0.45
big_sparse_tripletFunction · 0.45
mainFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected