37 std::vector<int> temp;
40 for ( i = 0; i < n; i++ ) {
49 std::vector<double>* vectors )
58 for ( i = 1; i <
_dimen; i++ ) {
59 addition *= vectors[i - 1][
_holder[i]];
71 for ( i = 1; i <
_dimen; i++ ) {
72 addition *= vectors[i - 1][
_holder[i]];
80 std::vector<int> temp( ( 2 * dim ) );
83 for ( i = 0; i < dim; i++ )
85 for ( i = 0; i < dim; i++ )
86 temp[i + dim] = invect[i];
88 for ( i = 0; i < dim; i++ ) {
89 _holder[dim - 1] = temp[dim - 1 + i];
90 std::vector<int> tempDim( ( dim - 1 ) );
93 for ( j = 0; j < ( dim - 1 ); j++ )
94 tempDim[j] = temp[j + i];
104 std::vector<int> temp(
_dimen );
107 for ( i = 0; i <
_dimen; i++ )
111 for ( i = 0; i < (
_dimen - 1 ); i++ ) {
112 for ( j = i + 1; j <
_dimen; j++ ) {
113 if ( temp[i] > temp[j] ) {
121 nSwap -= ( nSwap / 2 ) * 2;
std::vector< int > _holder
void findOrthog(int dim, std::vector< int > invect, std::vector< double > *vectors)
std::vector< double > _orthogVector
EvtOrthogVector(int n, std::vector< double > *vectors)