Created
December 25, 2016 07:43
-
-
Save yifeiyin/575f0a9d42532c4e875c15a702610693 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <fstream> | |
#include <string> | |
#include "Mathematic.h" | |
typedef double Type | |
const int NUM_VAR = 20; | |
struct Variable | |
{ | |
Type value; | |
bool flag; | |
}; | |
class Problem | |
{ | |
private: | |
Variable vars[NUM_VAR]; | |
Variable & miu_s = vars[0]; | |
Variable & miu_t = vars[1]; | |
// ........ | |
public: | |
Problem() | |
{ | |
miu_s = NumG("Something here"); | |
// ....... | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment