Mercurial > octave
comparison liboctave/array/CMatrix.h @ 21268:f08ae27289e4
better use of templates for balance classes
* aepbalance.h, aepbalance.cc: New files generated from base-aepbal.h,
CmplxAEPBAL.cc, CmplxAEPBAL.h, dbleAEPBAL.cc, dbleAEPBAL.h,
fCmplxAEPBAL.cc, fCmplxAEPBAL.h, floatAEPBAL.cc, and floatAEPBAL.h and
making them templates.
* gepbalance.h, gepbalance.cc: New files generate from CmplxGEPBAL.cc,
CmplxGEPBAL.h, dbleGEPBAL.cc, dbleGEPBAL.h, fCmplxGEPBAL.cc,
fCmplxGEPBAL.h, floatGEPBAL.cc, and floatGEPBAL.h and making them
templates.
* liboctave/numeric/module.mk: Update.
* balance.cc, CMatrix.h, dMatrix.h, fCMatrix.h, fMatrix.h, mx-defs.h,
mx-ext.h: Use new classes.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 16 Feb 2016 00:32:29 -0500 |
parents | 1473547f50f5 |
children | 3c8a3d35661a |
comparison
equal
deleted
inserted
replaced
21267:f5b8c3aca5f8 | 21268:f08ae27289e4 |
---|---|
41 { | 41 { |
42 public: | 42 public: |
43 | 43 |
44 typedef ComplexColumnVector column_vector_type; | 44 typedef ComplexColumnVector column_vector_type; |
45 typedef ComplexRowVector row_vector_type; | 45 typedef ComplexRowVector row_vector_type; |
46 | |
47 typedef ColumnVector real_column_vector_type; | |
48 typedef RowVector real_row_vector_type; | |
49 | |
50 typedef Matrix real_matrix_type; | |
51 typedef ComplexMatrix complex_matrix_type; | |
46 | 52 |
47 typedef void (*solve_singularity_handler) (double rcon); | 53 typedef void (*solve_singularity_handler) (double rcon); |
48 | 54 |
49 ComplexMatrix (void) : ComplexNDArray () { } | 55 ComplexMatrix (void) : ComplexNDArray () { } |
50 | 56 |