OOCholmod
 All Classes Functions
config_singleton.h
1 //
2 // config_singleton.h
3 // OOCholmod
4 //
5 // Created by Morten Nobel-Jørgensen / Asger Nyman Christiansen
6 // Copyright (c) 2013 Morten Nobel-Joergensen. All rights reserved.
7 //
8 
9 #pragma once
10 
11 #include <iostream>
12 #include <cholmod.h>
13 #include <string>
14 
15 namespace oocholmod {
16  class DenseMatrix;
17  class Factor;
18 
20  public:
21  static void config(cholmod_common *);
22  static cholmod_common *getCommonPtr();
23  static void destroy();
24 
25  private:
26  static std::string getLastError();
27  ConfigSingleton(){};
28  friend class DenseMatrix;
29  friend class Factor;
30  };
31 
32 }
Definition: dense_matrix.h:31
Definition: factor.h:22
Definition: config_singleton.h:19