#include <Indices.hh>
|
void | collect_index_values (Ex::iterator ind_values) |
| Given the right-hand side of a 'values={...}' node, generate a list of all index values in index_values.
|
◆ position_t
Enumerator |
---|
free | |
fixed | |
independent | |
◆ Indices()
◆ collect_index_values()
void Indices::collect_index_values |
( |
Ex::iterator | ind_values | ) |
|
|
private |
Given the right-hand side of a 'values={...}' node, generate a list of all index values in index_values.
◆ equals()
◆ latex()
void Indices::latex |
( |
std::ostream & | str | ) |
const |
|
overridevirtual |
Display the property on the stream.
Generate a LaTeX representation of the property, assuming LaTeX is in text mode (so it needs dollar symbols to switch to maths).
Reimplemented from cadabra::property.
◆ name()
std::string Indices::name |
( |
| ) |
const |
|
overridevirtual |
◆ parse()
bool Indices::parse |
( |
Kernel & | kernel, |
|
|
std::shared_ptr< Ex > | ex, |
|
|
keyval_t & | keyvals ) |
|
overridevirtual |
◆ unnamed_argument()
virtual std::string cadabra::Indices::unnamed_argument |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ validate()
void Indices::validate |
( |
const Kernel & | k, |
|
|
const Ex & | ex ) const |
|
overridevirtual |
◆ values()
const std::vector< Ex > & Indices::values |
( |
const Properties & | properties, |
|
|
Ex::iterator | sib ) const |
List of possible values that indices of this type can take.
This gets collected from the values parameter, or determined from any Integer property. This can be empty if the values are not (yet) known so the caller needs to check that explicitly.
◆ parent_name
std::string cadabra::Indices::parent_name |
◆ position_type
◆ set_name
std::string cadabra::Indices::set_name |
◆ values_
std::vector<Ex> cadabra::Indices::values_ |
|
mutableprivate |
The documentation for this class was generated from the following files: