Unverified Commit 89ac75b3 authored by Stephan Rave's avatar Stephan Rave Committed by GitHub
Browse files

Merge pull request #1745 from peoe/1744-conjugate-param-functionals

Fixes #1744
parents cd7ec2fb 7266345b
Pipeline #158839 passed with stages
in 25 minutes and 51 seconds
......@@ -364,6 +364,9 @@ class ConjugateParameterFunctional(ParameterFunctional):
assert self.parameters.assert_compatible(mu)
return np.conj(self.functional.evaluate(mu))
def d_mu(self, parameter, index=0):
return self.with_(functional=self.functional.d_mu(parameter, index), name=f'{self.name}_d_{parameter}_{index}')
class ConstantParameterFunctional(ParameterFunctional):
"""|ParameterFunctional| returning a constant value for each parameter.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment