Returns the size of the matrix represented by the polyadic.

## Syntax

    answer=size(p,dim)


## Arguments

    p   - a polyadic object

dim - dimension whose size is required


## Outputs

    answer - a vector with one or two elements