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: isequaln (f, g)
Method on @sym: isequaln (f, g, …)

Test if contents of arrays are equal, even with nan.

Here NaN’s are considered equal:

syms x
snan = sym(nan);
isequaln([1 snan x], [1 snan x])
  ⇒ 1

To get the usual NaN convention, see ‘isequal’.

See also: @sym/isequal, @sym/logical, @sym/isAlways, @sym/eq.

Package: symbolic