|
| From: | Rik |
| Subject: | [Octave-bug-tracker] [bug #58089] [Feature Request] sum along multiple dimensions |
| Date: | Thu, 9 Apr 2020 22:03:48 -0400 (EDT) |
| User-agent: | Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko |
Follow-up Comment #6, bug #58089 (project octave):
You can use the octave_value function is_scalar_type() to determine if the
argument is a scalar. This is faster than checking whether the number of
elements is 1.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?58089>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |