#include <vector>
#include "object.h"
Include dependency graph for utility.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Functions | |
bool | ldivide (std::vector< std::vector< REAL > > &A, const std::vector< REAL > &b, std::vector< REAL > &x) |
template<class N> | |
bool | gray_next (std::vector< N > &v, typename std::vector< N >::size_type &p) |
Gray code: start from all 0's, and iteratively go through all numbers. | |
template<class N> | |
bool | gray_next (std::vector< N > &v) |
Definition in file utility.h.
|
Definition at line 47 of file utility.h. References gray_next(). |
|
Gray code: start from all 0's, and iteratively go through all numbers.
Definition at line 22 of file utility.h. Referenced by gray_next(), and AdaBoost_ECOC::max_cut(). |
|
Solve inv(A) * b, when A is symmetric and positive-definite. Actually we only need the upper triangular part of A. |