SyTen

◆ is_sorted()

template<typename T >
bool syten::SpanImpl::is_sorted ( ConstSpan< T >  c)

Returns true if the span is sorted according to operator< (smallest first).

References syten::SpanImpl::ConstSpan< T >::begin(), syten::SpanImpl::ConstSpan< T >::end(), and std::is_sorted().

Referenced by syten::STensorImpl::expand().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: