|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--pop.model.PopulationCharacteristics
|
+--pop.model.Mortality
Age- and sex-specific mortality rates.
| Constructor Summary | |
Mortality(double[][] rates)
Basic constructor (one set of mortality rates). |
|
| Method Summary | |
double |
rate(int age,
int sex)
Returns age- and sex-specific mortality rate. |
double[][] |
rates()
Returns [sex][age] array of fertility rates. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public Mortality(double[][] rates)
rates - - 2-dimensional array of mortality rates
by sex (first dimension, with females
in the first row, males second row) and
age (second dimension).| Method Detail |
public double rate(int age,
int sex)
age - - 0 to maximum cohort age.sex - - FEMALE or MALE, static constant
from Statics.public double[][] rates()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||