The vectors actually produced depend on the type of analysis, but the
most common output is the node voltage. Node voltages are denoted by
vectors of the form `v( N)`, where

For compatibility with SPICE2, several mappings and equivalences are
provided. When referencing node voltages, one can reference a node by
name (e.g. `v(6)` or `v(input)`). These are string names of
the produced vectors. In addition, one can use the SPICE2 form for
the argument inside the parentheses of the node voltage construct.
This is `(`*node1* [`,`*node2*]`)`, where if
both *node1* and *node2* are given, the vector represents the
voltage difference between nodes *node1* and *node2*. For
example, `v(1,2)` is equivalent to `v(1) - v(2)`. The `v()` construct in the case of two arguments is like a function.

Additionally, the construct `i( name)` is internally mapped
to

Additional mappings familiar from SPICE2 are also recognized in
* WRspice*. In addition to

`vm`

This computes the magnitude, by mapping to the`mag`vector function. The following forms are equivalent:`vm(a) = mag(v(a))`

vm(a,b) = mag(v(a) - v(b))`vp`

This computes the phase, by mapping to the`ph`vector function. The following forms are equivalent:`vp(a) = ph(v(a))`

vp(a,b) = ph(v(a) - v(b))`vr`

This computes the real part, by mapping to the`re`vector function. The following forms are equivalent:`vr(a) = re(v(a))`

vr(a,b) = re(v(a) - v(b))`vi`

This computes the imaginary part, by mapping to the`im`vector function. The following forms are equivalent:`vi(a) = im(v(a))`

vi(a,b) = im(v(a) - v(b))`vdb`

This computes the decibel value (20*log10), by mapping to the`db`vector function. The following forms are equivalent:`vdb(a) = db(v(a))`

vdb(a,b) = db(v(a) - v(b))

Similar constructs are available for the current vectors of voltage sources and inductors. In these constructs, the single argument is always the name of a ``branch'' device, either a voltage source or inductor.

`img`

This computes the magnitude, by mapping to the`mag`vector function. The following forms are equivalent:`img(vx) = mag(vx#branch)``im`'' to avoid a clash with the`im()`vector function in.*WRspice*`ip`

This computes the phase, by mapping to the`ph`vector function. The following forms are equivalent:`ip(vx) = ph(vx#branch)``ir`

This computes the real part, by mapping to the`re`vector function. The following forms are equivalent:`ir(vx) = re(vx#branch)``ii`

This computes the imaginary part, by mapping to the`im`vector function. The following forms are equivalent:`ii(vx) = im(vx#branch)``idb`

This computes the decibel value (20*log10), by mapping to the`db`vector function. The following forms are equivalent:`vdb(vx) = db(vx#branch)`

There is one additional mapping available, `p`(*devname*),
which returns the instantaneous power of a device *devname*.
This can be applied to any device that has a readable ```p`''
parameter defined, which is true for most devices. The **show**
command can be used to list available device parameters. This is
particularly useful for sources, as it returns the power supplied to
the circuit. For non-dissipative elements, it represents the stored
power.

This is a mapping to the special vector `@`*devname*`[p]` (see below). Thus, the special vector data must be available for
this form to be used successfully, meaning that in analysis, as with
other special vectors representing device parameters, the vector must
be explicitly saved with the **save** command or in a `.save`
line. However, if this form is used in a `.measure` line, the
needed vector will be saved automatically. This is also true if the
form is used in one of the ``runops'' as listed with the **status**
command.