Ticket #4770 (closed enhancement: fixed)

Opened 4 years ago

Last modified 4 years ago

[with patch, positive review] implement maxima.cputime()

Reported by: malb Owned by: malb
Priority: major Milestone: sage-3.3
Component: calculus Keywords: maxima, cputime
Cc: Work issues:
Report Upstream: Reviewers:
Authors: Merged in:
Dependencies: Stopgaps:

Description

This should work:

sage: t = maxima.cputime()
sage: _ = maxima.de_solve('diff(y,x,2) + 3*x = y', ['x','y'], [1,1,1])
sage: maxima.cputime(t)
0.568913

Attachments

maxima_cputime.patch Download (1.2 KB) - added by malb 4 years ago.

Change History

Changed 4 years ago by malb

comment:1 Changed 4 years ago by SimonKing

  • Keywords maxima, cputime added
  • Summary changed from [with patch, needs review] implement maxima.cputime() to [with patch, positive review] implement maxima.cputime()

The patch applies cleanly, the doc test example works as expected, and it provides a useful functionality.

Hence, positive review!

comment:2 Changed 4 years ago by mabshoff

  • Status changed from new to closed
  • Resolution set to fixed
  • Milestone changed from sage-3.4.1 to sage-3.3

Merged in Sage 3.3.alpha3.

Cheers,

Michael

Note: See TracTickets for help on using tickets.