diff options
author | astrojhgu <astrojhgu@ed2142bd-67ad-457f-ba7c-d818d4011675> | 2009-11-08 16:23:38 +0000 |
---|---|---|
committer | astrojhgu <astrojhgu@ed2142bd-67ad-457f-ba7c-d818d4011675> | 2009-11-08 16:23:38 +0000 |
commit | 411fedef9da82eb1c155f17a2babab671123c577 (patch) | |
tree | 9f4a7a7710e02fdb67e69fc154a098da87344636 /models/beta1d.hpp | |
parent | da0171cf51100155677bbf353f5802e15714fa72 (diff) | |
download | opt-utilities-411fedef9da82eb1c155f17a2babab671123c577.tar.bz2 |
git-svn-id: file:///home/svn/opt_utilities@92 ed2142bd-67ad-457f-ba7c-d818d4011675
Diffstat (limited to 'models/beta1d.hpp')
-rw-r--r-- | models/beta1d.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/models/beta1d.hpp b/models/beta1d.hpp index c3a5469..283b539 100644 --- a/models/beta1d.hpp +++ b/models/beta1d.hpp @@ -41,9 +41,9 @@ namespace opt_utilities return bkg+S0*pow(1+(x*x)/(r_c*r_c),-3*beta+static_cast<T>(.5)); } - std::string do_to_string()const + std::string do_get_information()const { - return "<math xmlns=\"http://www.w3.org/1998/Math/MathML\" display=\"block\" class=\"equation\"><mi>f</mi><mrow><mo class=\"MathClass-open\">(</mo><mrow><mi>x</mi><mo class=\"MathClass-punc\">;</mo><msub><mrow><mi>S</mi></mrow><mrow><mn>0</mn></mrow></msub><mo class=\"MathClass-punc\">,</mo><mi>β</mi><mo class=\"MathClass-punc\">,</mo><msub><mrow><mi>r</mi></mrow><mrow><mi>c</mi></mrow></msub><mo class=\"MathClass-punc\">,</mo><mi>b</mi><mi>k</mi><mi>g</mi></mrow><mo class=\"MathClass-close\">)</mo></mrow> <mo class=\"MathClass-rel\">=</mo> <mi>S</mi><mn>0</mn> <mo class=\"MathClass-bin\">∗</mo><msup><mrow><mfenced separators=\"\" open=\"(\" close=\")\"><mrow><mn>1</mn> <mo class=\"MathClass-bin\">+</mo><msup><mrow> <mfenced separators=\"\" open=\"(\" close=\")\"><mrow> <mfrac><mrow><mi>r</mi></mrow><mrow><msub><mrow><mi>r</mi></mrow><mrow><mi>c</mi></mrow></msub></mrow></mfrac></mrow></mfenced> </mrow><mrow><mn>2</mn></mrow></msup></mrow></mfenced> </mrow><mrow><mo class=\"MathClass-bin\">−</mo><mn>3</mn><mi>β</mi><mo class=\"MathClass-bin\">+</mo><mn>1</mn><mo class=\"MathClass-bin\">∕</mo><mn>2</mn></mrow></msup> <mo class=\"MathClass-bin\">+</mo> <mi>b</mi><mi>k</mi><mi>g</mi></math>"; + return "<math xmlns=\"http://www.w3.org/1998/Math/MathML\" display=\"block\" class=\"equation\"><mi>f</mi><mrow><mo class=\"MathClass-open\">(</mo><mrow><mi>x</mi><mo class=\"MathClass-punc\">;</mo><msub><mrow><mi>S</mi></mrow><mrow><mn>0</mn></mrow></msub><mo class=\"MathClass-punc\">,</mo><mi>β</mi><mo class=\"MathClass-punc\">,</mo><msub><mrow><mi>r</mi></mrow><mrow><mi>c</mi></mrow></msub><mo class=\"MathClass-punc\">,</mo><mi>b</mi><mi>k</mi><mi>g</mi></mrow><mo class=\"MathClass-close\">)</mo></mrow> <mo class=\"MathClass-rel\">=</mo> <msub><mrow><mi>S</mi></mrow><mrow><mn>0</mn></mrow></msub> <mo class=\"MathClass-bin\">∗</mo><msup><mrow><mfenced separators=\"\" open=\"(\" close=\")\"><mrow><mn>1</mn> <mo class=\"MathClass-bin\">+</mo><msup><mrow> <mfenced separators=\"\" open=\"(\" close=\")\"><mrow> <mfrac><mrow><mi>r</mi></mrow><mrow><msub><mrow><mi>r</mi></mrow><mrow><mi>c</mi></mrow></msub></mrow></mfrac></mrow></mfenced> </mrow><mrow><mn>2</mn></mrow></msup></mrow></mfenced> </mrow><mrow><mo class=\"MathClass-bin\">−</mo><mn>3</mn><mi>β</mi><mo class=\"MathClass-bin\">+</mo><mn>1</mn><mo class=\"MathClass-bin\">∕</mo><mn>2</mn></mrow></msup> <mo class=\"MathClass-bin\">+</mo> <mi>b</mi><mi>k</mi><mi>g</mi></math>"; } }; } |