Opened 3 years ago

Closed 3 years ago

#16107 closed enhancement (fixed)

libqalculate-4.0

Reported by: Bruce Dubbs Owned by: Bruce Dubbs
Priority: normal Milestone: 11.1
Component: BOOK Version: git
Severity: normal Keywords:
Cc:

Description

libqalculate nees to be added to the Chapter 9 currency scripts

Change History (3)

comment:1 by Bruce Dubbs, 3 years ago

Summary: libqalculate currencylibqalculate-4.0

Currency fixed at currency commit aae7701d009b8ba129ffa987f8b550aad50bcc5b

But now there is a new major version, 4.0.

comment:2 by Bruce Dubbs, 3 years ago

Changes:

  • New matrix syntax (column separated by space or comma, rows separated by semicolon, as in matlab)
  • Do not make any difference between a vector and a matrix with a single row, or between a scalar and matrix with a single element
  • Support input of functions, units, and variables with underscores omitted in names (e.g. µ0 = µ_0, FermiCoupling = fermi_coupling), with some exceptions
  • Option to disable "simplified" percentage calculations (e.g. interpret 100 + 20% as 100 + 0.2 instead of 100 × 120%)
  • Option to truncate numbers (instead of round to nearest) in result
  • Convert K, Hz, and 1/m to J (and derived units) using conversion factor constants (e.g. 1/(550nm) to eV ≈ 2.25 eV)
  • Allow use of M as 106 without unit
  • New ksi unit
  • New functions: divisors(), rate(), vertcat(), horzcat()
  • New plastic number (ρ) constant, and new "hbar" name for reduced Planck constant, and add second Unicode codepoint for µ-sign in constants
  • Allow zero (1st and/or 2nd argument) in comb() and perm(), and return zero if second argument (k) is greater than the first (n)
  • Calculate statistical functions (e.g. mode(), min(), max(), percentile()) separately for each column of matrix
  • Return the lowest value if there are multiple values with equal frequency in mode()
  • Parse text argument as expression if concatenate function name is found in text string, and fix concatenate returning date
  • New layout for output of result of matrices and equations (qalc)
  • Fix Unicode handling on platforms where char is not signed
  • Fix bitrot()
  • Fix segfault in multisolve() when initial order of equations is not optimal
  • Fix segfault with empty sqrt inside sqrt, e.g. sqrt(1+sqrt())
  • Fix incompletely calculated nounit(), e.g. in unit conversion
  • Minor bug fixes and feature improvements (see the ChangeLog for more details)

comment:3 by Bruce Dubbs, 3 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.