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