File: mtx_not.md

package info (click to toggle)
pd-iemmatrix 0.6.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,576 kB
  • sloc: ansic: 15,440; makefile: 291; sh: 169
file content (27 lines) | stat: -rw-r--r-- 513 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
---
title: mtx_!
description: matrix logic NOT
aliases:
- mtx_not
categories:
- object
pdcategory: Element Math
see_also:
- mtx_||
- mtx_&&
inlets:
  1st:
  - type: matrix
    description: input matrix
outlets:
  1st:
  - type: matrix
    description: boolean output matrix (.!A)
---
Each element of the input matrix is converted to a boolean value,
and afterwards inverted.
The output is a boolean matrix (only ones and zeros).



$$B_{m\times n} = \lnot A_{m\times n} \quad \equiv \quad b_{ij} = \lnot a_{ij}$$