#include <stdlib.h>#include <stdio.h>#include <string.h>#include "viennacl/scalar.hpp"#include "viennacl/vector.hpp"#include "viennacl/linalg/bisect.hpp"#include "viennacl/linalg/bisect_gpu.hpp"#include "viennacl/linalg/tql2.hpp"Go to the source code of this file.
| Macros | |
| #define | EPS 10.0e-4 | 
| #define | RANDOM_VALUES false | 
| Typedefs | |
| typedef float | NumericT | 
| Functions | |
| bool | runTest (unsigned int mat_size) | 
| Run a simple test.  More... | |
| template<typename NumericT > | |
| void | initInputData (std::vector< NumericT > &diagonal, std::vector< NumericT > &superdiagonal, unsigned int mat_size) | 
| initInputData Initialize the diagonal and superdiagonal elements of the matrix  More... | |
| int | main () | 
Computation of eigenvalues of a symmetric, tridiagonal matrix using bisection.
Definition in file bisect.cpp.
| #define EPS 10.0e-4 | 
Definition at line 38 of file bisect.cpp.
| #define RANDOM_VALUES false | 
| typedef float NumericT | 
Definition at line 40 of file bisect.cpp.
| void initInputData | ( | std::vector< NumericT > & | diagonal, | 
| std::vector< NumericT > & | superdiagonal, | ||
| unsigned int | mat_size | ||
| ) | 
initInputData Initialize the diagonal and superdiagonal elements of the matrix
| diagonal | diagonal elements of the matrix | 
| superdiagonal | superdiagonal elements of the matrix | 
| mat_size | Dimension of the matrix | 
Definition at line 53 of file bisect.cpp.
| int main | ( | ) | 
Definition at line 91 of file bisect.cpp.
| bool runTest | ( | unsigned int | mat_size | ) | 
Run a simple test.
Definition at line 125 of file bisect.cpp.