Skip to content

11.0.0

Compare
Choose a tag to compare
@mmottl mmottl released this 28 Feb 20:51
· 76 commits to master since this release
11.0.0

11.0.0 (2018-02-28)

WARNINIG WARNING WARNING

  • User code changes in existing code required! User code may still compile,
    but can behave differently!

    The following functions are affected:

    • potrf
    • potri
    • potrs

    The above functions now do not support the jitter argument anymore.
    Users should remove the flag from calls to the above functions and
    call the new Mat.add_const_diag function if they need to add jitter.
    This call should happen right before the (now required) call to potrf.

    More importantly, potri and potrs now do not support the factorize
    flag anymore, which would call potrf automatically beforehand. This was
    the (ill-conceived) default, which makes it harder to port LAPACK code
    to Lacaml. In order to upgrade your code, please do the following:

    • If potri or potrs were passed ~factorize:false, just remove
      the flag.

    • If potri or potrs were passed ~factorize:true or were called
      without the factorize flag
      , remove the flag if necessary and call
      potrf with the exactly corresponding arguments before.

    Luckily, these functions are typically used rarely, and the changes
    are trivial. Apologies anyway for the churn!

  • New functions

    • Mat.add_const_diag for adding a constant to the diagonal of a
      (sub-)matrix.
  • orgqr now detects if m < n and raises an exception instead of printing
    a Fortran error message and continuing.

  • Eigenvalue offsets should now work correctly.

  • Improved documentation.