ParameterDict.get_constant¶
-
ParameterDict.get_constant(self, name, value=None)¶ Retrieves a
Constantwith nameself.prefix+name. If not found,get()will first try to retrieve it from “shared” dict. If still not found,get()will create a newConstantwith key-word arguments and insert it to self.Parameters: - name : str
Name of the desired Constant. It will be prepended with this dictionary’s prefix.
- value : array-like
Initial value of constant.
Returns: