Relational
Compare values and determine relationships accurately.
Relational functions are crucial for comparing values and making logical decisions. Calcul.io includes functions for equality, inequality, greater than, less than, and other relational operators. These functions are essential for programming, data analysis, and decision-making processes.
Our relational functions enable you to perform precise comparisons and evaluate conditions effectively. Whether you are developing algorithms, analyzing datasets, or creating decision models, Calcul.io offers the relational tools necessary to achieve accurate and efficient results.
compare | Compare two values. Returns 1 when x > y, -1 when x < y, and 0 when x == y. |
compareNatural | Compare two values of any type in a deterministic, natural way. Returns 1 when x > y, -1 when x < y, and 0 when x == y. |
compareText | Compare two strings lexically. Comparison is case sensitive. Returns 1 when x > y, -1 when x < y, and 0 when x == y. |
deepEqual | Check equality of two matrices element wise. Returns true if the size of both matrices is equal and when and each of the elements are equal. |
equal | Check equality of two values. Returns true if the values are equal, and false if not. |
equalText | Check equality of two strings. Comparison is case sensitive. Returns true if the values are equal, and false if not. |
larger | Check if value x is larger than y. Returns true if x is larger than y, and false if not. |
largerEq | Check if value x is larger or equal to y. Returns true if x is larger or equal to y, and false if not. |
smaller | Check if value x is smaller than value y. Returns true if x is smaller than y, and false if not. |
smallerEq | Check if value x is smaller or equal to value y. Returns true if x is smaller than y, and false if not. |
unequal | Check unequality of two values. Returns true if the values are unequal, and false if they are equal. |