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

Method setFromSortedTriplets

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

Source from the content-addressed store, hash-verified

1390template<typename Scalar, int Options_, typename StorageIndex_>
1391template<typename InputIterators>
1392void SparseMatrix<Scalar, Options_, StorageIndex_>::setFromSortedTriplets(const InputIterators& begin, const InputIterators& end)
1393{
1394 internal::set_from_triplets_sorted<InputIterators, SparseMatrix<Scalar, Options_, StorageIndex_> >(begin, end, *this, internal::scalar_sum_op<Scalar, Scalar>());
1395}
1396
1397/** The same as setFromSortedTriplets but when duplicates are met the functor \a dup_func is applied:
1398 * \code

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected