josdejong
97cbb0093f
Moved errors to their own namespace and folder
2014-04-11 18:02:29 +02:00
josdejong
b7d016b626
Added bignumber support for improved function det.
2014-04-09 08:28:37 +02:00
josdejong
492d7f4c4f
Moved ArgumentsError from lib/type/ to lib/util/
2014-04-06 21:25:46 +02:00
josdejong
d0fb727c43
Implemented DimensionError and IndexError
2014-04-06 20:53:23 +02:00
josdejong
a7b24eca8c
Implemented BigNumber support for function diag
2014-04-06 12:57:55 +02:00
josdejong
45550e5ffb
Changed configuration option decimals to precision
2014-04-06 11:14:01 +02:00
josdejong
fab41839bc
Implemented BigNumber support for function det
2014-04-05 23:30:46 +02:00
josdejong
0ea333351c
Fixed broken unit test
2014-04-05 22:55:49 +02:00
josdejong
42748689a1
Removed preliminary rounding of results of det
2014-04-05 22:53:38 +02:00
josdejong
ad554ef1f7
Updates and fixes to work with a different BigNumber instance per math.js instance
2014-04-05 22:42:03 +02:00
josdejong
f568ae75c1
More unit tests added
2014-04-03 20:58:43 +02:00
josdejong
9ae103c394
More unit tests
2014-03-21 21:38:26 +01:00
josdejong
f51f4454f5
More unit tests
2014-03-17 21:29:52 +01:00
josdejong
e8cb8f91ce
Some more unit tests
2014-03-15 23:05:20 +01:00
Finn
8b2a6a13f3
Improved det tests and fixed bug
...
Before the det function changed the original values of the input array/matrix. I fixed this problems and added tests to account for that. I additionally added some more tests and enforced the input to be an array or a matrix since determinants are not defined for other types
2014-02-09 17:26:33 +01:00
josdejong
36c38982e5
ArgumentsError now extends Error instead of SyntaxError
2014-01-31 23:22:17 +01:00
josdejong
8e814cbc82
Implemented an argument includeEnd for function range (false by default)
2014-01-01 19:03:15 +01:00
josdejong
f2f1ae1f72
Renamed and flattened configuration settings
2013-12-07 11:39:45 +01:00
josdejong
77c3b48df1
Implemented bignumber support for function range
2013-11-27 13:06:46 +01:00
josdejong
7ab15f1d29
Implemented bignumber support for functions eye, ones, resize, size, zeros, factorial
2013-11-23 20:48:01 +01:00
josdejong
3a4c1c5ef0
Internally renamed variable options to settings
2013-11-21 13:39:24 +01:00
josdejong
b366d97a20
Function resize now has an extra optional parameter defaultValue
2013-11-21 12:09:12 +01:00
josdejong
ea51c6c86c
math.options is no longer exposed as property
2013-11-21 10:37:04 +01:00
josdejong
d9090588b0
Implemented function math.resize
2013-11-15 21:23:22 +01:00
josdejong
bd318ad837
Function size now adheres to the option matrix.defaultType for scalar input
2013-11-07 22:56:21 +01:00
josdejong
a19b1a1285
Functions ones and zeros now return an empty matrix instead of a number 1 or 0 when no arguments are provided
2013-11-07 17:16:34 +01:00
josdejong
b071e5daba
Removed utility functions isScalar, toScalar, isVector, toVector from Matrix and Range.
2013-10-31 10:54:42 +01:00
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
a4bda611df
Implemented function print (splitted from function format)
2013-10-19 18:10:50 +02:00
josdejong
3c7174c764
Renamed options to math.options.format.precision and math.options.matrix.defaultType
2013-10-19 15:00:32 +02:00
josdejong
5481b0a663
Introduced an option math.options.matrix.default which can have values matrix (default) or array. This option is used by the functions eye, ones, range, and zeros, to determine the type of matrix output.
2013-10-01 20:37:28 +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
2dc6ac6cdf
Implemented support for booleans in all relevant functions
2013-09-02 21:36:52 +02:00
josdejong
86ea2a7343
Removed support for scalars from function subset
2013-08-31 20:28:45 +02:00
josdejong
6273ad998f
Removed usage of math.eval from function unit tests
2013-08-31 10:53:14 +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
d7e4766756
Merge remote-tracking branch 'origin/develop' into develop
...
Conflicts:
test/function/matrix/squeeze.test.js
test/function/matrix/subset.test.js
2013-08-18 14:38:21 +02:00
josdejong
9cb354a6da
Index functionality getting in place now.
2013-08-18 14:37:03 +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
a3b44340e4
refactored test/function/matrix and test/function/probability to mocha
2013-08-17 03:04:07 +04: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
20e4456747
Fixed #26 : functions ones and zeros now adhere to geometric dimensions.
2013-08-11 13:33:11 +02:00
josdejong
0b45b89dd0
Fixed #56 : not allowing matrices with empty dimensions like [[],[]]
2013-08-10 22:06:20 +02:00
josdejong
aa471db411
Upperbound of range is now excluded
2013-08-09 22:09:46 +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