Skip to content

Releases: Jounce/Surge

2.3.0: Algebra & Random improvements

02 Nov 17:22
Compare
Choose a tag to compare

What's Changed

New Features

  • Added Vector<Scalar> type (#110).
  • Added diagonal/eye/identity & closure initializers to Matrix<Scalar> (#111, #134).
  • Added shape property to Matrix<Scalar> (#152).
  • Added variance function (#133).
  • Added random/randomNormal functions for efficiently generating batches of random values (#154, #156).

Maintenance

Element-wise operators

30 Jun 18:03
Compare
Choose a tag to compare

The plus + operator is used by Swift for array concatenation. This caused some confusion with Surge's + element-wise addition. For this version all element-wise operators are preceded by a dot: .+.

This version also updates to Swift 4.0 and adds a few extra functions.

Swift 3.2

19 Sep 15:16
Compare
Choose a tag to compare

It took a while but it's finally here. This version support Swift 3.2 and Xcode 9.

Other changes include:

  • Fix Matrix initialization bug
  • Add Swift Package Manager support
  • Fix Carthage support.
  • Make rows and columns properties public
  • Add sum of square values.
  • Add some helper methods for matrix
  • Add subscript support to return specific row or column
  • Add support for scaling matrix by row or by column
  • Make pow support applying to every element
  • Add subtract method and operator

Final Release targeting Swift 1.x

11 Dec 19:20
Compare
Choose a tag to compare

This release is the last version to support Swift 1.0. Surge 2.x releases will support Swift 2.0.