fn circparameters_from_netparameters( inp: &NetParameters, alg: Algorithm, ) -> Result<CircParameters>
Return a new circuit parameter struct using the given network parameters and algorithm to use.