Collapsed revision from PR-641

* SparseLU.h - corrected example, it didn't compile
* Changed encoding back to UTF8
This commit is contained in:
Christoph Hertzberg 2019-05-13 19:02:30 +02:00
parent ad372084f5
commit 5f32b79edc

View File

@ -43,8 +43,8 @@ template <typename MatrixLType, typename MatrixUType> struct SparseLUMatrixURetu
* Simple example with key steps * Simple example with key steps
* \code * \code
* VectorXd x(n), b(n); * VectorXd x(n), b(n);
* SparseMatrix<double, ColMajor> A; * SparseMatrix<double> A;
* SparseLU<SparseMatrix<scalar, ColMajor>, COLAMDOrdering<Index> > solver; * SparseLU<SparseMatrix<double>, COLAMDOrdering<int> > solver;
* // fill A and b; * // fill A and b;
* // Compute the ordering permutation vector from the structural pattern of A * // Compute the ordering permutation vector from the structural pattern of A
* solver.analyzePattern(A); * solver.analyzePattern(A);