aboutsummaryrefslogtreecommitdiffstats
path: root/models/lin1d.hpp
diff options
context:
space:
mode:
authorastrojhgu <astrojhgu@ed2142bd-67ad-457f-ba7c-d818d4011675>2009-11-08 13:03:54 +0000
committerastrojhgu <astrojhgu@ed2142bd-67ad-457f-ba7c-d818d4011675>2009-11-08 13:03:54 +0000
commitda0171cf51100155677bbf353f5802e15714fa72 (patch)
tree173d47273ba1066815de6c9e14d1dede04301ab9 /models/lin1d.hpp
parent066f0968350a0efa7f908f901940ffee3775cfb7 (diff)
downloadopt-utilities-da0171cf51100155677bbf353f5802e15714fa72.tar.bz2
git-svn-id: file:///home/svn/opt_utilities@91 ed2142bd-67ad-457f-ba7c-d818d4011675
Diffstat (limited to 'models/lin1d.hpp')
-rw-r--r--models/lin1d.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/models/lin1d.hpp b/models/lin1d.hpp
index 0db54ae..6268b0d 100644
--- a/models/lin1d.hpp
+++ b/models/lin1d.hpp
@@ -36,8 +36,9 @@ namespace opt_utilities
private:
std::string do_to_string()const
{
- return "linear model\n"
- "y=k*x+b\n";
+ return "<math><mrow> <mtext>f(x;k,b)=k x+b</mtext> \
+ </mrow> \
+</math>";
}
};
}