vexp
Prev | Orchestra Opcodes and Operators | Next

## vexp

vexp — Performs power-of operations between a vectorial control signal and a scalar control signal

## Description

Performs power-of operations between a vectorial control signal and a scalar control signal

## Syntax

    vexp  ifn, kval, ielements

## Initialization

ifn - number of the table hosting the vectorial signal to be processed

ielements - number of elements of the vector

## Performance

kval - scalar operand to be processed

vexp rises kval to each element contained in the table ifn.

These opcodes (vadd, vmult, vpow, vexp) perform numeric operations between a vectorial control signal (hosted by the table ifn), and a scalar signal (kval). Result is a new vector that overrides old values of ifn. All these opcodes work at k-rate.

In all these opcodes, the resulting vectors are stored in ifn, overriding the intial vectors. If you want to keep initial vector, use vcopy opcode to copy it in another table. All these operators are designed to be used together with other opcodes that operate with vectorial signals such as bmscan, vcella, adsynt, adsynt2 etc.

## Credits

Written by Gabriel Maldonado.

New in Csound 5 (Previously available only on CsoundAV)

Prev | Up | Next
veloc | Home | vexpseg