#include <Subscript.h>
|
| Subscript (std::initializer_list< std::shared_ptr< Node > > indices) |
|
uint32_t | rank (void) const |
|
const std::shared_ptr< expr::Node > & | at (uint32_t n) const |
|
Definition at line 32 of file Subscript.h.
◆ Subscript()
nest::expr::Subscript::Subscript |
( |
std::initializer_list< std::shared_ptr< Node > > |
indices | ) |
|
|
inline |
Definition at line 35 of file Subscript.h.
35 : _indices{indices}
36 {
37
38 }
◆ at()
const std::shared_ptr< expr::Node > & nest::expr::Subscript::at |
( |
uint32_t |
n | ) |
const |
|
inline |
Definition at line 44 of file Subscript.h.
44{ return _indices.at(n); }
◆ rank()
uint32_t nest::expr::Subscript::rank |
( |
void |
| ) |
const |
|
inline |
Definition at line 41 of file Subscript.h.
41{ return _indices.size(); }
The documentation for this class was generated from the following file: