Opened 4 years ago

Last modified 5 weeks ago

#24283 needs_work enhancement

Implement Expression.has_function(...)

Reported by: rws Owned by:
Priority: major Milestone: sage-9.6
Component: symbolics Keywords:
Cc: 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 rws)

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 (9)

comment:1 Changed 4 years ago by rws

  • Dependencies set to #24222

comment:2 Changed 4 years ago by rws

  • Branch set to u/rws/implement_expression_has_function_____

comment:3 Changed 4 years ago by rws

  • Authors set to Ralf Stephan
  • Commit set to 68b6a58e0e386aca4147568d0230f1aeaa2f83c3
  • Dependencies changed from #24222 to pynac-0.7.14
  • Description modified (diff)

New commits:

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

comment:4 Changed 4 years ago by rws

  • Branch changed from u/rws/implement_expression_has_function_____ to u/rws/24283

comment:5 Changed 4 years ago by rws

  • Commit changed from 68b6a58e0e386aca4147568d0230f1aeaa2f83c3 to 6b6e2f7523f7e540f494e96eb0e58fe1a4edfca8
  • Dependencies changed from pynac-0.7.14 to #24329
  • Status changed from new to needs_review

New commits:

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

comment:6 Changed 7 weeks ago by dimpase

  • Branch changed from u/rws/24283 to u/dimpase/rebased/rws/24283
  • Commit changed from 6b6e2f7523f7e540f494e96eb0e58fe1a4edfca8 to 602a5bc50c9839f19c205aa4d6ef00ebb6fcc3d5

New commits:

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

comment:7 Changed 7 weeks ago by dimpase

  • Milestone changed from sage-8.2 to sage-9.5

comment:8 Changed 7 weeks ago by dimpase

  • Cc chapoton added
  • Dependencies #24329 deleted
  • Reviewers set to Dima Pasechnik
  • Status changed from needs_review to needs_work

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

TypeError: expected bytes, str found

comment:9 Changed 5 weeks ago by mkoeppe

  • Milestone changed from sage-9.5 to sage-9.6
Note: See TracTickets for help on using tickets.