MCPcopy Create free account
hub / github.com/bgrimstad/splinter / pretty_print

Function pretty_print

test/testingutilities.cpp:733–745  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

731}
732
733std::string pretty_print(const DenseVector &denseVec)
734{
735 std::string str("[");
736 for(int i = 0; i < denseVec.rows(); i++) {
737 str += to_string(denseVec(i));
738 if(i + 1 < denseVec.rows()) {
739 str += "; ";
740 }
741 }
742 str += "]";
743
744 return str;
745}
746
747
748TestFunction *getTestFunction(int numVariables, int degree)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected