Skip to content
This repository has been archived by the owner on Mar 17, 2022. It is now read-only.

Example 8

Stanislav Mikhel edited this page Jun 11, 2017 · 1 revision

VPSYS has a mechanism called convolution for simplification of some operations. Compare the following pieces of code.

 &SRC a: func="lin"       # generate linear signal
 &OP b: op="*", k=2       # multiply on 2
 &FUNC c: f="sqrt"        # calculate square root
 &SYNC d
 a -> b -> c -> d         # connect elements

The same with convolution.

 &SRC a: func="lin"
 &SYNC d
 a -> [*2][sqrt] d        # add convolution into the chain

As you can see here, all you need to do is to write in square brackets the desired transformations.

Clone this wiki locally