Opened 5 years ago

Last modified 3 months ago

#24283 needs_work enhancement

Implement Expression.has_function(...)

Reported by: Ralf Stephan Owned by:
Priority: major Milestone: sage-9.8
Component: symbolics Keywords:
Cc: Frédéric Chapoton Merged in:
Authors: Ralf Stephan Reviewers: Dima Pasechnik
Report Upstream: N/A Work issues:
Branch: u/dimpase/rebased/rws/24283 (Commits, GitHub, GitLab) Commit: 602a5bc50c9839f19c205aa4d6ef00ebb6fcc3d5
Dependencies: Stopgaps:

Status badges

Description (last modified by Ralf Stephan)

Very useful would be to support list arguments like ex.has_function([sin,cos,tan], all=True) and a fast implementation in Pynac. At the moment the functionality can be had by multiple calls to has(...) with wildcard expression (not function) arguments.

Change History (11)

comment:1 Changed 5 years ago by Ralf Stephan

Dependencies: #24222

comment:2 Changed 5 years ago by Ralf Stephan

Branch: u/rws/implement_expression_has_function_____

comment:3 Changed 5 years ago by Ralf Stephan

Authors: Ralf Stephan
Commit: 68b6a58e0e386aca4147568d0230f1aeaa2f83c3
Dependencies: #24222pynac-0.7.14
Description: modified (diff)

New commits:

dcce91fPynac interface
68b6a5824283: Implement Expression.has_function(...)

comment:4 Changed 5 years ago by Ralf Stephan

Branch: u/rws/implement_expression_has_function_____u/rws/24283

comment:5 Changed 5 years ago by Ralf Stephan

Commit: 68b6a58e0e386aca4147568d0230f1aeaa2f83c36b6e2f7523f7e540f494e96eb0e58fe1a4edfca8
Dependencies: pynac-0.7.14#24329
Status: newneeds_review

New commits:

6b6e2f724283: Implement Expression.has_function(...)

comment:6 Changed 12 months ago by Dima Pasechnik

Branch: u/rws/24283u/dimpase/rebased/rws/24283
Commit: 6b6e2f7523f7e540f494e96eb0e58fe1a4edfca8602a5bc50c9839f19c205aa4d6ef00ebb6fcc3d5

New commits:

602a5bc24283: Implement Expression.has_function(...)

comment:7 Changed 12 months ago by Dima Pasechnik

Milestone: sage-8.2sage-9.5

comment:8 Changed 12 months ago by Dima Pasechnik

Cc: Frédéric Chapoton added
Dependencies: #24329
Reviewers: Dima Pasechnik
Status: needs_reviewneeds_work

This needs porting to Python 3 (it's a very old branch...) it causes

TypeError: expected bytes, str found

comment:9 Changed 12 months ago by Matthias Köppe

Milestone: sage-9.5sage-9.6

comment:10 Changed 8 months ago by Matthias Köppe

Milestone: sage-9.6sage-9.7

comment:11 Changed 3 months ago by Matthias Köppe

Milestone: sage-9.7sage-9.8
Note: See TracTickets for help on using tickets.