The Octave Forge package repository is no longer actively maintained. Please find Octave Packages at https://packages.octave.org.

Navigation

Operators and Keywords

Function List:

C++ API

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