octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Help with isequal


From: Rik
Subject: Help with isequal
Date: Sun, 26 Nov 2017 10:33:01 -0800

Could someone with access to Matlab test the following?  The question at
hand is whether isequal always returns a "full" value, or can occasionally
return a sparse, logical value.

t = isequal (sparse(1), sparse(1))
issparse (t)
t = isequal (sparse(1), 1)
issparse (t)
t = isequal (1, sparse(1))
issparse (t)
t = all (sparse([1 1 1]))
issparse (t)

Thanks,
Rik




reply via email to

[Prev in Thread] Current Thread [Next in Thread]