![]() ![]() If both inputs are single-band rasters, or one of the inputs is a constant, the output will be a single-band raster. The order of the input is irrelevant for this operator. Two inputs are necessary for the evaluation to take place. For more information, see complex statement rules section of Build complex statements. To avoid this potential problem, use appropriate parentheses in the expression so that the execution order of the operators is explicitly defined. When multiple Relational and/or Boolean operators are used consecutively in a single expression, in some cases, it may fail to execute. To change the order of execution, use parentheses. Therefore, when Boolean operators are used in the same expression as Relational operators, the Boolean operators will be executed first. You can use parentheses to control the execution order.īoolean ( ~, &, ^, |) operators have a higher precedence level than Relational (, >=, =, !=) operators. For more information, see the operator precedence table in Work with operators in Map Algebra. The operator with the highest precedence value will be executed first. When multiple operators are used in an expression, they are not necessarily executed in left-to-right order. However, if all inputs are numbers, the result is a number. When using an operator with a raster input, the result will be a raster. Returns 1 for cells where the first raster does not equal the second raster and 0 for cells where it does. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |