Mercurial > octave
comparison liboctave/operators/vx-ops @ 21247:7be239ae42c8
merge sparse-mk-ops.awk and mk-ops.awk scripts
* mx-ops.awk: Merge with sparse-mk-ops.awk. Generate a single output
file at a time and always write to stdout.
* sparse-mk-ops.awk: Delete.
* liboctave/module.mk, liboctave/operators/module.mk: Adapt rules.
* liboctave/operators/config-ops.sh: Update for modified mk-ops.awk
script.
* mx-ops, smx-ops, vx-ops: Improve comments.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 11 Feb 2016 02:36:54 -0500 |
parents | 4197fc428c7d |
children | bac0d6f07a3e |
comparison
equal
deleted
inserted
replaced
21246:101489515a70 | 21247:7be239ae42c8 |
---|---|
18 | 18 |
19 # NOTE: if this file changes, you must run bootstrap and configure to | 19 # NOTE: if this file changes, you must run bootstrap and configure to |
20 # rebuild the source file lists for Make. | 20 # rebuild the source file lists for Make. |
21 | 21 |
22 # types | 22 # types |
23 # | |
24 # key typename object-type header fwd-decl-ok scalar-zero | |
25 # | |
26 # object-type is one of | |
27 # | |
28 # S: scalar | |
29 # V: vector | |
30 # | |
23 ccv ComplexColumnVector V CColVector.h YES 0.0 | 31 ccv ComplexColumnVector V CColVector.h YES 0.0 |
24 crv ComplexRowVector V CRowVector.h YES 0.0 | 32 crv ComplexRowVector V CRowVector.h YES 0.0 |
25 cs Complex S oct-cmplx.h NO 0.0 | 33 cs Complex S oct-cmplx.h NO 0.0 |
26 cv ColumnVector V dColVector.h YES 0.0 | 34 cv ColumnVector V dColVector.h YES 0.0 |
27 rv RowVector V dRowVector.h YES 0.0 | 35 rv RowVector V dRowVector.h YES 0.0 |
30 fcrv FloatComplexRowVector V fCRowVector.h YES 0.0 | 38 fcrv FloatComplexRowVector V fCRowVector.h YES 0.0 |
31 fcs FloatComplex S oct-cmplx.h NO 0.0 | 39 fcs FloatComplex S oct-cmplx.h NO 0.0 |
32 fcv FloatColumnVector V fColVector.h YES 0.0 | 40 fcv FloatColumnVector V fColVector.h YES 0.0 |
33 frv FloatRowVector V fRowVector.h YES 0.0 | 41 frv FloatRowVector V fRowVector.h YES 0.0 |
34 fs float S NONE NO 0.0 | 42 fs float S NONE NO 0.0 |
35 # ops | 43 # |
44 # vector operators | |
45 # | |
46 # result_t lhs_t rhs_t op-type | |
47 # | |
48 # op-type is one of | |
49 # | |
50 # B: binary ops, + - * / | |
51 # C: comparison ops, < <= == != >= > | |
52 # E: == != (Only one of C or E can be used!!) | |
53 # L: logical ops, & | | |
54 # | |
55 # though we are currently defining only binary ops for vectors. | |
56 # | |
36 ccv ccv cv B | 57 ccv ccv cv B |
37 ccv ccv s B | 58 ccv ccv s B |
38 crv crv rv B | 59 crv crv rv B |
39 crv crv s B | 60 crv crv s B |
40 ccv cs cv B | 61 ccv cs cv B |