-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathFreeFunctions.h
18 lines (16 loc) · 910 Bytes
/
FreeFunctions.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef FREEFUNCTIONS_H
#define FREEFUNCTIONS_H
#include "FinalSuperblock.h"
rmMatrixX_t randomSeed(const TheBlock& leftBlock, const TheBlock& rightBlock);
// outputs random normalized vector
void reflectPredictedPsi(rmMatrixX_t& psiGround, const TheBlock& bigBlock,
const TheBlock& littleBlock);
// when you reach edge of system
Eigen::VectorXd oneSiteExpValues(const obsMatrixD_t& oneSiteOp,
int lSys, FinalSuperblock& hSuperFinal,
std::vector<TheBlock>& westBlocks,
std::vector<TheBlock>& eastBlocks);
double expiDotj(int i, int j, FinalSuperblock& hSuperFinal,
std::vector<TheBlock>& westBlocks,
std::vector<TheBlock>& eastBlocks);
#endif