Creates a function line element.
Element Information
| Element class | LineConfig |
| Implementation class | LineStrategy |
| Nested elements |
One iterator that generates values for x, in the equation
y = mx + b.
|
Attributes
| Name | Type | Required | Description |
|---|---|---|---|
| multiplier | any | yes |
The line's slope. The value for m, in the
equation y = mx + b.
|
| intercept | any | yes |
The value at which the line crosses the y-axis. The value for
b, in the equation y = mx + b.
|
Examples
<!-- f(x) = 3x - 22 for -5 <= x < 5 -->
<dmf:line slope="3" intercept="-22">
<dm:ints id="x" range="[-5,5)"/>
</dmf:line>