ones function

Matrix of ones

Matrix of ones

Square matrix of ones

ones(n)

Arguments

  • n: Order of the matrix

Details

Square matrix of ones

Returns

A matrix of ones of order n.

Author(s)

Jose Luis Vicente Villardon

Examples

ones(6)
  • Maintainer: Jose Luis Vicente Villardon
  • License: GPL (>= 2)
  • Last published: 2023-11-21

Useful links