Mercurial > hg > octave-nkf
annotate liboctave/operators/vx-ops @ 20330:2db2db2df55b
Automatically convert arrays of java primitives into Octave types (bug #44882)
* libinterp/octave-value/ov-java.cc (box): when the result of a java method is
a java primitive type, these are converted to octave types automatically. We
seem to be handling this correctly for scalars but not for arrays yet. This
fixes it on the java -> octave direction.
author | Carnë Draug <carandraug@octave.org> |
---|---|
date | Mon, 20 Apr 2015 15:01:27 +0100 |
parents | 4197fc428c7d |
children |
rev | line source |
---|---|
19898
4197fc428c7d
maint: Update copyright notices for 2015.
John W. Eaton <jwe@octave.org>
parents:
19790
diff
changeset
|
1 # Copyright (C) 2003-2015 John W. Eaton |
7019 | 2 # |
3 # This file is part of Octave. | |
19790
446c46af4b42
strip trailing whitespace from most source files
John W. Eaton <jwe@octave.org>
parents:
17744
diff
changeset
|
4 # |
7019 | 5 # Octave is free software; you can redistribute it and/or modify it |
6 # under the terms of the GNU General Public License as published by the | |
7 # Free Software Foundation; either version 3 of the License, or (at | |
8 # your option) any later version. | |
19790
446c46af4b42
strip trailing whitespace from most source files
John W. Eaton <jwe@octave.org>
parents:
17744
diff
changeset
|
9 # |
7019 | 10 # Octave is distributed in the hope that it will be useful, but WITHOUT |
11 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
12 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
13 # for more details. | |
19790
446c46af4b42
strip trailing whitespace from most source files
John W. Eaton <jwe@octave.org>
parents:
17744
diff
changeset
|
14 # |
7019 | 15 # You should have received a copy of the GNU General Public License |
16 # along with Octave; see the file COPYING. If not, see | |
17 # <http://www.gnu.org/licenses/>. | |
18 | |
15414
494f9bac8862
build: Rename autogen.sh script to bootstrap to conform to GNU guidelines.
Rik <rik@octave.org>
parents:
15271
diff
changeset
|
19 # NOTE: if this file changes, you must run bootstrap and configure to |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
8920
diff
changeset
|
20 # rebuild the source file lists for Make. |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
8920
diff
changeset
|
21 |
4544 | 22 # types |
5030 | 23 ccv ComplexColumnVector V CColVector.h YES 0.0 |
24 crv ComplexRowVector V CRowVector.h YES 0.0 | |
25 cs Complex S oct-cmplx.h NO 0.0 | |
26 cv ColumnVector V dColVector.h YES 0.0 | |
27 rv RowVector V dRowVector.h YES 0.0 | |
28 s double S NONE NO 0.0 | |
7789
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7019
diff
changeset
|
29 fccv FloatComplexColumnVector V fCColVector.h YES 0.0 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7019
diff
changeset
|
30 fcrv FloatComplexRowVector V fCRowVector.h YES 0.0 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7019
diff
changeset
|
31 fcs FloatComplex S oct-cmplx.h NO 0.0 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7019
diff
changeset
|
32 fcv FloatColumnVector V fColVector.h YES 0.0 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7019
diff
changeset
|
33 frv FloatRowVector V fRowVector.h YES 0.0 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7019
diff
changeset
|
34 fs float S NONE NO 0.0 |
4544 | 35 # ops |
36 ccv ccv cv B | |
37 ccv ccv s B | |
38 crv crv rv B | |
39 crv crv s B | |
40 ccv cs cv B | |
41 crv cs rv B | |
42 ccv cv ccv B | |
43 ccv cv cs B | |
44 crv rv crv B | |
45 crv rv cs B | |
46 ccv s ccv B | |
47 crv s crv B | |
7789
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7019
diff
changeset
|
48 fccv fccv fcv B |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7019
diff
changeset
|
49 fccv fccv fs B |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7019
diff
changeset
|
50 fcrv fcrv frv B |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7019
diff
changeset
|
51 fcrv fcrv fs B |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7019
diff
changeset
|
52 fccv fcs fcv B |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7019
diff
changeset
|
53 fcrv fcs frv B |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7019
diff
changeset
|
54 fccv fcv fccv B |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7019
diff
changeset
|
55 fccv fcv fcs B |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7019
diff
changeset
|
56 fcrv frv fcrv B |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7019
diff
changeset
|
57 fcrv frv fcs B |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7019
diff
changeset
|
58 fccv fs fccv B |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7019
diff
changeset
|
59 fcrv fs fcrv B |