\(\text{I}_\text{B}\)

You can use the \(\text{I}_\text{B}\) function to insert a boolean identity matrix.

You can use the \idbool backslash command to insert this function.

The following variants of this function are available:

  • \(\text{boolean matrix } \text{I}_\text{B} \left ( \text{<side>} \right )\)

  • \(\text{boolean matrix } \text{I}_\text{B} \left ( \text{<rows>}, \text{<columns>} \right )\)

The single parameter version of the \(\text{I}_\text{B}\) accepts an integer \(\text{<side>}\) parameter that indicates the number of rows and columns. This version will always create a square matrix.

The two parameter version of the \(\text{I}_\text{B}\) accepts integer \(\text{<rows>}\) and \(\text{<columns>}\) parameters that specify the dimension of the created matrix.

Figure 150 shows the basic use of the \(\text{I}_\text{B}\) function.

../_images/ib_example.png

Figure 150 Example Use Of The IB Function