Manuals/calci/MATRIXOPERATORS
MATRIX OPERATORS("op-type")
- is the value of the function.
Description
- This function gives the matrix with the values of 0 and 1.
- Here MATRIX("op-type"), where op-type is the type of operations.
- There are 5 types of operations:1. Logical 2. Boolean 3. Relation 4. Binary 5.(0,1).
- A logical matrix, binary matrix, relation matrix, Boolean matrix, or (0,1) matrix is a matrix with entries from the Boolean domain B = {0, 1}.
- Such a matrix can be used to represent a binary relation between a pair of finite sets.
- These types of matrices having only with the elements 0 and 1.
- The syntax of matrices are Logical: MATRIX("logical") gives the matrix with the element 0 and 1 of order 3x3.
- Boolean:MATRIX("boolean") or MATRIX("boolean",5).
- Relation:MATRIX("relation")
- Binary:MATRIX("binary",5) is showing the matrix of order 5x5 with 0 and 1.
- (0,1): MATRIX("(0,1)") is showing the matrix of element 0 and 1.
Examples
- MATRIX("logical")
0 | 0 | 1 |
1 | 0 | 1 |
0 | 1 | 1 |
- MATRIX("binary")
- MATRIX("boolean")
- MATRIX("relation")
- MATRIX("(0,1)",4)