mirror of
https://github.com/TREX-CoE/Sherman-Morrison.git
synced 2024-11-04 05:03:59 +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
|