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

Method setFromTriplets

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

Source from the content-addressed store, hash-verified

1360template<typename Scalar, int Options_, typename StorageIndex_>
1361template<typename InputIterators>
1362void SparseMatrix<Scalar,Options_,StorageIndex_>::setFromTriplets(const InputIterators& begin, const InputIterators& end)
1363{
1364 internal::set_from_triplets<InputIterators, SparseMatrix<Scalar,Options_,StorageIndex_> >(begin, end, *this, internal::scalar_sum_op<Scalar,Scalar>());
1365}
1366
1367/** The same as setFromTriplets but when duplicates are met the functor \a dup_func is applied:
1368 * \code

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected