Maxplus Function

%eye - maxplus identity matrix

Calling Sequence

y=%eye(m,n)
y=%eye(x)

Description

Returns a maxplus identity matrix.

  • %eye(m,n) Returns a m x n maxplus matrix with 0 on the diagonal and -inf elsewhere.
  • %eye(x) Returns a maxplus identity matrix with the same size as x.
  • Note that %eye(3) is %eye(a) with a=3 i.e. it is NOT a 3x3 matrix!

    See Also