File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1309,19 +1309,19 @@ class PossibleZeroQ(SympyFunction):
13091309 <dd>returns 'True' if basic symbolic and numerical methods suggest that expr has value zero, and 'False' otherwise.
13101310 </dl>
13111311
1312- ## Test whether a numeric expression is zero:
1313- ## >> PossibleZeroQ[E^(I Pi/4) - (-1)^(1/4)]
1314- ## = True
1312+ Test whether a numeric expression is zero:
1313+ >> PossibleZeroQ[E^(I Pi/4) - (-1)^(1/4)]
1314+ = True
13151315
1316- ## The determination is approximate.
1316+ The determination is approximate.
13171317
13181318 Test whether a symbolic expression is likely to be identically zero:
13191319 >> PossibleZeroQ[(x + 1) (x - 1) - x^2 + 1]
13201320 = True
13211321
13221322
1323- ## >> PossibleZeroQ[(E + Pi)^2 - E^2 - Pi^2 - 2 E Pi]
1324- ## = True
1323+ >> PossibleZeroQ[(E + Pi)^2 - E^2 - Pi^2 - 2 E Pi]
1324+ = True
13251325
13261326 Show that a numeric expression is nonzero:
13271327 >> PossibleZeroQ[E^Pi - Pi^E]
Original file line number Diff line number Diff line change @@ -262,6 +262,7 @@ def parse(self, query):
262262
263263 return self .parse_feeder (MathicsSingleLineFeeder (query ))
264264
265+
265266 def parse_evaluate (self , query , timeout = None ):
266267 expr = self .parse (query )
267268 if expr is not None :
@@ -273,7 +274,6 @@ def parse_feeder(self, feeder):
273274 def parse_feeder_returning_code (self , feeder ):
274275 "Parse a single expression from feeder and print the messages."
275276 from mathics .core .parser .util import parse_returning_code
276-
277277 try :
278278 result , source_code = parse_returning_code (self .definitions , feeder )
279279 except TranslateError :
You can’t perform that action at this time.
0 commit comments