Reference 〉Class

Utility( )

Utility is a parent class for a variety of utility functions. Its various functions (calculate, demand, mu, and mrs) are marked with @abstractmethod, and so must be overridden by any subclass. It cannot be instantiated directly.

This class should not be invoked from user code except as a base class for custom utility functions. Actual utility classes include CES, CobbDouglas, and Leontief.

Notes and Examples

  1. Contribute a Note

    Your email address will not be published. Required fields are marked *

    You may use limited HTML for formatting. Please embed blocks of code in <pre><code> </code></pre> tags.