libROM  v1.0
Data-driven physical simulation library
RandomizedSVD.h
1 
11 // Description: A class implementing interface of SVD for the Randomized SVD
12 // algorithm.
13 
14 #ifndef included_RandomizedSVD_h
15 #define included_RandomizedSVD_h
16 
17 #include "StaticSVD.h"
18 #include "linalg/Options.h"
19 #include "linalg/scalapack_wrapper.h"
20 
21 #include <limits>
22 #include <memory>
23 #include <vector>
24 
25 namespace CAROM {
26 
33 class RandomizedSVD : public StaticSVD
34 {
35 private:
36  friend class BasisGenerator;
37 
45  Options options
46  );
47 
51  RandomizedSVD();
52 
57  const RandomizedSVD& other);
58 
63  operator = (
64  const RandomizedSVD& rhs);
65 
70  void
71  computeSVD();
72 
77  int d_subspace_dim;
78 };
79 
80 }
81 
82 #endif