29 Commits

Author SHA1 Message Date
josdejong
8cc9ceb980 Changed all source files into node.js modules 2013-08-05 23:05:23 +02:00
josdejong
d9f34677b4 Renamed all test files to *.test.js 2013-08-04 14:46:22 +02:00
josdejong
c5edb419d8 Moved the library builds math.js and math.min.js to subfolder dist 2013-08-04 14:39:42 +02:00
josdejong
19b507b9f0 Refactored all code to 2 space indentation 2013-08-04 14:07:47 +02:00
josdejong
e9b9f0c4e3 Changed matrix indexes from one-based to zero-based (Fixed #23) 2013-07-21 22:11:11 +02:00
josdejong
a8879df0a8 Added the docs again to the library (yes yes that makes it bigger. We wil enable custom, stripped builds later on) 2013-07-04 13:40:09 +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
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
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
b07920fac8 Removed Vector, as it is redundant with Matrix and only adds complexity. 2013-03-28 21:05:05 +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
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
1f2c87a494 Extended methods of Range (map, forEach, size) and Vector (resize, get, set, toString) 2013-03-22 22:35:40 +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
5a584eb56e implemented Vector. added functionality to Matrix 2013-03-21 21:57:18 +01:00
josdejong
3e29acbee2 data type Matrix created 2013-03-19 22:08:43 +01:00
josdejong
cf8cf46d63 Renamed methods 'copy' to 'clone' 2013-03-19 20:34:21 +01:00
josdejong
d2f605de23 Fixed determining correct prefix for negative units 2013-03-16 12:54:05 +01:00
josdejong
4b1eeaf79b parser for complex values improved 2013-03-14 19:57:21 +01:00
josdejong
3e882c3c0d - Improved the complex number parser
- Improved method typeof
2013-03-12 21:09:46 +01:00
josdejong
6faacfb120 Moved Complex and Unit to the main namespace math 2013-02-25 20:44:37 +01:00
josdejong
c896eae319 Parser implemented 2013-02-23 23:45:51 +01:00
josdejong
6d79c4dcb1 Added some more tests 2013-02-18 21:33:47 +01:00