@@ -493,7 +493,7 @@ def _builder_and_stream(vars, domain):
493
493
sage: _builder_and_stream( ["x", "y" ], ZZ)
494
494
( <class 'sage. ext. interpreters. wrapper_el. Wrapper_el'>,
495
495
<sage. ext. fast_callable. InstructionStream object at 0x... >)
496
- sage: _builder_and_stream( ["x", "y" ], RR) # optional - sage. rings. real_mpfr
496
+ sage: _builder_and_stream( ["x", "y" ], RR) # needs sage. rings. real_mpfr
497
497
( <class 'sage. ext. interpreters. wrapper_rr. Wrapper_rr'>,
498
498
<sage. ext. fast_callable. InstructionStream object at 0x... >)
499
499
@@ -503,7 +503,7 @@ def _builder_and_stream(vars, domain):
503
503
interpreter::
504
504
505
505
sage: domain = RDF
506
- sage: from sage. structure. element import Element as domain # optional - sage. modules
506
+ sage: from sage. structure. element import Element as domain # needs sage. modules
507
507
sage: _builder_and_stream( ["x", "y" ], domain)
508
508
( <class 'sage. ext. interpreters. wrapper_el. Wrapper_el'>,
509
509
<sage. ext. fast_callable. InstructionStream object at 0x... >)
@@ -1622,7 +1622,7 @@ class IntegerPowerFunction():
1622
1622
sage: cube = IntegerPowerFunction( 3)
1623
1623
sage: cube
1624
1624
( ^ 3)
1625
- sage: cube( AA( 7) ^ ( 1/3)) # optional - sage. rings. number_field
1625
+ sage: cube( AA( 7) ^ ( 1/3)) # needs sage. rings. number_field
1626
1626
7. 000000000000000?
1627
1627
sage: cube. exponent
1628
1628
3
@@ -1820,18 +1820,18 @@ cpdef generate_code(Expression expr, InstructionStream stream):
1820
1820
25
1821
1821
sage: fc. op_list( )
1822
1822
[('load_arg', 0), ('load_arg', 1), ('py_call', <function my_norm at 0x...>, 2), 'return' ]
1823
- sage: fc = fast_callable( expr) # optional - sage. symbolic
1824
- sage: fc( 3. 0r) # optional - sage. symbolic
1823
+ sage: fc = fast_callable( expr) # needs sage. symbolic
1824
+ sage: fc( 3. 0r) # needs sage. symbolic
1825
1825
4. 0* pi + 12. 0
1826
- sage: fc = fast_callable( x+ 3, domain=ZZ) # optional - sage. symbolic
1827
- sage: fc( 4) # optional - sage. symbolic
1826
+ sage: fc = fast_callable( x+ 3, domain=ZZ) # needs sage. symbolic
1827
+ sage: fc( 4) # needs sage. symbolic
1828
1828
7
1829
- sage: fc = fast_callable( x/3, domain=ZZ) # optional - sage. symbolic
1830
- sage: fc( 4) # optional - sage. symbolic
1829
+ sage: fc = fast_callable( x/3, domain=ZZ) # needs sage. symbolic
1830
+ sage: fc( 4) # needs sage. symbolic
1831
1831
Traceback ( most recent call last) :
1832
1832
...
1833
1833
TypeError: no conversion of this rational to integer
1834
- sage: fc( 6) # optional - sage. symbolic
1834
+ sage: fc( 6) # needs sage. symbolic
1835
1835
2
1836
1836
sage: fc = fast_callable( etb. call( sin, x) , domain=ZZ)
1837
1837
sage: fc( 0)
0 commit comments