Difference between revisions of "Manuals/calci/GESTEP"
Jump to navigation
Jump to search
| Line 2: | Line 2: | ||
*<math>n</math> is the number. | *<math>n</math> is the number. | ||
*<math>s</math> is the step to threshold a value. | *<math>s</math> is the step to threshold a value. | ||
| − | |||
==Description== | ==Description== | ||
*This function gives the result in a logical values (0 or 1). | *This function gives the result in a logical values (0 or 1). | ||
*It is used to filter the values. | *It is used to filter the values. | ||
| − | *In <math>GESTEP(n,s), n</math> is the number to test against step and <math>s</math> is the step to threshold a value. | + | *In <math>GESTEP(n,s)</math>, <math>n</math> is the number to test against step and <math>s</math> is the step to threshold a value. |
*Here <math> n </math> value is required and <math> s </math> is optional. | *Here <math> n </math> value is required and <math> s </math> is optional. | ||
*When we are not giving the <math> s </math> value, then it will assumed to be zero. | *When we are not giving the <math> s </math> value, then it will assumed to be zero. | ||
| − | *This function gives the result as 1, <math> n </math> value is greater than or equal to | + | *This function gives the result as 1, <math> n </math> value is greater than or equal to <math> s </math> value, or <math>0</math> otherwise. |
*<math> GESTEP </math> should only be used with numbers. | *<math> GESTEP </math> should only be used with numbers. | ||
| − | |||
==Examples== | ==Examples== | ||
Revision as of 23:37, 23 January 2014
GESTEP(n,s)
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle n} is the number.
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle s} is the step to threshold a value.
Description
- This function gives the result in a logical values (0 or 1).
- It is used to filter the values.
- In Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle GESTEP(n,s)} , Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle n} is the number to test against step and Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle s} is the step to threshold a value.
- Here Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle n } value is required and Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle s } is optional.
- When we are not giving the Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle s } value, then it will assumed to be zero.
- This function gives the result as 1, Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle n } value is greater than or equal to Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle s } value, or Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle 0} otherwise.
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle GESTEP } should only be used with numbers.
Examples
- GESTEP(8,9) = 0
- GESTEP(9,8) = 1
- GESTEP(0,1) = 0
- GESTEP(0,0) = 1
- GESTEP(-1,0) = 0
- GESTEP(a,b) = Null