MCPcopy Create free account
hub / github.com/TinyMPC/TinyMPC / insertFromTriplets

Method insertFromTriplets

include/Eigen/Eigen/src/SparseCore/SparseMatrix.h:1452–1455  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1450template<typename Scalar, int Options_, typename StorageIndex_>
1451template<typename InputIterators>
1452void SparseMatrix<Scalar, Options_, StorageIndex_>::insertFromTriplets(const InputIterators& begin, const InputIterators& end)
1453{
1454 internal::insert_from_triplets<InputIterators, SparseMatrix<Scalar, Options_, StorageIndex_> >(begin, end, *this, internal::scalar_sum_op<Scalar, Scalar>());
1455}
1456
1457/** The same as insertFromTriplets but when duplicates are met the functor \a dup_func is applied:
1458 * \code

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected