multtab
Prev | Orchestra Opcodes and Operators | Next

## multtab

multtab — Performs an element by element multiplication of two vectors.

## Description

The multtab opcode takes two t-vars and performs an element by element multiplication to a third table.

## Syntax

    tans multtab tleft, tright

## Performance

tans -- tables for results.

tleft, tright -- tables for inputs.

## Examples

Here is an example of the multtab opcode. It uses the file multtab.csd.

Example 478. Example of the multtab opcode.

See the sections Real-time Audio and Command Line Flags for more information on using command line flags.

    <CsoundSynthesizer>
    <CsInstruments>

    instr 1
      t1 init 10
      t2 init 10
      t2[3] = 42
      t3 init 10, 2
      t1 multtab t2, t3
      k1 maxtab t1
      printk2 k1
    endin
    </CsInstruments>
    <CsScore>
    i1 0 0.1
    e
    </CsScore>
    </CsoundSynthesizer>

## See Also

multtab, maxatab, mintab, sumtab, scalet,

## Credits

Author: John ffitch
October 2011

New in Csound version 5.14

Prev | Up | Next
OSCsend | Home | multitap