Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Frida
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Coenen, Joachim
Frida
Commits
45e28804
Commit
45e28804
authored
9 years ago
by
Wuttke, Joachim
Browse files
Options
Downloads
Patches
Plain Diff
Finish revision of help functions: explain curve functional.
parent
a87c1302
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
pub/lib/fregistry.cpp
+1
-1
1 addition, 1 deletion
pub/lib/fregistry.cpp
pub/lib/geni.cpp
+1
-1
1 addition, 1 deletion
pub/lib/geni.cpp
pub/lib/integrate.cpp
+7
-3
7 additions, 3 deletions
pub/lib/integrate.cpp
with
9 additions
and
5 deletions
pub/lib/fregistry.cpp
+
1
−
1
View file @
45e28804
...
...
@@ -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
"
;
}
}
...
...
This diff is collapsed.
Click to expand it.
pub/lib/geni.cpp
+
1
−
1
View file @
45e28804
...
...
@@ -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
"
;
}
}
...
...
This diff is collapsed.
Click to expand it.
pub/lib/integrate.cpp
+
7
−
3
View file @
45e28804
...
...
@@ -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
,
"integrat
e
curve from a to b"
))
->
register_me
();
"
numerical
integrat
ion of
curve from a to b"
))
->
register_me
();
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment