![]() |
mgcpp
A C++ Math Library Based on CUDA
|
#include <shape.hpp>
Public Types | |
| using | shape_type = shape< Dims > |
Public Member Functions | |
| shape () | |
| shape (std::initializer_list< size_t > list) | |
| shape (shape const &)=default | |
| shape & | operator= (shape const &)=default |
| size_t | operator[] (size_t idx) const |
| size_t & | operator[] (size_t idx) |
| bool | operator== (shape const &rhs) const |
| bool | operator!= (shape const &rhs) const |
| template<std::size_t N> | |
| size_t | get () const |
Public Attributes | |
| size_t | dims [Dims] |
| using mgcpp::shape< Dims >::shape_type = shape<Dims> |
| mgcpp::shape< Dims >::shape | ( | ) |
| mgcpp::shape< Dims >::shape | ( | std::initializer_list< size_t > | list | ) |
|
default |
| bool mgcpp::shape< Dims >::operator!= | ( | shape< Dims > const & | rhs | ) | const |
|
default |
| bool mgcpp::shape< Dims >::operator== | ( | shape< Dims > const & | rhs | ) | const |
| size_t mgcpp::shape< Dims >::operator[] | ( | size_t | idx | ) | const |
| size_t& mgcpp::shape< Dims >::operator[] | ( | size_t | idx | ) |
| size_t mgcpp::shape< Dims >::dims[Dims] |
1.8.13