variable module¶
A variable.
- class gemseo.problems.scalable.parametric.core.variable.Variable(name, size, lower_bound, upper_bound, default_value)[source]¶
Bases:
NamedTuple
A variable.
Create new instance of Variable(name, size, lower_bound, upper_bound, default_value)
- Parameters:
- count(value, /)¶
Return number of occurrences of value.
- index(value, start=0, stop=9223372036854775807, /)¶
Return first index of value.
Raises ValueError if the value is not present.