#17872: SingularKernelFunction documentation doesn't work
-------------------------------------+-------------------------------------
Reporter: Snark | Owner:
Type: defect | Status: needs_review
Priority: minor | Milestone: sage-6.6
Component: documentation | Resolution:
Keywords: | Merged in:
Authors: Julien Puydt | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/Snark/singularkernelfunction_documentation_doesn_t_work|
4c41c1fa8c35c41d94ceaca86d17f49b630cda45
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by vdelecroix):
Replying to [comment:8 jhpalmieri]:
> With code like
> {{{
> poly_reduce = singular_function("NF")
> }}}
> I'm not sure how to recover the string "poly_reduce".
I am not sure what you want to achieve... but
{{{
sage: from sage.algebras.letterplace.free_algebra_element_letterplace
import poly_reduce
sage: from sage.misc.dev_tools import find_object_modules
sage: find_object_modules(poly_reduce)
{'sage.algebras.letterplace.free_algebra_element_letterplace':
['poly_reduce']}
}}}
On the other hand, adding a custom attribute to fix a special case is bad
in my opinion. I find the approach used by Julien better.
Vincent
--
Ticket URL: <http://trac.sagemath.org/ticket/17872#comment:9>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.