Struct Precompute

template<typename NT, typename MT, typename VT>
struct Precompute

Public Functions

inline void resetFlags()

Sets all flags to false.

inline void set_mat_size(int const &n)

Public Members

bool computed_A = false

These flags indicate whether the corresponding matrices are computed.

bool computed_B = false
MT A

The matrices the method positiveIntersection receives from its previous call if the flag first_positive_intersection is true. Matrix A is also used in coordinateIntersection

MT B
VT eigenvector

In method positive_intersect, the distance we are computing corresponds to the minimum positive eigenvalue of a quadratic eigenvalue problem. This will hold the eigenvector for that eigenvalue