#ifndef __FILE_LOGISTIC_H_SEEN__
#define __FILE_LOGISTIC_H_SEEN__

#include "libscl.h"

class logistic_neg_log_likelihood : public scl::nleqns_base {
private:
  INTEGER n;
  INTEGER p;
  scl::realmat y, x1, x2, x3;
public:
  logistic_neg_log_likelihood() ;
  bool get_f(const scl::realmat& b, scl::realmat& f);
  bool get_F(const scl::realmat& b, scl::realmat& f, scl::realmat& F);
  bool get_numerical_F(const scl::realmat& b, scl::realmat& f, scl::realmat& F);
  scl::realmat get_information_matrix(const scl::realmat& b);
  INTEGER get_n();
  INTEGER get_p();
};

#endif
