Method on @sym: isrow (x)

Return true if symbolic expression is a row vector.

Example:

h = sym([1 2 3]);
isrow(h)
  ⇒ 1
isrow(sym(1))
  ⇒ 1
isrow(h')
  ⇒ 0

See also: @sym/iscolumn, @sym/isvector, @sym/isscalar.

Package: symbolic