Method on @sym: rows (x)

Return the number of rows in a symbolic array.

Example:

A = [1 2 sym(pi); 4 5 2*sym(pi)];
n = rows (A)
  ⇒ n =  2

See also: @sym/columns, @sym/size, @sym/length, @sym/numel.

Package: symbolic