Commit 242dda3e authored by David Bommes's avatar David Bommes

removed functions within header for DLL-Export

git-svn-id: http://www.openflipper.org/svnrepo/CoMISo/trunk@87 1355f012-dd97-4b2f-ae87-10fa9f823a57
parent 38e577c2
...@@ -230,6 +230,26 @@ bool CholmodSolver::solve( double * _x, double * _b) ...@@ -230,6 +230,26 @@ bool CholmodSolver::solve( double * _x, double * _b)
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
int CholmodSolver::dimension()
{
return std::max(int(0), (int)(colptr_.size()-1));
}
//-----------------------------------------------------------------------------
bool CholmodSolver::
solve ( std::vector<double>& _x0, std::vector<double>& _b)
{
return solve( &(_x0[0]), &(_b[0]));
}
//-----------------------------------------------------------------------------
bool& CholmodSolver::
show_timings()
{
return show_timings_;
}
} }
...@@ -81,13 +81,11 @@ public: ...@@ -81,13 +81,11 @@ public:
bool solve ( double * _x0, double * _b); bool solve ( double * _x0, double * _b);
bool solve ( std::vector<double>& _x0, std::vector<double>& _b) bool solve ( std::vector<double>& _x0, std::vector<double>& _b);
{return solve( &(_x0[0]), &(_b[0]));}
bool& show_timings();
bool& show_timings() { return show_timings_;}
int dimension() { return std::max(int(0), (int)(colptr_.size()-1)); } int dimension();
private: private:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment