josdejong
|
d2e55a0132
|
Math.js must be instantiated now, static calls are no longer supported
|
2013-10-26 15:00:06 +02:00 |
|
josdejong
|
c8a289a08c
|
Removed unnecessary .js suffix in module require statements
|
2013-10-20 14:01:31 +02:00 |
|
josdejong
|
e61d2f965b
|
Fixes in the new function math.format(precision). Updated docs and tests.
|
2013-10-19 21:44:54 +02:00 |
|
josdejong
|
a4bda611df
|
Implemented function print (splitted from function format)
|
2013-10-19 18:10:50 +02:00 |
|
josdejong
|
f48c07bdd8
|
Getting or setting a subset of a matrix will automatically squeezed/unsqueezed the submatrix
|
2013-09-25 21:59:35 +02:00 |
|
josdejong
|
b683d5eecf
|
All construction functions can be used to convert the type of variables, also element-wise for all elements in an Array or Matrix
|
2013-09-02 22:38:41 +02:00 |
|
josdejong
|
47c4b4c3a7
|
Replaced functions get and set of Matrix with a single function subset
|
2013-08-31 21:20:02 +02:00 |
|
josdejong
|
eadb884af9
|
Moved around code and namespaces in order to separate expression parser related code.
|
2013-08-31 09:37:14 +02:00 |
|
Sebastien Piquemal
|
bf005f41a2
|
added tests for map and forEach
|
2013-08-30 13:05:04 +04:00 |
|
Sebastien Piquemal
|
fe2c2b59d2
|
added math.map function see #68
|
2013-08-28 18:34:15 +04:00 |
|
josdejong
|
7f58398053
|
Completed missing descriptions in tests
|
2013-08-19 21:07:45 +02:00 |
|
josdejong
|
3341cd387a
|
Fixed failing unit tests
|
2013-08-19 12:54:36 +02:00 |
|
josdejong
|
22690a733f
|
Merge remote-tracking branch 'origin/develop' into develop
Conflicts:
test/function/utils/select.test.js
test/type/matrix.test.js
test/type/range.test.js
|
2013-08-19 12:44:26 +02:00 |
|
josdejong
|
35e789d3fe
|
Made math.subset, Matrix.get, Matrix.set more strict: only accept an Index
|
2013-08-18 15:28:20 +02:00 |
|
josdejong
|
d18e2c69a4
|
Adjusted tests for new Index
|
2013-08-18 15:10:26 +02:00 |
|
josdejong
|
9cb354a6da
|
Index functionality getting in place now.
|
2013-08-18 14:37:03 +02:00 |
|
josdejong
|
8e9224c60b
|
Removed the subset functionality from Index, makes more sense to put that in Matrix
|
2013-08-18 13:46:10 +02:00 |
|
Sebastien Piquemal
|
e705a99411
|
moved the remaining tests to mocha
|
2013-08-17 22:57:13 +04:00 |
|
josdejong
|
24b3b7eb43
|
First implementation of Index and math.index
|
2013-08-17 15:35:48 +02:00 |
|
josdejong
|
7935546630
|
Removed type Range. function math.range now returns an expanded series
|
2013-08-17 13:42:57 +02:00 |
|
Sebastien Piquemal
|
a6b4ad7526
|
fixed tests
|
2013-08-14 15:43:32 +04:00 |
|
Sebastien Piquemal
|
aa0249d458
|
fixed npm install, changed src to lib
|
2013-08-14 15:00:12 +04:00 |
|
josdejong
|
3f79c70473
|
Improved module structure, removed references to a global namespace
|
2013-08-11 20:42:32 +02:00 |
|
josdejong
|
0b45b89dd0
|
Fixed #56: not allowing matrices with empty dimensions like [[],[]]
|
2013-08-10 22:06:20 +02:00 |
|
josdejong
|
d76602a2ee
|
Changed syntax of range to range(start, end [, step])
|
2013-08-09 22:33:58 +02:00 |
|
josdejong
|
aa471db411
|
Upperbound of range is now excluded
|
2013-08-09 22:09:46 +02:00 |
|
josdejong
|
fe06d514e0
|
Created shared module math.js for all functions (resolves circular references)
|
2013-08-06 21:50:15 +02:00 |
|
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 |
|