ones

Undocumented in source. Be warned that the author may not have intended to support it.
  1. Mat ones(int rows, int cols, int type)
  2. Mat ones(Size sz, int type)
    ones
    (,
    int type
    )

Meta