Module gr_ramp


Name:
gr_ramp - a GRToolbox module
Description:
Create a Function of the ramp type.
Synopsis:
-[x1 x2 step nh o v noc nof now skip ]
-help For help on all options.
Special Options:
-x1 double Start value (Default: 0.000000)
-x2 double End value (Default: 1.000000 )
-y1 double Start value (Default: 0.000000)
-y2 double End value (Default: 1.000000 )
-a int Slope at x1.
-b int Slope at x2.
-e int Exponent1.
-f int Exponent2.
-n int Number of points.
-step int Number of steps,
Example Input Data:
@title "gr_ramp takes no input!"
Example Output Data:
0 0
0.01 0.00019999
0.02 0.00079984
0.03 0.00179919
0.04 0.00319744
0.05 0.00499375
0.06 0.00718704
0.07 0.00977599
0.08 0.012759
0.09 0.0161344
0.1 0.0199
0.11 0.0240536
0.12 0.0285926
0.13 0.0335144
0.14 0.0388158
0.15 0.0444937
0.16 0.0505446
0.17 0.0569648
0.18 0.0637502
0.19 0.0708968
0.2 0.0784
0.21 0.0862552
0.22 0.0944574
0.23 0.103002
0.24 0.111882
0.25 0.121094
0.26 0.13063
0.27 0.140486
0.28 0.150653
0.29 0.161127
0.3 0.1719
0.31 0.182965
0.32 0.194314
0.33 0.205941
0.34 0.217837
0.35 0.229994
0.36 0.242404
0.37 0.255058
0.38 0.267949
0.39 0.281066
0.4 0.2944
0.41 0.307942
0.42 0.321683
0.43 0.335612
0.44 0.349719
0.45 0.363994
0.46 0.378425
0.47 0.393003
0.48 0.407716
0.49 0.422552
0.5 0.4375
0.51 0.452548
0.52 0.467684
0.53 0.482895
0.54 0.498169
0.55 0.513494
0.56 0.528855
0.57 0.54424
0.58 0.559635
0.59 0.575026
0.6 0.5904
0.61 0.605742
0.62 0.621037
0.63 0.63627
0.64 0.651428
0.65 0.666494
0.66 0.681453
0.67 0.696289
0.68 0.710986
0.69 0.725529
0.7 0.7399
0.71 0.754083
0.72 0.768061
0.73 0.781818
0.74 0.795334
0.75 0.808594
0.76 0.821578
0.77 0.83427
0.78 0.846649
0.79 0.858699
0.8 0.8704
0.81 0.881733
0.82 0.892678
0.83 0.903217
0.84 0.913329
0.85 0.922994
0.86 0.932192
0.87 0.940902
0.88 0.949105
0.89 0.956778
0.9 0.9639
0.91 0.97045
0.92 0.976407
0.93 0.981748
0.94 0.986451
0.95 0.990494
0.96 0.993853
0.97 0.996507
0.98 0.998432
0.99 0.999604
1 1



Back to List of all GR Modules.