Commit Graph

123 Commits

Author SHA1 Message Date
Alejandro Isaza 5b58df022d Use Xcode 9.3 in TravisCI 2018-04-21 14:00:24 -07:00
Alejandro Isaza 26c49190ce Add missing statistics functions 2018-04-01 22:23:35 -07:00
Alejandro Isaza bc62ae82fb Add missing operators 2018-04-01 22:22:47 -07:00
Alejandro Isaza f0bb97591b Add IDETemplateMacros 2018-04-01 12:27:11 -07:00
Alejandro Isaza a3f3153c3c
Add UnsafeMemory abstraction (#77)
This simplifies the code dealing with unsafe pointers and allows
using existing functions with other collections.

Also update the copyright notices.
2018-04-01 12:23:36 -07:00
Alejandro Isaza e600211d32 Fix Xcode 9.3 warnings 2018-03-06 17:21:28 -08:00
Alejandro Isaza 04f1b85527 Add function to compute matrix determinant
Fix #73
2017-11-25 13:27:22 -08:00
Alejandro Isaza 5f2e08b924 Add matrix subtraction
Fix #59
2017-11-25 12:27:50 -08:00
Alejandro Isaza e5445f0db8 Enable opt-in SwiftLint rules
Lint all schemes
2017-11-25 12:17:56 -08:00
Alejandro Isaza d893bff5cf
Add macOS, tvOS and watchOS targets (#74) 2017-11-18 10:51:01 -08:00
Alejandro Isaza 7c1b6ea3fc Add linter, fix linter warnigns, uncomment tests 2017-09-24 23:07:45 -07:00
Alejandro Isaza 6665edfcee Set test time baselines 2017-09-24 22:37:25 -07:00
Alejandro Isaza 7ba88899f3 Finish support for ContinuousCollection 2017-09-24 22:31:52 -07:00
Alejandro Isaza bbdd8626b2 Support ContinuousCollection in Auxiliary funcs 2017-09-23 13:38:20 -07:00
Alejandro Isaza 6037115ac0 Add ContinuousCollection protocol
This allows you to use ArraySlice and other collections (including
user-supplied ones) with Surge as long they are represented as
continuous arrays in memory.
2017-09-23 13:35:58 -07:00
Alejandro Isaza 19606424a3 Remove extra function labels
Second parameter funcion labels seem to have been introduced when
switching to newer Swift versions. Removing them made the code cleaner.
2017-09-23 13:06:25 -07:00
Alejandro Isaza 67300a52b5 Fix project 2017-09-22 22:42:42 -07:00
Alejandro Isaza 416d114403 Use Swift tools version 4.0
Fix #71
2017-09-22 22:36:13 -07:00
Alejandro Isaza f86da504d4 Update to Swift 4.0 2017-09-22 22:35:58 -07:00
Alejandro Isaza ff46730fd2 Update README with installation instructions
Add SPM and CocoaPods
2017-09-22 13:47:28 -07:00
Alejandro Isaza 0f13bc62cf Correct use of unsafe pointers
All pointer use should happen inside a `withPointer` block so that the
compiler is aware of this unmanaged access. Fixed this everywhere and
added a few helper methods to make it less unwiedly.
2017-09-19 23:03:31 -07:00
Alejandro Isaza ccb3f3fb8f Update podspec for v2.0.0 2017-09-19 08:10:43 -07:00
Alejandro Isaza 5e9418d179 Fix Matrix init bug, for real now
Fix #57
2017-09-19 08:06:41 -07:00
Sarah Smith f1037d721e Improve Carthage badge on README 2017-09-18 22:47:28 -07:00
Sarah Smith 5bc5728f1f Update README w Carthage compatibility 2017-09-18 22:46:53 -07:00
Sarah Smith ed4f3d7441 Fix Carthage support.
Make the xcodeproj scheme a shared scheme, remove
spurious (empty) Cartfile & Cartfile.resolved files.
2017-09-18 22:46:53 -07:00
Alejandro Isaza f48202a194 Make rows and columns properties public
Fix #32
2017-09-18 22:39:14 -07:00
Alejandro Isaza e706bb9b32 Fix initialization bug, add test (fix #57) 2017-09-18 22:29:11 -07:00
Alejandro Isaza f5f2289398 Remove file names from header comments
Also add the license to a couple files that were missing it and include
the readme, license and Package.swift in the Xcode project for
convenience.
2017-09-18 21:52:32 -07:00
orthographic-pedant f88a449446 Fixed typographical error, changed auxilliary to auxiliary in README. 2017-09-18 21:46:41 -07:00
Disi A 1476447d61 Adding sum of square values. 2017-09-18 21:38:54 -07:00
Alejandro Isaza 64d93875a2 Update .gitignore and remove user-specific files 2017-09-18 21:34:22 -07:00
Alejandro Isaza ddb1ca65fb Move tests to conform to SPM file layout 2017-09-18 21:22:05 -07:00
Alejandro Isaza 093f7ba487 Fix errors and warnings in Xcode 9 2017-09-18 21:16:58 -07:00
Robert F. Dickerson 88bc48b14b Merge pull request #48 from lennet/swift3
Swift 3 support
2016-09-17 19:47:13 -05:00
Leo Thomas 30203b8a88 Migrated Sources & Tests to Swift 3 2016-09-17 22:50:02 +02:00
Robert F. Dickerson 1039f8f952 Update .travis.yml 2016-09-14 12:09:43 -05:00
Robert F. Dickerson 9cfc2351ec Merge pull request #41 from jasonhotsauce/master
Add some support methods for `Matrix`
2016-02-26 13:38:44 -06:00
Wenbin Zhang fe8c02bcf9 Add some helper methods for matrix.
* Add `subscript` supports return specific rows or columns
* Add support for scaling matrix by row or by column.
* Make `pow` supports applying to every elements in vector.

Make Matrix confirms to Equatable and add some tests

Implement set columns in Matrix, add test for it

Add Test for element wise multiplication
2016-02-26 11:17:10 -08:00
Wenbin Zhang 9ab5939fb9 Add Subtract method and operator 2016-02-26 11:15:46 -08:00
Wenbin Zhang aff7fd300d Add subscript in Matrix to return the row. 2016-02-26 11:15:46 -08:00
Robert F. Dickerson 27da496b87 Update README.md 2016-02-21 08:31:28 -06:00
Robert F. Dickerson 8a3eeffde7 Update README.md 2016-02-21 08:31:10 -06:00
Robert F. Dickerson 11715e0c8d Merge branch 'master' of https://github.com/mattt/Surge 2016-02-20 22:01:26 -06:00
Robert F. Dickerson fce9f6e971 Added Swift Package Manager support 2016-02-20 22:01:16 -06:00
Robert F. Dickerson cc35e300e2 Added the Travis CI build badge 2016-02-17 09:10:27 -06:00
Robert F. Dickerson e455b666b2 Removed AuxiliaryTests temporarily 2016-02-17 09:01:10 -06:00
Robert F. Dickerson 82c4230427 Merge branch 'master' of https://github.com/mattt/Surge 2016-02-17 08:44:34 -06:00
Robert F. Dickerson bf9e58fd53 Made Surge scheme shared for Travis CI 2016-02-17 08:44:29 -06:00
Robert F. Dickerson 7a5a7f4bfa Update .travis.yml 2016-02-17 08:43:35 -06:00