josdejong
|
47c29dd990
|
ok ok now this test should work!
|
2013-04-14 21:37:10 +02:00 |
|
josdejong
|
bd7c9a5216
|
Removed broken test
|
2013-04-14 21:35:04 +02:00 |
|
josdejong
|
267307019f
|
Fixed a broken test
|
2013-04-14 21:32:47 +02:00 |
|
Bart Kiers
|
d032fc02c3
|
Added function xgcd (extended-gcd) + unit tests.
|
2013-04-14 21:31:09 +02:00 |
|
josdejong
|
d820305223
|
Prevent round-off errors in test
|
2013-04-14 21:24:54 +02:00 |
|
josdejong
|
e2bce92c04
|
More tests
|
2013-04-14 21:09:57 +02:00 |
|
josdejong
|
b627c6b617
|
Improved math.format, now outputs a max number of digits instead of a number of decimals
|
2013-04-14 14:36:02 +02:00 |
|
josdejong
|
b851f418e5
|
Implemented math.eval and a readonly option for the Parser and Scope.
|
2013-04-13 10:28:10 +02:00 |
|
josdejong
|
89a4bdd671
|
Renamed Chain to Selector and chain to select
|
2013-04-13 00:13:03 +02:00 |
|
josdejong
|
e45cb774e7
|
Chained operations via method math.chain... coool!
|
2013-04-11 22:20:17 +02:00 |
|
josdejong
|
d6ebe886b9
|
Simplified and improved the scoping of the Parser
|
2013-04-11 20:57:11 +02:00 |
|
josdejong
|
ec4219c23f
|
Renamed Unit.as to Unit.toNumber (more clear, and more consistent with the rest of the library)
|
2013-04-10 21:12:58 +02:00 |
|
josdejong
|
e682dc35bd
|
Implemented methods Unit.in and Unit.as (see issue #5)
|
2013-04-10 20:52:49 +02:00 |
|
josdejong
|
3c8fba7ae9
|
Fixed #3: implemented methods gcd and lcm
|
2013-04-09 19:56:16 +02:00 |
|
josdejong
|
d073c6cc31
|
Fixed transpose not returning result as a Matrix in case of Matrix input.
|
2013-04-06 15:32:39 +02:00 |
|
josdejong
|
5aa8a68bdd
|
Implemented transpose operator (') in parser. Fixed parsing empty matrix.
|
2013-04-06 15:12:15 +02:00 |
|
josdejong
|
34a1039599
|
Implemented matrix concatenation in the parser
|
2013-04-06 13:27:11 +02:00 |
|
josdejong
|
f2c4104ad7
|
Implemeneted method concat for matrix concatenation
|
2013-04-06 11:52:45 +02:00 |
|
josdejong
|
fbdac7cfed
|
Implemented matrix support for methods max and min
|
2013-04-05 21:18:42 +02:00 |
|
josdejong
|
c695fdd7a4
|
Implemented division with matrices (should be improved upon later...)
|
2013-04-05 20:04:05 +02:00 |
|
josdejong
|
029158e7df
|
Implemented method inv
|
2013-04-05 19:53:42 +02:00 |
|
josdejong
|
2ecac3ae3b
|
Implemented transpose
|
2013-04-03 22:32:07 +02:00 |
|
josdejong
|
78bf9dbf4a
|
Renamed identity to eye.
|
2013-04-03 22:11:06 +02:00 |
|
josdejong
|
7fc49f4058
|
Implemented method det (determinant)
|
2013-04-03 22:08:55 +02:00 |
|
josdejong
|
9eb57b5359
|
Documented Matrix and Range in readme. Fixed a bug in Matrix.set
|
2013-04-01 21:39:54 +02:00 |
|
josdejong
|
04f51c5beb
|
Implemented Matrix support for all methods
|
2013-04-01 15:30:25 +02:00 |
|
josdejong
|
5c693ac4fb
|
Moved test files
|
2013-04-01 13:58:37 +02:00 |
|
josdejong
|
31eef84361
|
Changed Matrix.get and Matrix.set to one-based instead of zero-based.
|
2013-04-01 13:53:49 +02:00 |
|
josdejong
|
fcbe4cb8a4
|
Implemented getting and setting submatrices in the Parser
|
2013-04-01 12:55:36 +02:00 |
|
josdejong
|
94dcb19451
|
Implemented Range.parse
|
2013-04-01 10:58:59 +02:00 |
|
josdejong
|
71e8118b39
|
Implemented methods get, set, map, indexOf for Matrix. Some fixes in Matrix and Range.
|
2013-03-31 21:02:53 +02:00 |
|
josdejong
|
c487f3bfa4
|
Implemented matrix.get for a set
|
2013-03-30 13:28:18 +01:00 |
|
josdejong
|
5ea8366d3e
|
Implemented method squeeze
|
2013-03-28 21:44:29 +01:00 |
|
josdejong
|
b07920fac8
|
Removed Vector, as it is redundant with Matrix and only adds complexity.
|
2013-03-28 21:05:05 +01:00 |
|
josdejong
|
0309f62e3f
|
Renamed method eye to identity
|
2013-03-28 20:17:21 +01:00 |
|
josdejong
|
17d9546c0b
|
Added some tests
|
2013-03-27 21:29:34 +01:00 |
|
josdejong
|
7a5878c212
|
Refactored Parser, Scope, and Workspace inside a closure. Added a travis config file.
|
2013-03-27 20:52:16 +01:00 |
|
josdejong
|
af7360b5e4
|
Created construction methods for easily creating data types. Moved the data types and parser to another namespace.
|
2013-03-26 22:06:48 +01:00 |
|
josdejong
|
8cd6bd5396
|
implemented method diag
|
2013-03-24 20:55:04 +01:00 |
|
josdejong
|
05f26c6e37
|
Parser now returns a Matrix instead of an Array. Some fixes and extensions in Matrix, Vector, and Range
|
2013-03-24 20:07:48 +01:00 |
|
josdejong
|
015701afa6
|
Implemented/improved metods ones, zeros, eye
|
2013-03-23 21:30:53 +01:00 |
|
josdejong
|
53e5043af0
|
Bug fixed in Matrix.set
|
2013-03-23 20:15:27 +01:00 |
|
josdejong
|
e64aed8573
|
Implemented method get, set, resize for Matrix and a lot of other improvements.
|
2013-03-23 20:08:21 +01:00 |
|
josdejong
|
d89abd826a
|
Improved method size to calculate correct size for empty (zero) dimensions
|
2013-03-23 13:56:46 +01:00 |
|
josdejong
|
c080426140
|
Rearrangements in the utility methods (format, size, map, forEach)
|
2013-03-23 12:33:48 +01:00 |
|
josdejong
|
1f2c87a494
|
Extended methods of Range (map, forEach, size) and Vector (resize, get, set, toString)
|
2013-03-22 22:35:40 +01:00 |
|
josdejong
|
676cf0029c
|
Moved script to run all tests from ./test/all.js to Jakefile.js
|
2013-03-22 20:47:18 +01:00 |
|
josdejong
|
598262b81a
|
Implemented data type Range, method range, and range support in the Parser.
|
2013-03-22 20:42:40 +01:00 |
|
josdejong
|
8571f132ad
|
changed precedence of unary minus: power now goes before unary minus (see #2)
|
2013-03-22 20:10:07 +01:00 |
|
josdejong
|
5a584eb56e
|
implemented Vector. added functionality to Matrix
|
2013-03-21 21:57:18 +01:00 |
|