Nemo
2.3.56
Simulate forward-in-time genetic evolution in a spatially explicit, individual-based stochastic simulator
|
Go to the source code of this file.
Functions | |
bool | setSpatialMatrix (string param, string numColCondition, TMatrix *inMat, TMatrix *outMat, unsigned int nVal, unsigned int patchNbr, bool doRandomize=false) |
double | my_mean (double *data, unsigned int size) |
double | my_mean_no_nan (double *data, unsigned int size) |
double | my_variance_with_fixed_mean (double *data, unsigned int size, double mean) |
double | my_variance_with_fixed_mean_no_nan (double *data, unsigned int size, double mean) |
double | my_covariance_no_nan (double *data1, double *data2, unsigned int size1, unsigned int size2) |
unsigned long | nChooseK (int n, int k) |
vector< vector< int > > | nChooseKVec (int n, int k) |
Nemo2
Copyright (C) 2013 Frederic Guillaume frede.nosp@m.ric..nosp@m.guill.nosp@m.aume.nosp@m.@ieu..nosp@m.uzh..nosp@m.ch
This file is part of Nemo
Nemo is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
Nemo is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
created on
double my_covariance_no_nan | ( | double * | data1, |
double * | data2, | ||
unsigned int | size1, | ||
unsigned int | size2 | ||
) |
Referenced by TTQuantiSH::setStats().
double my_mean | ( | double * | data, |
unsigned int | size | ||
) |
Referenced by LCE_Selection_base::addPhenotypicSD(), and TTQuantiSH::setStats().
double my_mean_no_nan | ( | double * | data, |
unsigned int | size | ||
) |
Referenced by TTQuantiSH::setStats().
double my_variance_with_fixed_mean | ( | double * | data, |
unsigned int | size, | ||
double | mean | ||
) |
Referenced by LCE_Selection_base::addPhenotypicSD(), TTQuantiSH::getVaNoDominance(), TTQuantiSH::getVaWithDominance(), and TTQuantiSH::setStats().
double my_variance_with_fixed_mean_no_nan | ( | double * | data, |
unsigned int | size, | ||
double | mean | ||
) |
Referenced by TTQuantiSH::setStats().
References fatal().
Referenced by nChooseKVec().
References nChooseK().
bool setSpatialMatrix | ( | string | param, |
string | numColCondition, | ||
TMatrix * | inMat, | ||
TMatrix * | outMat, | ||
unsigned int | nVal, | ||
unsigned int | patchNbr, | ||
bool | doRandomize = false |
||
) |
References error(), TMatrix::get(), TMatrix::getNbCols(), TMatrix::getNbRows(), TMatrix::reset(), TMatrix::set(), and RAND::Uniform().
Referenced by LCE_Selection_base::set_local_optima(), LCE_QuantiInit::setParameters(), LCE_NtrlInit::setParameters(), LCE_Breed_Wolbachia::setParameters(), and LCE_Selection_base::setSelectionMatrix().