mm.math.parameters.Constant¶
- class mrmustard.math.parameters.Constant(value, name)[source]¶
Bases:
object
A parameter with a constant, immutable value.
my_const = Constant(1, "my_const")
- Parameters:
value (
any
) – The value of this constant.name (
str
) – The name of this constant.
Attributes
code/api/mrmustard.math.parameters.Constant
Download Python script
Download Notebook
View on GitHub