Skip to content

L-3

Compare
Choose a tag to compare
@rocky rocky released this 15 May 13:17
· 517 commits to master since this release

Package update

  • SymPy 1.8

New variables and builtins

  • Arg
  • CoefficientArrays and Collect (#1174, #1194)
  • Dispatch
  • FullSimplify
  • LetterNumber #1298. The alphabet parameter supports only a
    minimal number of languages.
  • MemoryAvailable
  • MemoryInUse
  • Nand and Nor logical functions.
  • Series, O and SeriesData
  • StringReverse
  • $SystemMemory
  • Add all of the named colors, e.g. Brown or LighterMagenta.

Enhancements

  • a function evaluate_predicate allows for a basic predicate
    evaluation using $Assumptions.
  • Attributes accepts a string parameter.
  • Cases accepts Heads option. Issue #1302.
  • ColorNegate for colors is supported.
  • D and Derivative improvements.
  • Expand and ExpandAll now support a second parameter patt Issue
    #1301.
  • Expand and ExpandAll works with hyperbolic functions (Sinh,
    Cosh, Tanh, Coth).
  • FileNames returns a sorted list (#1250).
  • FindRoot now accepts several optional parameters like Method and
    MaxIterations. See Issue #1235.
  • FixedPoint now supports the SameTest option.
  • mathics CLI now uses its own Mathics settings.m file
  • Prepend works with DownValues Issue #1251
  • Prime and PrimePi now accept a list parameter and have the
    NumericFunction attribute.
  • Read with Hold[Expression] now supported. (#1242)
  • ReplaceRepeated and FixedPoint now supports the MaxIteration
    option. See Issue #1260.
  • Simplify performs a more sophisticated set of simplifications.
  • Simplify accepts a second parameter that temporarily overwrites
    $Assumptions.
  • StringTake now accepts form containing a list of strings and
    specification. See Issue #1297.
  • Table [expr, n] is supported.
  • ToExpression handles multi-line string input.
  • ToString accepts an optional form parameter.
  • ToExpression handles multi-line string input.
  • $VersionNumber now set to 10.0 (was 6.0).
  • The implementation of Streams was redone.
  • Function mathics.core.definitions.autoload_files was added and
    exposed to allow front-ends to provide their own custom Mathics.
    settings.
  • String output in the mathics terminal has surrounding quotes to
    make it more visually distinct from unexpanded and symbol output. To
    disable this behavior use --strict-wl-output.

Bug fixes

  • SetTagDelayed now does not evaluate the RHS before assignment.
  • $InstallationDirectory starts out Unprotected.
  • FindRoot now handles equations.
  • Malformed Patterns are detected and an error message is given for
    them.
  • Functions gone over to ensure the Listable and NumericFunction
    properties are correct.

Incompatible changes

  • System`$UseSansSerif moved from core and is sent front-ends
    using Settings`$UseSansSerif.

Internal changes

  • doctest accepts the option -d to show how long it takes to parse,
    evaluate and compare each individual test. -x option (akin to
    pytests -x is a short-hand for stop on first error
  • Some builtin functions have been grouped together in a module
    underneath the top-level builtin directory. As a result, in the
    documents you will list some builtins listed under an overarching
    categery like Specific Functions or
    Graphics, Drawing, and Images. More work is expected in the future
    to improve document sectioning.