Skip to content

v1.5.0

Compare
Choose a tag to compare
@Nelson-numerical-software Nelson-numerical-software released this 31 May 18:37
· 217 commits to master since this release

1.5.0 (2024-05-31)

Added

  • dictionary data type.

    • dictionary: Object that maps unique keys to values.
    • configureDictionary: Create dictionary with specified key and value types.
    • insert: Add entries to a dictionary.
    • lookup: Find value in dictionary by key.
    • remove: Remove dictionary entries.
    • entries: Key-value pairs of dictionary.
    • keys: Keys of dictionary.
    • values: Values of dictionary.
    • types: Types of dictionary keys and values.
    • numEntries: Number of key-value pairs in dictionary.
    • isConfigured: Determine if dictionary has types assigned to keys and values.
    • isKey: Determine if dictionary contains key.
    • keyHash: Generate hash code for dictionary key.
    • keyMatch: Determine if two dictionary keys are the same.
  • bernsteinMatrix: Bernstein matrix.

  • orderedfields: Order fields of structure array.

  • Python interface (part 3):

    • #1160 Python operators in Nelson.
    • keyHash, keyMatch for python objects.
    • isa builtin support python types.
    • python dictionary to Nelson dictionary dictionary(pyDict)
    • conversion dictionary to python dictionary.

Changed

  • help files generated sorted by name on all platforms.
  • on windows, Qt libraries used are in debug mode.

Fixed

  • #1195 strcmp({'a'},["a"]) did not return expected value.