Changes between Initial Version and Version 1 of Ticket #18832
- Timestamp:
- 07/01/15 07:39:40 (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #18832 – Description
initial v1 2 2 3 3 Part of this is already duplicated in `rings.arith` but the need arises with symbolic functions returning polynomials, e.g. #16813. At the moment `BuiltinFunction` simply converts the NNNS argument, losing the type information. 4 5 Practically, `BuiltinFunction` should eval with `x`, try substitution, and throw an error if the substitution leads to unknown methods of the NNNS. I.e. 6 {{{ 7 sage: elliptic_f (x, 1) 8 log(tan(1/4*pi + 1/2*x)) 9 sage: elliptic_f (polygen(CC), 1) 10 ... 11 AttributeError: 'Polynomial_generic_dense_field' object has no attribute 'log' 12 }}}