view test/octave.test/index/dfi-f/m-2.m @ 3167:d609b993be3b

[project @ 1998-04-17 04:41:59 by jwe]
author jwe
date Fri, 17 Apr 1998 04:42:03 +0000
parents 09094a119052
children
line wrap: on
line source

do_fortran_indexing = 0;
a = [1,2;3,4];
a_fvec = [1;3;2;4];
a_col_1 = [1;3];
a_col_2 = [2;4];
a_row_1 = [1,2];
a_row_2 = [3,4];
all (a(:) == a_fvec)