`ones`

generates a matrix of ones.

1 | ```
ones(n, p = n)
``` |

`n` |
number of rows |

`p` |
number of columns |

if only n is specified, the resulting matrix will be square.

a matrix filled with ones.

Jan Graffelman (jan.graffelman@upc.edu)

`matrix`

1 2 |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.