Scheduled service maintenance on November 22


On Friday, November 22, 2024, between 06:00 CET and 18:00 CET, GIN services will undergo planned maintenance. Extended service interruptions should be expected. We will try to keep downtimes to a minimum, but recommend that users avoid critical tasks, large data uploads, or DOI requests during this time.

We apologize for any inconvenience.

isrowvector.m 308 B

1234567891011121314151617
  1. function f = isrowvector(m)
  2. % function f = isrowvector(m)
  3. %
  4. % <m> is a matrix
  5. %
  6. % return whether <m> is 1 x n where n >= 0.
  7. % specifically:
  8. % f = isvector(m) & size(m,1)==1;
  9. %
  10. % example:
  11. % isrowvector([1 2])
  12. % isrowvector([1])
  13. % isrowvector(zeros(1,0))
  14. % ~isrowvector([])
  15. f = isvector(m) & size(m,1)==1;