Gadget
|
This is the class used to store information about the number, and mean weight, of a population cell of a stock. More...
#include <popinfo.h>
Public Member Functions | |
PopInfo () | |
This is the PopInfo constructor. More... | |
~PopInfo () | |
This is the PopInfo destructor. More... | |
void | operator-= (double a) |
This operator will subtract a number from the PopInfo. More... | |
void | operator*= (double a) |
This operator will increase the PopInfo by a multiplicative constant. More... | |
void | setToZero () |
This function will set the PopInfo to zero. More... | |
PopInfo & | operator= (const PopInfo &a) |
This operator will set the PopInfo equal to an existing PopInfo. More... | |
PopInfo & | operator+= (const PopInfo &a) |
This operator will add an existing PopInfo to the current PopInfo. More... | |
PopInfo | operator* (double a) |
This operator will multiply the PopInfo by a constant. More... | |
Public Attributes | |
double | N |
This is the number of fish in the population cell. More... | |
double | W |
This is the mean weight of the fish in the population cell. More... | |
This is the class used to store information about the number, and mean weight, of a population cell of a stock.
|
inline |
This is the PopInfo constructor.
|
inline |
This is the PopInfo destructor.
PopInfo PopInfo::operator* | ( | double | a | ) |
This operator will multiply the PopInfo by a constant.
a | is the constant |
|
inline |
This operator will increase the PopInfo by a multiplicative constant.
a | is the multiplicative constant |
|
inline |
This operator will subtract a number from the PopInfo.
a | is the number to subtract |
|
inline |
This function will set the PopInfo to zero.
double PopInfo::N |
This is the number of fish in the population cell.
double PopInfo::W |
This is the mean weight of the fish in the population cell.