ARTS 2.5.4 (git: 31ce4f0e)
Shape< N > Struct Template Reference

Helper shape class. More...

#include <matpackI.h>

Public Member Functions

bool operator== (const Shape &other)
 
bool operator!= (const Shape &other)
 

Public Attributes

std::array< Index, Ndata
 

Friends

std::ostream & operator<< (std::ostream &os, const Shape &shape)
 

Detailed Description

template<size_t N>
struct Shape< N >

Helper shape class.

Definition at line 377 of file matpackI.h.

Member Function Documentation

◆ operator!=()

template<size_t N>
bool Shape< N >::operator!= ( const Shape< N > &  other)
inline

Definition at line 380 of file matpackI.h.

References Shape< N >::data.

◆ operator==()

template<size_t N>
bool Shape< N >::operator== ( const Shape< N > &  other)
inline

Definition at line 379 of file matpackI.h.

References Shape< N >::data.

Friends And Related Function Documentation

◆ operator<<

template<size_t N>
std::ostream & operator<< ( std::ostream &  os,
const Shape< N > &  shape 
)
friend

Definition at line 381 of file matpackI.h.

Member Data Documentation

◆ data

template<size_t N>
std::array<Index, N> Shape< N >::data

Definition at line 378 of file matpackI.h.

Referenced by Shape< N >::operator!=(), and Shape< N >::operator==().


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