stsievert / swix

Swift Matrix Library
http://docs.stsievert.com/swix/
MIT License
593 stars 54 forks source link

Pull request 10 merge #11

Closed stsievert closed 9 years ago

stsievert commented 9 years ago

Work also done by @harenbrs on PR #10 (which closes issue #9.). More work had to be done to further integrate with XCode7b4, the reason this is a separate PR.

Work also done to change this library for Swift 2 semantics; we use print instead of println. The addition of the keyword repeat means that our function repeat is now called with

`repeat`(x, N:2)

to make vector x twice as long.