check_if_conditional_from_attr#
- cuqi.utilities.check_if_conditional_from_attr(value)#
Check if a distribution is conditional from a given attribute. So far, we assume that a distribution is conditional if - the given attribute is a callable function and - the given attribute is not a LinearOperator.