BELFEM 0.9.0
Berkeley Lab Finite Element Framework
Loading...
Searching...
No Matches
fn_reverse.hpp File Reference

Reverses the order of a vector's entries. More...

#include "cl_Vector.hpp"
Include dependency graph for fn_reverse.hpp:

Go to the source code of this file.

Namespaces

namespace  belfem
 USER GUIDES:

Functions

template<typename T>
auto belfem::reverse (const Vector< T > &aA) -> decltype(reverse(aA.vector_data()))

Detailed Description

Reverses the order of a vector's entries.

Returns the entries in reverse order. The public wrapper takes its argument by const reference and does not reverse in place.