Mercurial > octave-nkf
comparison src/DLD-FUNCTIONS/kron.cc @ 5823:080c08b192d8
[project @ 2006-05-19 05:32:17 by jwe]
author | jwe |
---|---|
date | Fri, 19 May 2006 05:32:19 +0000 |
parents | 4c8a2e4e0717 |
children | 49724abe1236 |
comparison
equal
deleted
inserted
replaced
5822:4fdc2515ebad | 5823:080c08b192d8 |
---|---|
94 | 94 |
95 int nargin = args.length (); | 95 int nargin = args.length (); |
96 | 96 |
97 if (nargin != 2 || nargout > 1) | 97 if (nargin != 2 || nargout > 1) |
98 { | 98 { |
99 print_usage ("kron"); | 99 print_usage (); |
100 } | 100 } |
101 else if (args(0).is_complex_type () || args(1).is_complex_type ()) | 101 else if (args(0).is_complex_type () || args(1).is_complex_type ()) |
102 { | 102 { |
103 ComplexMatrix a (args(0).complex_matrix_value()); | 103 ComplexMatrix a (args(0).complex_matrix_value()); |
104 ComplexMatrix b (args(1).complex_matrix_value()); | 104 ComplexMatrix b (args(1).complex_matrix_value()); |