12 std::vector<std::vector<double>> &vS,
13 std::vector<double> &v,
14 std::vector<double> &newV) {
15 std::vector<std::vector<double>> allVs = vS, uS;
18 newV = uS[uS.size() - 1];
28 std::vector<std::vector<double>> &vec, std::vector<double *> &pVec) {
29 pVec.resize(vec.size());
30 for(
unsigned int i = 0; i < vec.size(); ++i)
35 std::vector<std::vector<std::vector<double>>> &vS,
36 std::vector<std::vector<double *>> &pVS) {
37 pVS.resize(vS.size());
38 for(
unsigned int i = 0; i < vS.size(); ++i)
43 double *pVec,
size_t size, std::vector<double> &vec) {
45 for(
unsigned int i = 0; i < size; ++i)
50 std::vector<double *> &pVec,
51 std::vector<size_t> sizes,
52 std::vector<std::vector<double>> &vec) {
53 vec.resize(pVec.size());
54 for(
unsigned int i = 0; i < pVec.size(); ++i)
59 std::vector<double *> &pVec,
61 std::vector<std::vector<double>> &vec) {
62 std::vector<size_t>
const sizes(pVec.size(), size);
void vectorToPointer(std::vector< double > &vec, double *&pVec)
void pointersToVectors(std::vector< double * > &pVec, std::vector< size_t > sizes, std::vector< std::vector< double > > &vec)
void vectorsToPointers(std::vector< std::vector< double > > &vec, std::vector< double * > &pVec)
void pointerToVector(double *pVec, size_t size, std::vector< double > &vec)
void vectorOfVectorsToPointers(std::vector< std::vector< std::vector< double > > > &vS, std::vector< std::vector< double * > > &pVS)
void callGramSchmidt(std::vector< std::vector< double > > &vS, std::vector< double > &v, std::vector< double > &newV)
void gramSchmidt(const std::vector< std::vector< T > > &a, std::vector< std::vector< T > > &out)