irlba
A C++ library for IRLBA
Loading...
Searching...
No Matches
Options.hpp
Go to the documentation of this file.
1#ifndef IRLBA_OPTIONS_HPP
2#define IRLBA_OPTIONS_HPP
3
4#include <cstdint>
5
11namespace irlba {
12
16struct Options {
24
31
38
43 int extra_work = 7;
44
49 int max_iterations = 1000;
50
56
62
67 bool cap_number = false;
68
72 uint64_t seed = std::mt19937_64::default_seed;
73
78 void * initial = NULL;
79};
80
81}
82
83#endif
84
Implements IRLBA for approximate SVD.
Definition compute.hpp:18
EigenMatrix_ wrapped_realize(const Matrix_ &matrix)
Definition wrappers.hpp:185
Options for the IRLBA algorithm.
Definition Options.hpp:16
double singular_value_ratio_tolerance
Definition Options.hpp:37
double convergence_tolerance
Definition Options.hpp:30
uint64_t seed
Definition Options.hpp:72
bool cap_number
Definition Options.hpp:67
bool exact_for_small_matrix
Definition Options.hpp:55
void * initial
Definition Options.hpp:78
int extra_work
Definition Options.hpp:43
double invariant_subspace_tolerance
Definition Options.hpp:23
bool exact_for_large_number
Definition Options.hpp:61
int max_iterations
Definition Options.hpp:49