gana.sets.theta#
Functions
|
Display a Python object in all frontends. |
|
Make input into a parameter set (P) |
|
Calculate the product of all the elements in the input iterable. |
|
Issue a warning, or maybe ignore it or raise an exception. |
Classes
|
Type of function |
|
Provides relational operations between parameter, variable, parametric variable, or function sets (F). |
|
Set of index elements (X). |
|
|
|
Ordered set of parametric variables (theta). |
|
Ordered set of variables (Var). |
|
Cartesian product of input iterables. |
- class T(*index: I, _: list[tuple[float]] | tuple[float] | None = None, tag: str | None = None, mutable: bool = False, ltx: str | None = None, name: str = '')[source]#
Bases:
_EOrdered set of parametric variables (theta).
- Parameters:
index (I) – Index for the theta set.
_ (list[tuple[float]] | tuple[float]) – Values for the theta set.
mutable (bool, optional) – If True, the theta set can be modified. Defaults to False.
tag (str, optional) – Tag for the theta set. Defaults to None.
- Variables:
index (I) – Index of the parametric variable set
_ (list[int | float]) – List of parametric variables
mutable (bool) – If the parametric variable set is mutable
tag (str) – Tag/details
name (str) – Name, set by the program
n (int) – Number id, set by the program
map (dict[X | Idx, Var]) – Index to parameter mapping
- property args: dict[str, str | bool]#
Return the arguments of the parametric variable set
- Returns:
Dictionary of arguments
- Return type:
dict
- birth_thetas(mutating: bool = False, n_start=0)[source]#
Births a parametric variable (Theta) at every index in the index set
- Parameters:
mutating (bool, optional) – If the variable set is being mutated. Defaults to False.
n_start (int, optional) – The starting number for positioning the variables. Defaults to 0.
- property CrA#
A matric of critical region
- property CrB#
B matrix of critical region
- property ltx: str#
LaTeX representation of the parametric variable set
- property longname: str#
Long name representation