Difference between revisions of "Manuals/calci/DELTA"
Jump to navigation
Jump to search
(Created page with "<div id="6SpaceContent" class="zcontent" align="left"> <font color="#000000"><font face="Arial, sans-serif"><font size="2">'''DELTA'''</font></font><font face="Arial, sans-se...") |
|||
(8 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | <div | + | <div style="font-size:30px">'''DELTA (a,b)'''</div><br/> |
− | + | *Where 'a' is the first number and 'b' is the second number. | |
+ | **DELTA(), tests whether two values are equal. Displays '1' if a and b are equal, else displays '0'. | ||
− | + | ==Description== | |
− | + | DELTA(a,b) | |
− | |||
− | + | For Example, | |
− | + | DELTA(5,5) ''returns 1'' | |
− | |||
− | |||
− | DELTA | + | DELTA(3.3,4.4) ''returns 0'' |
− | + | DELTA(0) ''returns 1'' | |
− | |||
− | |||
− | + | *Calci returns '1' if a=b and returns '0' if a<>b. | |
− | + | *Calci displays an #ERROR message if numbers are non-numeric. | |
− | + | *'b' is optional. If not mentioned, Calci considers it as '0'. | |
− | + | *This function is also called as Kronecker Delta Function. | |
− | + | == Examples == | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<div id="1SpaceContent" class="zcontent" align="left"> | <div id="1SpaceContent" class="zcontent" align="left"> | ||
{| id="TABLE1" class="SpreadSheet blue" | {| id="TABLE1" class="SpreadSheet blue" | ||
|- class="even" | |- class="even" | ||
− | + | | class=" " | '''Function''' | |
− | + | | class=" " | '''Output''' | |
− | + | ||
− | | class=" " | | ||
− | | class=" " | | ||
− | |||
|- class="odd" | |- class="odd" | ||
− | | class=" " | | + | | class="sshl_f" |DELTA(76,54) |
− | | class="sshl_f" | 0 | + | | class="sshl_f" |0 |
− | + | ||
− | |||
− | |||
|- class="even" | |- class="even" | ||
− | + | | class="sshl_f" |DELTA(1000,1000) | |
− | | class="sshl_f" | | + | | class="sshl_f" |1 |
− | | class="sshl_f | + | |
− | |||
− | |||
− | |||
|- class="odd" | |- class="odd" | ||
− | + | | class="sshl_f" |DELTA(0.005,5) | |
− | | class="sshl_f" | | + | | class="sshl_f" |0 |
− | | class="sshl_f" | | + | |
− | |||
− | |||
|- class="even" | |- class="even" | ||
− | + | | class="sshl_f" |DELTA(-200,-200) | |
− | | class="sshl_f" | | + | | class="sshl_f" |1 |
− | | class="sshl_f" | | + | |
− | |||
− | |||
|- class="odd" | |- class="odd" | ||
− | + | | class="sshl_f" |DELTA(30) | |
− | + | | class="sshl_f" |0 | |
− | | class="sshl_f" | | + | |
− | | class="sshl_f" | | ||
− | |||
|- class="even" | |- class="even" | ||
− | + | | class="sshl_f" |DELTA(0) | |
− | + | | class="sshl_f" |1 | |
− | |||
− | | class="sshl_f" | | ||
− | | class="sshl_f" | | ||
|} | |} | ||
− | + | ==Related Videos== | |
− | + | ||
+ | {{#ev:youtube|PIEpuTxKJA8|280|center|DELTA}} | ||
+ | |||
+ | == See Also == | ||
+ | |||
+ | *[[Manuals/calci/GESTEP | GESTEP]] | ||
+ | |||
+ | ==References== | ||
+ | *[http://en.wikipedia.org/wiki/Kronecker_delta Delta Function] | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | *[[Z_API_Functions | List of Main Z Functions]] | ||
+ | |||
+ | *[[ Z3 | Z3 home ]] |
Latest revision as of 16:07, 21 August 2018
DELTA (a,b)
- Where 'a' is the first number and 'b' is the second number.
- DELTA(), tests whether two values are equal. Displays '1' if a and b are equal, else displays '0'.
Description
DELTA(a,b)
For Example,
DELTA(5,5) returns 1
DELTA(3.3,4.4) returns 0
DELTA(0) returns 1
- Calci returns '1' if a=b and returns '0' if a<>b.
- Calci displays an #ERROR message if numbers are non-numeric.
- 'b' is optional. If not mentioned, Calci considers it as '0'.
- This function is also called as Kronecker Delta Function.
Examples
Function | Output |
DELTA(76,54) | 0 |
DELTA(1000,1000) | 1 |
DELTA(0.005,5) | 0 |
DELTA(-200,-200) | 1 |
DELTA(30) | 0 |
DELTA(0) | 1 |
Related Videos
See Also
References