#include #include #include "Trials.h" using namespace std; // This module sets up the number of trials and number of conditions // each condition is defined by an integer. Trials::Trials(int nc, int tp) { int i,T; nCond = nc; trialsPerCond = tp; trialVec = new int[nCond]; nTrials = nCond*trialsPerCond; T = 0; for(i=0;i