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