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 @sym: divisors (x)

Get divisors of integer.

Example:

x = sym(150);
y = divisors(x)
  ⇒ y = (sym) [1  2  3  5  6  10  15  25  30  50  75  150]  (1×12 matrix)

Package: symbolic