isrow: Row Vector (GNU Octave/MATLAB compatible)

View source: R/size.R

isrowR Documentation

Row Vector (GNU Octave/MATLAB compatible)

Description

Test for row vector that is compatible with GNU Octave/MATLAB.

Usage

isrow(x)

Arguments

x

An array (array, matrix, vector)

Value

"Return true if x is a row vector. A row vector is a 2-D array for which size (x) returns [1, N] with non-negative N." Source: Eaton page 68.

Author(s)

Irucka Embry, Rik Wehbring (GNU Octave), Colin B. Macdonald (OctSymPy)

References

John W. Eaton, David Bateman, Søren Hauberg, and Rik Wehbring (November 2022). GNU Octave: A high-level interactive language for numerical computations: Edition 7 for Octave version 7.3.0. https://docs.octave.org/octave.pdf. Page 68.

See Also

iscolumn

Examples


library(iemisc)

# Examples

xx <- ramify::mat("1, 2"); xx

isrow(xx)









iemisc documentation built on Sept. 25, 2023, 5:09 p.m.