Navigation

Operators and Keywords

Function List:

C++ API

: true (x)
: true (n, m)
: true (n, m, k, …)

Return a matrix or N-dimensional array whose elements are all logical 1.

If invoked with a single scalar integer argument, return a square matrix of the specified size.

If invoked with two or more scalar integer arguments, or a vector of integer values, return an array with given dimensions.

See also: false.

Package: octave