Function py_constant

Source
pub fn py_constant(value: Float) -> PyParameterLike
Expand description

A term which stays constant during an optimization

§Parameters

value : float The numerical value of the constant

§Returns

laddu.ParameterLike An object that can be used as the input for many Amplitude constructors