mirror of
https://github.com/TREX-CoE/Sherman-Morrison.git
synced 2024-12-28 15:16:09 +01:00
28 lines
628 B
C++
28 lines
628 B
C++
#pragma once
|
|
|
|
#include "Matrix.hpp"
|
|
#include "update_generation/UpdateMatrix.hpp"
|
|
|
|
namespace randomgen {
|
|
|
|
class Cycle {
|
|
public:
|
|
Matrix &getSlaterMatrix() { return matrix; }
|
|
|
|
const Matrix &getSlaterMatrix() const { return matrix; }
|
|
|
|
Matrix &getSlaterInverse() { return matrix_invt; }
|
|
|
|
const Matrix &getSlaterInverseTransposed() const { return matrix_invt; }
|
|
|
|
UpdateMatrix &getUpdateMatrix() { return update_array; }
|
|
|
|
const UpdateMatrix &getUpdateMatrix() const { return update_array; }
|
|
|
|
private:
|
|
Matrix matrix;
|
|
Matrix matrix_invt;
|
|
UpdateMatrix update_array;
|
|
};
|
|
|
|
}// namespace randomgen
|