powered by
Make an array of ones
ones(...)
A sequence of dimensions separated by commas
An integer array of ones
# NOT RUN { ones(5) ones(5, 1) ones(1, 5) ones(2, 3) ones(2, 3, 2) str(ones(5)) # }
Run the code above in your browser using DataLab