Révision 6bcf334c
b/src/args-for-cvp-run-02.sh | ||
---|---|---|
4 | 4 |
echo "log(1+(2^-x))/log(2)" \ |
5 | 5 |
0 \ |
6 | 6 |
1 \ |
7 |
abs \ |
|
7 | 8 |
"[0,1,2,3,4,5,6]" \ |
8 | 9 |
"[24,24,24,24,24,24,24]" \ |
9 | 10 |
"[-1,-1,-4,-14,-10,-14,-19]" \ |
b/src/cvp-run-02.sage | ||
---|---|---|
63 | 63 |
write(" upperBound\n") |
64 | 64 |
write(" mode one of \"abs\" or \"rel\"\n") |
65 | 65 |
write(" coeffsExpList\n") |
66 |
write(" coeffsExpList\n")
|
|
66 |
write(" coeffsPrecList\n")
|
|
67 | 67 |
write(" minCoeffsBoundExpList\n") |
68 | 68 |
write(" maxCoeffsBoundExpList\n") |
69 |
write(" maxCoeffsBoundExpList\n")
|
|
70 |
write(" maxCoeffsBoundExpList\n\n")
|
|
69 |
write(" pointsList\n")
|
|
70 |
write(" precision\n\n")
|
|
71 | 71 |
## |
72 | 72 |
sys.exit(1) |
73 | 73 |
# End usage |
... | ... | |
77 | 77 |
## Arguments recovery |
78 | 78 |
if argsCount < 11: |
79 | 79 |
usage(scriptName) |
80 |
## Shell weird behavior may oblige to single quote arguments.
|
|
80 |
## Shell weird behavior may oblige to single quote arguments. |
|
81 | 81 |
# They should be removed before evaluation to avoid inadequate typing. |
82 | 82 |
funcAsString = re.sub("^'|'$", "", sys.argv[1]) |
83 | 83 |
lowerBoundAsString = re.sub("^'|'$", "", sys.argv[2]) |
Formats disponibles : Unified diff