#ifndef COMPLEXSHIFT_H
#define COMPLEXSHIFT_H

class ComplexShift
{
public:
    virtual int rows() const = 0;
    virtual int cols() const = 0;

    virtual void set_shift(double sigmar, double sigmai) = 0;

    // y_out = Re( inv(A - sigma * I) * x_in )
    virtual void perform_op(double* x_in, double* y_out) = 0;

    virtual ~ComplexShift() {}
};


#endif // COMPLEXSHIFT_H
