arr3_view< t_scalar, brr3 > Class Template Reference

#include <mat_vec_types.h>

Public Member Functions

 arr3_view (brr3(&arr))
 
 arr3_view (t_scalar *data, std::size_t size)
 
t_scalar * begin ()
 
t_scalar * end ()
 
t_scalar & operator[] (std::size_t i)
 

Private Attributes

t_scalar * data
 

Detailed Description

template<class t_scalar, class brr3>
class arr3_view< t_scalar, brr3 >

arr3_view has the spirit of "span" or "array_view" allowing us to have long arrays and use the arr3 functions in mat_vec_fns_II

Constructor & Destructor Documentation

◆ arr3_view() [1/2]

template<class t_scalar, class brr3>
arr3_view< t_scalar, brr3 >::arr3_view ( brr3 &  arr)
inline

◆ arr3_view() [2/2]

template<class t_scalar, class brr3>
arr3_view< t_scalar, brr3 >::arr3_view ( t_scalar *  data,
std::size_t  size 
)
inline

Member Function Documentation

◆ begin()

template<class t_scalar, class brr3>
t_scalar* arr3_view< t_scalar, brr3 >::begin ( )
inline

◆ end()

template<class t_scalar, class brr3>
t_scalar* arr3_view< t_scalar, brr3 >::end ( )
inline

◆ operator[]()

template<class t_scalar, class brr3>
t_scalar& arr3_view< t_scalar, brr3 >::operator[] ( std::size_t  i)
inline

Field Documentation

◆ data

template<class t_scalar, class brr3>
t_scalar* arr3_view< t_scalar, brr3 >::data
private

The documentation for this class was generated from the following file: