### 4.6 Applying a stencil object ¶

The syntax for applying a stencil is:

    applyStencil(stencilname(),A,B,C...,F);

Where `stencilname` is the name of the stencil, and `A,B,C,...,F` are the arrays on which the stencil operates.

For examples, see `examples/stencil.cpp` and `examples/stencil2.cpp`.

Blitz++ interrogates the stencil object to find out how large its footprint is. It only applies the stencil over the region of the arrays where it won’t overrun the boundaries.