MyraMath
LDLSwaps.h
Go to the documentation of this file.
1 // ========================================================================= //
2 // This file is part of MyraMath, copyright (c) 2014-2019 by Ryan A Chilton //
3 // and distributed by MyraCore, LLC. See LICENSE.txt for license terms. //
4 // ========================================================================= //
5 
6 #ifndef MYRAMATH_DENSE_LDLSWAPS_H
7 #define MYRAMATH_DENSE_LDLSWAPS_H
8 
14 #include <vector>
15 
17 
18 namespace myra {
19 
21 template<class Number> class LDLSwaps
22  {
23  public:
24  // Data members, everything is public.
25  std::vector<int> P_swaps;
26  std::vector<int> Q_swaps;
28  int n_plus;
29  int n_minus;
30  };
31 
32 } // namespace
33 
34 #endif
A mostly-identity matrix type, with the occasional Matrix22 at a specific diagonal offset (n...
Definition: PivotMatrix.h:29
Definition: syntax.dox:1
A collection of pivot Matrix22&#39;s used within L*D*op(L)-factorizations (sytrf, hetrf).
Return type of sytrf_inplace() and hetrf_inplace(), holds pivoting metadata.
Definition: LDLSwaps.h:21