/*
 * mathlib.h
 * This file is part of isoLasso library; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public License as
 * published by the Free Software Foundation; version 2.1 of the License.
 *
 *  Created on: 2011-10-14
 *      Author: daniel
 */
#ifndef MATHLIB_H_
#define MATHLIB_H_
#include "NewInstance.h"
using namespace std;
void LassoWithConstraint(vector<vector<double> > &X, vector<double> &y,double &lambda,NewInstance &ins,vector<string> &varargin, vector<double> &w, double &fval, long &exitflag );
void mldivide(vector<vector<double> > &A, vector<double> &b, vector<double> &result, bool reverseA);
void mldivide(vector<vector<long> > &A, vector<double> &b, vector<double> &result, bool reverseA);
double normpdf(double x, double mu, double sigma);
#endif
