py_constant

Function py_constant 

Source
pub fn py_constant(name: &str, value: f64) -> PyParameterLike
Expand description

A term which stays constant during an optimization

§Parameters

name : str The name of the parameter value : float The numerical value of the constant

§Returns

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