Skip to content

Commit 71aedf8

Browse files
authored
[skip-ci] TFormula doc fix
1 parent bba2808 commit 71aedf8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

hist/hist/src/TFormula.cxx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,25 +120,25 @@ std::string doubleToString(double val)
120120
above also applies to the predefined parametrized functions like `gaus` and
121121
`expo`.
122122
123-
Comparisons operators are also supported `(&&, ||, ==, <=, >=, !)`
123+
Comparisons operators are also supported `(&&, ||, ==, <=, >=, !)`
124124
125125
Examples:
126126
127-
`sin(x*(x&lt;0.5 || x&gt;1))`
127+
`sin(x*(x<0.5 || x>1))`
128128
129129
If the result of a comparison is TRUE, the result is 1, otherwise 0.
130130
131131
Already predefined names can be given. For example, if the formula
132132
133-
`TFormula old("old",sin(x*(x&lt;0.5 || x&gt;1)))`
133+
`TFormula old("old",sin(x*(x<0.5 || x>1)))`
134134
135135
one can assign a name to the formula. By default the name of the object = title = formula itself.
136136
137137
`TFormula new("new","x*old")`
138138
139139
is equivalent to:
140140
141-
`TFormula new("new","x*sin(x*(x&lt;0.5 || x&gt;1))")`
141+
`TFormula new("new","x*sin(x*(x<0.5 || x>1))")`
142142
143143
The class supports unlimited number of variables and parameters.
144144
By default the names which can be used for the variables are `x,y,z,t` or

0 commit comments

Comments
 (0)