Removed comments and added examples

This commit is contained in:
Jonas Kellerer
2022-11-21 13:44:24 +01:00
parent b7a65dd8fe
commit f2d4ad3525
38 changed files with 209 additions and 20902 deletions
-2
View File
@@ -41,12 +41,10 @@ std::function<double(double)> function1D(json_t* object) {
std::string x_values_key = json_string(
json_object_by_path(object, {"PiecewiseLinearFromFile", "xValuesKey"}));
blitz::Array<double, 1> x_values_array = reader.readD1Double(x_values_key);
// DEBUG_LEVEL_3("with x values: " + x_values_array);
std::string y_values_key = json_string(
json_object_by_path(object, {"PiecewiseLinearFromFile", "yValuesKey"}));
blitz::Array<double, 1> y_values_array = reader.readD1Double(y_values_key);
// DEBUG_LEVEL_3("with y values: " + y_values_array);
std::vector<double> x_values(x_values_array.begin(), x_values_array.end());
std::vector<double> y_values(y_values_array.begin(), y_values_array.end());