Commit Graph

345 Commits

Author SHA1 Message Date
Mattt 36e024e9aa
Merge pull request #109 from regexident/upgrade-xcode-settings
Upgrade to recommended project settings
2019-08-19 06:25:34 -07:00
Vincent Esche 000b15a40b Upgraded to recommended project settings 2019-08-07 13:14:37 +02:00
Mattt 47781d81b2
Merge pull request #103 from regexident/readme
Added human-readable labels and links …
2019-07-31 20:13:21 -07:00
Vincent Esche 0f4ab287d6 Added human-readable labels and links to corresponding Wikipedia articles for each of the listed functions in the README file 2019-07-31 23:55:32 +02:00
Luke Reichold 63da6b60f7 Add README badges indicating CocoaPods and SPM compatibility (#99) 2019-05-05 10:08:14 -07:00
Vincent Esche 28d1cb935d Migrated to Swift 5 (#97) 2019-04-24 09:04:38 -07:00
Lou Franco a6dd5f622e Matrix eigendecomposition (#95)
Added Two function that calculate the eigen-values and right eigen vectors for a given Matrix.
2019-02-09 07:18:07 -08:00
Mattt 3a99c1d0ad
Remove outdated performance benchmarks 2018-12-23 08:33:36 -08:00
Alejandro Isaza 78fa390bb2
Allow empty matrix multiplication (#93) 2018-11-30 15:21:59 -08:00
Alejandro Isaza 5a764136ac Add check for empty matrix multiplication
Fix #92
2018-11-30 10:43:44 -08:00
Alejandro Isaza 38a328eefe Fix Swift version declaration
Should have been 4.1. Fixes #91
2018-10-24 14:52:02 -07:00
Alejandro Isaza 75f2749411 Add Swift version to README 2018-10-24 09:05:12 -07:00
Alejandro Isaza 8f1bb85125 Add numericCast to avoid watchOS compiler problems
Fix #89
2018-09-25 16:16:36 -07:00
Ling Wang d393ae3f0e Make it safe to use in App Extensions (#88) 2018-09-11 15:03:04 -07:00
Alejandro Isaza 3b2ec9cde6
Run SwiftLint in CI (#84) 2018-08-18 09:30:37 -07:00
Mattt 3e583eca44
Add deployment targets for tvOS and watchOS 2018-08-18 04:42:30 -07:00
Mattt 7b8eaa3613
Fix swiftlint warnings for implicit_return 2018-08-18 04:38:20 -07:00
Alejandro Isaza 245bd8faeb Fix dot product precedence 2018-05-05 10:00:21 -07:00
Ilya Mikhaltsou 1e96fab730 Changed element-wise operators from + to .+ to resolve #58 (#80) 2018-05-05 09:54:56 -07:00
Alejandro Isaza bb3e9b48d1 Add sqrt implementation that takes custom storage 2018-05-03 12:07:56 -07:00
Alejandro Isaza 37c376023c Add precondition checks, fix div and sub bugs 2018-05-03 12:05:19 -07:00
Ilya Mikhaltsou 1067f508be Optimized performance of Matrix initialization and added some operations (#78)
Matrix initialization from grid
Added methods for single row and column initialization
Changed raw matrix initialization to sequence to allow Matrix creation without redundant Array creation and copying
Added Matrix<Float> sum method
Added Matrix + Scalar operator for Double and Float matrices
2018-04-21 11:05:25 -10:00
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