summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
c704305)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Variable() {
v = new TreeMap<Integer, Double>();
Variable() {
v = new TreeMap<Integer, Double>();
+ /**
+ * Fill the variable with a discret set of double values
+ * @param start starting double value
+ * @param end ending double value
+ * @param step looping step
+ */
+ private void fill(double start, double end, double step) {
- for (double d = -5.0; d <= 5.0; d = d + 0.25) {
+ for (double d = start; d <= end; d = d + step) {