Skip to content
Snippets Groups Projects
Commit 1f05b288 authored by Jesper Andersson's avatar Jesper Andersson
Browse files

Added << operator

parent 2291a504
No related branches found
No related tags found
No related merge requests found
......@@ -75,7 +75,7 @@ public:
/// Update the indicies for best, worst and 2nd to worst points.
void UpdateRankIndicies();
// Global function. Prints out the points of the simplex and the associated function values
friend ostream& operator<<(ostream& op, const Simplex& smplx);
friend ostream& operator<<(ostream& op, const Simplex& smplx)
{
op << "Simplex = " << endl;
for (unsigned int i=0; i<smplx._smx.size(); i++) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment