OOCholmod
Main Page
Classes
Files
File List
All
Classes
Functions
OOCholmod
src
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
19
class
ConfigSingleton
{
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
}
oocholmod::DenseMatrix
Definition:
dense_matrix.h:31
oocholmod::Factor
Definition:
factor.h:22
oocholmod::ConfigSingleton
Definition:
config_singleton.h:19
Generated on Mon Mar 31 2014 12:44:23 for OOCholmod by
1.8.6