Mercurial > octave
comparison liboctave/array/fMatrix.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 |
---|---|
40 { | 40 { |
41 public: | 41 public: |
42 | 42 |
43 typedef FloatColumnVector column_vector_type; | 43 typedef FloatColumnVector column_vector_type; |
44 typedef FloatRowVector row_vector_type; | 44 typedef FloatRowVector row_vector_type; |
45 | |
46 typedef FloatColumnVector real_column_vector_type; | |
47 typedef FloatRowVector real_row_vector_type; | |
48 | |
49 typedef FloatMatrix real_matrix_type; | |
50 typedef FloatComplexMatrix complex_matrix_type; | |
45 | 51 |
46 typedef void (*solve_singularity_handler) (float rcon); | 52 typedef void (*solve_singularity_handler) (float rcon); |
47 | 53 |
48 FloatMatrix (void) : FloatNDArray () { } | 54 FloatMatrix (void) : FloatNDArray () { } |
49 | 55 |