Elementary operators

The most elementary operators are created with the following commands.

In most cases, these elementary operators mirror the Matlab primitives. For example,

double(opOnes(3,2))
ans =
     1     1
     1     1
     1     1

is equivalent to

ones(3,2)
ans =
     1     1
     1     1
     1     1

The main difference, of course, is that opOnes does not create an explicit matrix.