Method on @symfun: d = size (x)
Method on @symfun: [n, m] = size (x)
Method on @symfun: d = size (x, dim)

Return the size of a symbolic function.

This behaves differently than for @sym:

syms x y
f(x, y) = [1 x; y 2];

size(f)
  ⇒ 1  1

length(f)
  ⇒ 1

See also: @sym/size.

Package: symbolic