|
Gadget
|
This is the class used to store information about the number of tagged fish in a population cell of a stock and ratio of the fish from that population cell that are tagged. More...
#include <popratio.h>

Public Member Functions | |
| PopRatio () | |
| This is the PopRatio constructor. More... | |
| ~PopRatio () | |
| This is the PopRatio destructor. More... | |
| void | operator-= (double a) |
| This operator will subtract a number from the PopRatio. More... | |
| void | operator*= (double a) |
| This operator will increase the PopRatio by a multiplicative constant. More... | |
| PopRatio & | operator= (const PopRatio &a) |
| This operator will set the PopRatio equal to an existing PopRatio. More... | |
| PopRatio & | operator+= (const PopRatio &a) |
| This operator will add an existing PopRatio to the current PopRatio. More... | |
Public Attributes | |
| double * | N |
| This is the number of tagged fish in the population cell. More... | |
| double | R |
| This is the ratio of tagged fish in the population cell. More... | |
This is the class used to store information about the number of tagged fish in a population cell of a stock and ratio of the fish from that population cell that are tagged.
|
inline |
This is the PopRatio constructor.
|
inline |
This is the PopRatio destructor.
|
inline |
This operator will increase the PopRatio by a multiplicative constant.
| a | is the multiplicative constant |
|
inline |
This operator will subtract a number from the PopRatio.
| a | is the number to subtract |
| double* PopRatio::N |
This is the number of tagged fish in the population cell.
| double PopRatio::R |
This is the ratio of tagged fish in the population cell.