mirror of
https://github.com/triqs/dft_tools
synced 2024-11-01 11:43:47 +01:00
47cb8a03f7
- Simplify group_indices - Only for C ordered, remove complex compile time. - Could be generalized to non C ordered, but no need. - Fix slice for custom orders. - Generalize the group_indices for the custom order. - Add c_ordered_transposed_view (useful ?) - Improve slice, special for ellipsis (quicker). - Simplify TraversalOrder - Assignement. Specialize one case for speed. - use FORCEINLINE in foreach, according to speed test for clang - add one speed test - Modify iterators for better speed. - along the lines decided for the foreach - update doc.
24 lines
670 B
ReStructuredText
24 lines
670 B
ReStructuredText
.. highlight:: c
|
|
|
|
.. _arr_stream:
|
|
|
|
operator <<
|
|
==================================
|
|
|
|
**Synopsis**::
|
|
|
|
template <typename ValueType, int Rank, typename TraversalOrder=void>
|
|
std::ostream & operator << (std::ostream & out, array_view<ValueType,Rank,TraversalOrder> const &);
|
|
|
|
template <typename ValueType, typename TraversalOrder=void>
|
|
std::ostream & operator << (std::ostream & out, matrix_view<ValueType,TraversalOrder> const &);
|
|
|
|
template <typename ValueType>
|
|
std::ostream & operator << (std::ostream & out, vector_view<ValueType> const &);
|
|
|
|
Prints the view (or the container since the view is trivially build from the container)
|
|
to the stream out.
|
|
|
|
|
|
|