view test/compile-bench/bench-octave/for_sum_2.m @ 32426:8e4f14837db2

maint: ensure that source files end with a single newline character
author John W. Eaton <jwe@octave.org>
date Sat, 21 Oct 2023 20:51:54 -0400
parents 6e6e99e8a4de
children
line wrap: on
line source

function sum = for_sum_2 (arg)
  sum = 0;
  for i = arg'
    sum = sum + i;
  end
end