libROM  v1.0
Data-driven physical simulation library
SVD.cpp
1 
11 // Description: An abstract class defining the interface to the generic SVD
12 // algorithm.
13 
14 #include "SVD.h"
15 
16 namespace CAROM {
17 
18 SVD::SVD(
19  Options options) :
20  d_dim(options.dim),
21  d_num_samples(0),
22  d_max_num_samples(options.max_num_samples),
23  d_debug_algorithm(options.debug_algorithm)
24 {
25  CAROM_VERIFY(options.dim > 0);
26  CAROM_VERIFY(options.max_num_samples > 0);
27 }
28 
29 }
int dim
The dimension of the system on this processor.
Definition: Options.h:215
int max_num_samples
The maximum number of samples.
Definition: Options.h:220