Mary Ann Hainsworth, started working as a Resource Conservationist under the ACES Program in January of 2011 after retiring from NRCS. She provides assistance for the Wellington Field Office with everything from staking in the field to conservation contract support.
It is convenient to overload commonly used functions to work with objects of your class. For example, suppose that a class defines a property that stores data that you often graph. The MyData bar method has the same name as the MATLAB bar function. However, the MyData bar method requires a MyData object as input.
Tutorial. Operator overloading permits user-defined operator implementations to be specified for operations where one or both of the operands are of a user-defined class or struct type. The tutorial contains two examples. The first example shows how to use operator overloading to create a complex number class that defines complex addition. The second example shows how to use operator overloading to implement a three-valued logical type.