Mercurial > octave
annotate liboctave/operators/vx-ops @ 33639:65b1cf6aa60a bytecode-interpreter tip
maint: Merge default to bytecode-interpreter
author | Arun Giridhar <arungiridhar@gmail.com> |
---|---|
date | Mon, 03 Jun 2024 14:38:47 -0400 |
parents | 2e484f9f1f18 |
children |
rev | line source |
---|---|
27923
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
1 ######################################################################## |
29357
bbbe4dcc7200
use the same comment style for copyright headers in .m files and shell scripts
John W. Eaton <jwe@octave.org>
parents:
27923
diff
changeset
|
2 ## |
32632
2e484f9f1f18
maint: update Octave Project Developers copyright for the new year
John W. Eaton <jwe@octave.org>
parents:
31706
diff
changeset
|
3 ## Copyright (C) 2003-2024 The Octave Project Developers |
29357
bbbe4dcc7200
use the same comment style for copyright headers in .m files and shell scripts
John W. Eaton <jwe@octave.org>
parents:
27923
diff
changeset
|
4 ## |
bbbe4dcc7200
use the same comment style for copyright headers in .m files and shell scripts
John W. Eaton <jwe@octave.org>
parents:
27923
diff
changeset
|
5 ## See the file COPYRIGHT.md in the top-level directory of this |
bbbe4dcc7200
use the same comment style for copyright headers in .m files and shell scripts
John W. Eaton <jwe@octave.org>
parents:
27923
diff
changeset
|
6 ## distribution or <https://octave.org/copyright/>. |
bbbe4dcc7200
use the same comment style for copyright headers in .m files and shell scripts
John W. Eaton <jwe@octave.org>
parents:
27923
diff
changeset
|
7 ## |
bbbe4dcc7200
use the same comment style for copyright headers in .m files and shell scripts
John W. Eaton <jwe@octave.org>
parents:
27923
diff
changeset
|
8 ## This file is part of Octave. |
bbbe4dcc7200
use the same comment style for copyright headers in .m files and shell scripts
John W. Eaton <jwe@octave.org>
parents:
27923
diff
changeset
|
9 ## |
bbbe4dcc7200
use the same comment style for copyright headers in .m files and shell scripts
John W. Eaton <jwe@octave.org>
parents:
27923
diff
changeset
|
10 ## Octave is free software: you can redistribute it and/or modify it |
bbbe4dcc7200
use the same comment style for copyright headers in .m files and shell scripts
John W. Eaton <jwe@octave.org>
parents:
27923
diff
changeset
|
11 ## under the terms of the GNU General Public License as published by |
bbbe4dcc7200
use the same comment style for copyright headers in .m files and shell scripts
John W. Eaton <jwe@octave.org>
parents:
27923
diff
changeset
|
12 ## the Free Software Foundation, either version 3 of the License, or |
bbbe4dcc7200
use the same comment style for copyright headers in .m files and shell scripts
John W. Eaton <jwe@octave.org>
parents:
27923
diff
changeset
|
13 ## (at your option) any later version. |
bbbe4dcc7200
use the same comment style for copyright headers in .m files and shell scripts
John W. Eaton <jwe@octave.org>
parents:
27923
diff
changeset
|
14 ## |
bbbe4dcc7200
use the same comment style for copyright headers in .m files and shell scripts
John W. Eaton <jwe@octave.org>
parents:
27923
diff
changeset
|
15 ## Octave is distributed in the hope that it will be useful, but |
bbbe4dcc7200
use the same comment style for copyright headers in .m files and shell scripts
John W. Eaton <jwe@octave.org>
parents:
27923
diff
changeset
|
16 ## WITHOUT ANY WARRANTY; without even the implied warranty of |
bbbe4dcc7200
use the same comment style for copyright headers in .m files and shell scripts
John W. Eaton <jwe@octave.org>
parents:
27923
diff
changeset
|
17 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
bbbe4dcc7200
use the same comment style for copyright headers in .m files and shell scripts
John W. Eaton <jwe@octave.org>
parents:
27923
diff
changeset
|
18 ## GNU General Public License for more details. |
bbbe4dcc7200
use the same comment style for copyright headers in .m files and shell scripts
John W. Eaton <jwe@octave.org>
parents:
27923
diff
changeset
|
19 ## |
bbbe4dcc7200
use the same comment style for copyright headers in .m files and shell scripts
John W. Eaton <jwe@octave.org>
parents:
27923
diff
changeset
|
20 ## You should have received a copy of the GNU General Public License |
bbbe4dcc7200
use the same comment style for copyright headers in .m files and shell scripts
John W. Eaton <jwe@octave.org>
parents:
27923
diff
changeset
|
21 ## along with Octave; see the file COPYING. If not, see |
bbbe4dcc7200
use the same comment style for copyright headers in .m files and shell scripts
John W. Eaton <jwe@octave.org>
parents:
27923
diff
changeset
|
22 ## <https://www.gnu.org/licenses/>. |
bbbe4dcc7200
use the same comment style for copyright headers in .m files and shell scripts
John W. Eaton <jwe@octave.org>
parents:
27923
diff
changeset
|
23 ## |
27923
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
24 ######################################################################## |
7019 | 25 |
15414
494f9bac8862
build: Rename autogen.sh script to bootstrap to conform to GNU guidelines.
Rik <rik@octave.org>
parents:
15271
diff
changeset
|
26 # 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
|
27 # 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
|
28 |
4544 | 29 # types |
21247
7be239ae42c8
merge sparse-mk-ops.awk and mk-ops.awk scripts
John W. Eaton <jwe@octave.org>
parents:
19697
diff
changeset
|
30 # |
7be239ae42c8
merge sparse-mk-ops.awk and mk-ops.awk scripts
John W. Eaton <jwe@octave.org>
parents:
19697
diff
changeset
|
31 # key typename object-type header fwd-decl-ok scalar-zero |
7be239ae42c8
merge sparse-mk-ops.awk and mk-ops.awk scripts
John W. Eaton <jwe@octave.org>
parents:
19697
diff
changeset
|
32 # |
7be239ae42c8
merge sparse-mk-ops.awk and mk-ops.awk scripts
John W. Eaton <jwe@octave.org>
parents:
19697
diff
changeset
|
33 # object-type is one of |
7be239ae42c8
merge sparse-mk-ops.awk and mk-ops.awk scripts
John W. Eaton <jwe@octave.org>
parents:
19697
diff
changeset
|
34 # |
7be239ae42c8
merge sparse-mk-ops.awk and mk-ops.awk scripts
John W. Eaton <jwe@octave.org>
parents:
19697
diff
changeset
|
35 # S: scalar |
7be239ae42c8
merge sparse-mk-ops.awk and mk-ops.awk scripts
John W. Eaton <jwe@octave.org>
parents:
19697
diff
changeset
|
36 # V: vector |
7be239ae42c8
merge sparse-mk-ops.awk and mk-ops.awk scripts
John W. Eaton <jwe@octave.org>
parents:
19697
diff
changeset
|
37 # |
5030 | 38 ccv ComplexColumnVector V CColVector.h YES 0.0 |
39 crv ComplexRowVector V CRowVector.h YES 0.0 | |
40 cs Complex S oct-cmplx.h NO 0.0 | |
41 cv ColumnVector V dColVector.h YES 0.0 | |
42 rv RowVector V dRowVector.h YES 0.0 | |
43 s double S NONE NO 0.0 | |
7789
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7019
diff
changeset
|
44 fccv FloatComplexColumnVector V fCColVector.h YES 0.0 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7019
diff
changeset
|
45 fcrv FloatComplexRowVector V fCRowVector.h YES 0.0 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7019
diff
changeset
|
46 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
|
47 fcv FloatColumnVector V fColVector.h YES 0.0 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7019
diff
changeset
|
48 frv FloatRowVector V fRowVector.h YES 0.0 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7019
diff
changeset
|
49 fs float S NONE NO 0.0 |
21247
7be239ae42c8
merge sparse-mk-ops.awk and mk-ops.awk scripts
John W. Eaton <jwe@octave.org>
parents:
19697
diff
changeset
|
50 # |
7be239ae42c8
merge sparse-mk-ops.awk and mk-ops.awk scripts
John W. Eaton <jwe@octave.org>
parents:
19697
diff
changeset
|
51 # vector operators |
7be239ae42c8
merge sparse-mk-ops.awk and mk-ops.awk scripts
John W. Eaton <jwe@octave.org>
parents:
19697
diff
changeset
|
52 # |
7be239ae42c8
merge sparse-mk-ops.awk and mk-ops.awk scripts
John W. Eaton <jwe@octave.org>
parents:
19697
diff
changeset
|
53 # result_t lhs_t rhs_t op-type |
7be239ae42c8
merge sparse-mk-ops.awk and mk-ops.awk scripts
John W. Eaton <jwe@octave.org>
parents:
19697
diff
changeset
|
54 # |
7be239ae42c8
merge sparse-mk-ops.awk and mk-ops.awk scripts
John W. Eaton <jwe@octave.org>
parents:
19697
diff
changeset
|
55 # op-type is one of |
7be239ae42c8
merge sparse-mk-ops.awk and mk-ops.awk scripts
John W. Eaton <jwe@octave.org>
parents:
19697
diff
changeset
|
56 # |
7be239ae42c8
merge sparse-mk-ops.awk and mk-ops.awk scripts
John W. Eaton <jwe@octave.org>
parents:
19697
diff
changeset
|
57 # B: binary ops, + - * / |
7be239ae42c8
merge sparse-mk-ops.awk and mk-ops.awk scripts
John W. Eaton <jwe@octave.org>
parents:
19697
diff
changeset
|
58 # C: comparison ops, < <= == != >= > |
7be239ae42c8
merge sparse-mk-ops.awk and mk-ops.awk scripts
John W. Eaton <jwe@octave.org>
parents:
19697
diff
changeset
|
59 # E: == != (Only one of C or E can be used!!) |
7be239ae42c8
merge sparse-mk-ops.awk and mk-ops.awk scripts
John W. Eaton <jwe@octave.org>
parents:
19697
diff
changeset
|
60 # L: logical ops, & | |
7be239ae42c8
merge sparse-mk-ops.awk and mk-ops.awk scripts
John W. Eaton <jwe@octave.org>
parents:
19697
diff
changeset
|
61 # |
7be239ae42c8
merge sparse-mk-ops.awk and mk-ops.awk scripts
John W. Eaton <jwe@octave.org>
parents:
19697
diff
changeset
|
62 # though we are currently defining only binary ops for vectors. |
7be239ae42c8
merge sparse-mk-ops.awk and mk-ops.awk scripts
John W. Eaton <jwe@octave.org>
parents:
19697
diff
changeset
|
63 # |
4544 | 64 ccv ccv cv B |
65 ccv ccv s B | |
66 crv crv rv B | |
67 crv crv s B | |
68 ccv cs cv B | |
69 crv cs rv B | |
70 ccv cv ccv B | |
71 ccv cv cs B | |
72 crv rv crv B | |
73 crv rv cs B | |
74 ccv s ccv B | |
75 crv s crv B | |
7789
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7019
diff
changeset
|
76 fccv fccv fcv B |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7019
diff
changeset
|
77 fccv fccv fs B |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7019
diff
changeset
|
78 fcrv fcrv frv B |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7019
diff
changeset
|
79 fcrv fcrv fs B |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7019
diff
changeset
|
80 fccv fcs fcv B |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7019
diff
changeset
|
81 fcrv fcs frv B |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7019
diff
changeset
|
82 fccv fcv fccv B |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7019
diff
changeset
|
83 fccv fcv fcs B |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7019
diff
changeset
|
84 fcrv frv fcrv B |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7019
diff
changeset
|
85 fcrv frv fcs B |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7019
diff
changeset
|
86 fccv fs fccv B |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7019
diff
changeset
|
87 fcrv fs fcrv B |