24 lines
1.1 KiB
C++
24 lines
1.1 KiB
C++
#pragma once
|
|
|
|
#include "MatrixGaussElimination.h"
|
|
#include "SparseMatrix.h"
|
|
|
|
namespace MbD {
|
|
class GESpMat : public MatrixGaussElimination
|
|
{
|
|
//markowitzPivotRowCount markowitzPivotColCount privateIndicesOfNonZerosInPivotRow rowPositionsOfNonZerosInPivotColumn
|
|
public:
|
|
FColDsptr solvewithsaveOriginal(SpMatDsptr spMat, FColDsptr fullCol, bool saveOriginal);
|
|
FColDsptr basicSolvewithsaveOriginal(SpMatDsptr spMat, FColDsptr fullCol, bool saveOriginal) override;
|
|
FColDsptr basicSolvewithsaveOriginal(FMatDsptr fullMat, FColDsptr fullCol, bool saveOriginal) override;
|
|
void preSolvewithsaveOriginal(FMatDsptr fullMat, FColDsptr fullCol, bool saveOriginal) override;
|
|
void preSolvewithsaveOriginal(SpMatDsptr spMat, FColDsptr fullCol, bool saveOriginal) override;
|
|
double getmatrixArowimaxMagnitude(int i) override;
|
|
|
|
std::shared_ptr<SparseMatrix<double>> matrixA;
|
|
int markowitzPivotRowCount, markowitzPivotColCount;
|
|
std::shared_ptr<std::vector<int>> rowPositionsOfNonZerosInPivotColumn;
|
|
};
|
|
}
|
|
|