One possible solution is to define the behavior of the * operator between 'rvcontinuousfrozen' and 'rvcontinuousfrozen' operands using the magic method mul in the class definition for 'rvcontinuousfrozen'. This could involve implementing a rule for multiplication such as computing the product of the statistical measures of the two frozen distributions. Another solution is to convert the 'rvcontinuousfrozen' operands to a supported data type before performing the multiplication operation using the * operator. This could involve converting the frozen distributions to a numpy array or list and then performing element-wise multiplication.
Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss
Asked: 2023-06-06 01:22:56 +0000
Seen: 9 times
Last updated: Jun 06 '23