Mercurial > hg > octave-lyh
comparison src/ov-cx-mat.cc @ 2407:4f55dc039a7e
[project @ 1996-10-14 19:48:50 by jwe]
author | jwe |
---|---|
date | Mon, 14 Oct 1996 19:48:51 +0000 |
parents | 2142216bf85a |
children | 367485171742 |
comparison
equal
deleted
inserted
replaced
2406:13b3c87b192e | 2407:4f55dc039a7e |
---|---|
65 { | 65 { |
66 case 2: | 66 case 2: |
67 { | 67 { |
68 idx_vector i = idx (0).index_vector (); | 68 idx_vector i = idx (0).index_vector (); |
69 idx_vector j = idx (1).index_vector (); | 69 idx_vector j = idx (1).index_vector (); |
70 | |
70 retval = ComplexMatrix (matrix.index (i, j)); | 71 retval = ComplexMatrix (matrix.index (i, j)); |
71 } | 72 } |
72 break; | 73 break; |
73 | 74 |
74 case 1: | 75 case 1: |
75 { | 76 { |
76 idx_vector i = idx (0).index_vector (); | 77 idx_vector i = idx (0).index_vector (); |
78 | |
77 retval = ComplexMatrix (matrix.index (i)); | 79 retval = ComplexMatrix (matrix.index (i)); |
78 } | 80 } |
79 break; | 81 break; |
80 | 82 |
81 default: | 83 default: |