QGIS/python/plugins/sextante/saga/help/GridCalculator.html

45 lines
2.1 KiB
HTML

<html>
<head><link rel="stylesheet" type="text/css" href="help.css" /></head>
<body>
<h1 class='module'>Grid Calculator</h1>
<div class='author'>Copyrights (c) 2003 by Andre Ringeler</div>
<div class='description'>The Grid Calculator calculates a new grid based on existing grids and a mathematical formula. The grid variables are single characters a which correspond in alphabetical order to the grid list order ('a' = first grid, 'b' = second grid, ...)<br/>
Example with three grids: sin(a) * b + c<br/>
<br/>
The following operators are available for the formula definition:<br/>
+ Addition<br/>
- Subtraction<br/>
* Multiplication<br/>
/ Division<br/>
^ power<br/>
abs(x) - absolute value<br/>
sqrt(x) - square root<br/>
ln(x) - natural logarithm<br/>
log(x) - base 10 logarithm<br/>
exp(x) - exponential<br/>
sin(x) - sine<br/>
cos(x) - cosine<br/>
tan(x) - tangent<br/>
asin(x) - arcsine<br/>
acos(x) - arccosine<br/>
atan(x) - arctangent<br/>
atan2(x, y) - arctangent of x/y<br/>
gt(x, y) - if x&gt;y the result is 1.0, else 0.0<br/>
lt(x, y) - if x&lt;y the result is 1.0, else 0.0<br/>
eq(x, y) - if x=y the result is 1.0, else 0.0<br/>
mod(x, y) - returns the floating point remainder of x/y<br/>
ifelse(c, x, y) - if c=1 the result is x, else y<br/>
int(x) - integer part of floating point value x<br/>
pi() - returns the value of Pi<br/>
</div>
<h2>Parameters</h2>
<dl class='parameters'>
<dt>Grid system <div class='type'>Grid system</div></dt><dd>Grid system <div class='constraints'></div></dd>
<dt>Grids <div class='type'>Input Grid list</div></dt><dd> <div class='constraints'></div></dd>
<dt>Result <div class='type'>Output Grid</div></dt><dd> <div class='constraints'></div></dd>
<dt>Formula <div class='type'>Text</div></dt><dd> <div class='constraints'></div></dd>
<dt>Name <div class='type'>Text</div></dt><dd> <div class='constraints'></div></dd>
<dt>Take Formula <div class='type'>Boolean</div></dt><dd> <div class='constraints'></div></dd>
</dl>
</body></html>