comparison liboctave/array/CMatrix.h @ 21269:3c8a3d35661a

better use of templates for Cholesky factorization * liboctave/numeric/chol.h, liboctave/numeric/chol.cc: New files generated from CmplxCHOL.cc, fCmplxCHOL.cc, floatCHOL.cc, CmplxCHOL.h, dbleCHOL.cc, dbleCHOL.h, fCmplxCHOL.h, and floatCHOL.h and converted to templates. * liboctave/numeric/module.mk: Update. * __qp__.cc, chol.cc, CMatrix.cc, CMatrix.h, dMatrix.cc, dMatrix.h, fCMatrix.cc, fCMatrix.h, fMatrix.cc, fMatrix.h, eigs-base.cc, mx-defs.h, mx-ext.h: Use new classes.
author John W. Eaton <jwe@octave.org>
date Tue, 16 Feb 2016 02:47:29 -0500
parents f08ae27289e4
children cbced1c09916
comparison
equal deleted inserted replaced
21268:f08ae27289e4 21269:3c8a3d35661a
47 typedef ColumnVector real_column_vector_type; 47 typedef ColumnVector real_column_vector_type;
48 typedef RowVector real_row_vector_type; 48 typedef RowVector real_row_vector_type;
49 49
50 typedef Matrix real_matrix_type; 50 typedef Matrix real_matrix_type;
51 typedef ComplexMatrix complex_matrix_type; 51 typedef ComplexMatrix complex_matrix_type;
52
53 typedef double real_elt_type;
54 typedef Complex complex_elt_type;
52 55
53 typedef void (*solve_singularity_handler) (double rcon); 56 typedef void (*solve_singularity_handler) (double rcon);
54 57
55 ComplexMatrix (void) : ComplexNDArray () { } 58 ComplexMatrix (void) : ComplexNDArray () { }
56 59