NEML2 2.0.0
Loading...
Searching...
No Matches
LabeledAxis Class Reference

Public Member Functions

str __repr__ (self)
 
bool has_subaxis (self, typing.Any name)
 
bool has_variable (self, typing.Any name)
 
int nsubaxis (self)
 
int nvariable (self)
 
int size (self)
 
int size (self, typing.Any name)
 
LabeledAxis subaxis (self, typing.Any name)
 
list[str] subaxis_names (self)
 
list[VariableName|str] variable_names (self)
 

Member Function Documentation

◆ __repr__()

str __repr__ ( self)

◆ has_subaxis()

bool has_subaxis ( self,
typing.Any name )

◆ has_variable()

bool has_variable ( self,
typing.Any name )

◆ nsubaxis()

int nsubaxis ( self)

◆ nvariable()

int nvariable ( self)

◆ size() [1/2]

int size ( self)

◆ size() [2/2]

int size ( self,
typing.Any name )

◆ subaxis()

LabeledAxis subaxis ( self,
typing.Any name )

◆ subaxis_names()

list[str] subaxis_names ( self)

◆ variable_names()

list[VariableName | str] variable_names ( self)