cvxgrp / CVXR
1
#ifndef _CVXR_H_
2
#define _CVXR_H_
3

4
#include "Utils.h"
5
#include "LinOp.h"
6
#include "ProblemData.h"
7

8
class LinOpVector {
9
public:
10
  /* The vector */
11
  std::vector<LinOp *> linvec;
12

13
  /* almost uuid */
14
  std::string id;
15

16 6
  LinOpVector() {
17 6
    id = genRandomId();
18
#ifdef _R_DEBUG
19
    Rcpp::Rcout << "LinOpVector id " << id << " Created!" << std::endl;
20
#endif
21
  }
22

23 6
  ~LinOpVector() {
24
#ifdef _R_DEBUG
25
    Rcpp::Rcout << "LinOpVector id " << id << " Destroyed!" << std::endl;
26
#endif
27

28
  }
29

30
};
31

32
class IntVector {
33
public:
34
  /* The vector */
35
  std::vector<int> int_vector;
36

37
  IntVector() {
38
  }
39

40
};
41

42
class Slice {
43
public:
44
  /* The slice */
45
  std::vector<std::vector<int> > slice;
46

47
  Slice() {
48
  }
49
  
50
};
51

52
#endif

Read our documentation on viewing source code .

Loading