Skip to content
Snippets Groups Projects
Commit 45e28804 authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

Finish revision of help functions: explain curve functional.

parent a87c1302
No related branches found
No related tags found
No related merge requests found
......@@ -47,7 +47,7 @@ void SFuncRegistry::display_operators() const
for( auto f: FList ){
if( !f->precedence )
continue;
cout << " " << f->explanation << "\n";
cout << " " << f->explanation << "\n";
}
}
......
......@@ -283,7 +283,7 @@ void NGeni::display_genis()
cout << "Implemented functionals:\n";
for( auto g = glist.begin(); g!=glist.end(); ++g ) {
string s1 = (*g)->name + "(" + (*g)->default_arg_str + ")";
cout << " " << str( format("%-14s") % s1 ) << (*g)->com << "\n";
cout << " " << str( format("%-14s") % s1 ) << (*g)->com << "\n";
}
}
......
......@@ -151,13 +151,17 @@ void CCvin::register_me() const
void NCvin::display_cvins()
{
cout << "Curve functionals:\n";
cout << "Dimension-reducing functionals of curves.\n";
cout << "Usage:\n";
cout << " - most typically in command 'oi'\n";
cout << " - also directly at the command prompt (pocket-calculator mode, only for nj=1)\n";
cout << "Implemented functionals:\n";
for( auto g = hlist.begin(); g!=hlist.end(); ++g ) {
string s1 = (*g)->txt + "(a";
if( (*g)->narg>1 )
s1 += ",b";
s1 += ")";
cout << " " << str( format("%-14s") % s1 ) << (*g)->com << "\n";
cout << " " << str( format("%-14s") % s1 ) << (*g)->com << "\n";
}
}
......@@ -165,5 +169,5 @@ void NCvin::initialize()
{
// operators by precedence (as in xax_yacc.ypp):
(new CCvin( "integrate", 2, "-inf,inf", cvin_integrate,
"integrate curve from a to b" ))->register_me();
"numerical integration of curve from a to b" ))->register_me();
}
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