File: mtx_bitleft.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 (25 lines) | stat: -rw-r--r-- 566 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
---
title: mtx_<<
description: matrix logic bitwise leftshift
alias:
- mtx_bitleft
categories:
- object
pdcategory: Element Math
see_also:
- mtx_>>
inlets:
  1st:
  - type: matrix
    description: input matrix A
  2nd:
  - type: matrix
    description: input matrix B
outlets:
  1st:
  - type: matrix
    description: boolean output matrix (A.<<B)
---
Each element of the input matrices is converted to an integer value.
Afterwards left signed bit shift is performed on the elements of matrix A.
The shift amount is read from the corresponding elements in matrix B.