vpowv
Prev | Orchestra Opcodes and Operators | Next

## vpowv

vpowv — Performs power-of operations between two vectorial control signals

## Description

Performs power-of operations between two vectorial control signals

## Syntax

    vpowv  ifn1, ifn2, ielements

## Initialization

ifn1 - number of the table hosting the first vector to be processed

ifn2 - number of the table hosting the second vector to be processed

ielements - number of elements of the two vectors

## Performance

vpowv divides two vectorial control signals, that is, each element of ifn1 is risen to the corresponding element of ifn2. Each vectorial signal is hosted by a table (ifn1 and ifn2). The number of elements contained in both vectors must be the same.

The result is a new vectorial control signal that overrides old values of ifn1. If you want to keep the old ifn1 vector, use vcopy opcode to copy it in another table.

This opcode works at k-rate.

All these operators (vaddv,vsubv,vmultv,vdivv,vpowv,vexpv, vcopy and vmap) 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
vpow | Home | vpvoc