86 Commits

Author SHA1 Message Date
Rogelio J. Baucells
4e7d9e5e5b math.diag() 2015-04-01 11:06:40 -04:00
Rogelio J. Baucells
f7b298cee1 math.eye() 2015-03-31 17:38:19 -04:00
jos
8cfabebdfb Oops. committed missing files 2015-03-31 22:23:32 +02:00
jos
8a68bb56e4 Merged math.js v1.5 into v2. Format support of functions eye and diag still needs to be fixed 2015-03-31 22:07:47 +02:00
jos
d4a457f5c9 Refactored norm, nthRoot, round, diag, transpose to typed-functions. 2015-03-22 15:34:59 +01:00
rjbaucells
f144b73c14 math.diag() 2015-03-16 20:40:45 -04:00
rjbaucells
246c1e235e partial math.diag() 2015-03-15 22:23:55 -04:00
rjbaucells
00ce77d540 CCS tests 2015-03-15 13:01:39 -04:00
rjbaucells
5713b988ed matrix functions & tests 2015-03-14 19:56:16 -04:00
rjbaucells
b1166871ac math.ones() 2015-03-12 19:57:31 -04:00
Rogelio J. Baucells
188edd8180 math.trace() 2015-03-12 14:56:54 -04:00
Rogelio J. Baucells
5e1f557f54 math.zeros() 2015-03-12 12:13:14 -04:00
rjbaucells
23391f4dea Test updates 2015-03-12 00:21:01 -04:00
rjbaucells
fb70dc8272 Matrix transpose implementation 2015-03-10 22:38:41 -04:00
Rogelio J. Baucells
2077c39885 Matrix inheritance implementation 2015-03-10 15:28:19 -04:00
jos
db4a004e58 Merge branch 'develop' into v2
Conflicts:
	HISTORY.md
2015-02-20 19:56:12 +01:00
jos
8edf472478 Upgraded to typed-function v0.6.1, more functions refactored. 2015-02-07 20:29:32 +01:00
Pete Corey
457c8d288a Renamed tr to trace 2015-01-29 11:20:49 -08:00
Pete Corey
5e3bb7e8dd Added trace matrix operation 2015-01-27 12:28:04 -08:00
jos
19c2024524 Halfway reworking more functions (lot of stuff is broken at this point) 2015-01-17 21:09:39 +01:00
jos
6cefd52557 Refactored the first few functions into typed-functions 2015-01-11 15:29:40 +01:00
jos
8f37893c61 Implemented function cross (cross product for vectors). 2014-11-08 17:57:51 +01:00
jos
50fb91346b Implemented function dot (dot product for vectors). 2014-11-08 16:13:32 +01:00
jos
454efa15dc Merge branch 'develop'
Conflicts:
	HISTORY.md
2014-08-21 20:41:32 +02:00
jos
7f6b13a797 Changed the default value of new entries in resized matrices to zero. 2014-08-12 22:35:56 +02:00
jos
0860c70a6e Implemented function flatten 2014-08-12 21:17:27 +02:00
jos
f3f5819718 Fixed function subset not being able to return a scalar value null or undefined (see #205) 2014-08-06 09:46:08 +02:00
jos
8a12c8e9bc Fixed #200: A new instanceof of math.js must now be created as math.create([options]) instead of math([options]) 2014-08-03 21:42:12 +02:00
jos
e5ce909524 Reworked the way matrices are resized when dimensions are added/removed 2014-08-03 15:56:39 +02:00
jos
8c224d3e71 Moved transformation of error messages (zero-based to one-based) to the expression/transform section 2014-07-20 20:45:10 +02:00
jos
21b34cfa1a Implemented transforms, moved all one-based to zero-based logic for expressions to transforms. 2014-07-19 21:47:15 +02:00
jos
7d84e4daf0 Math.js now immediately returns a default instance of mathjs, no need to create an instance every time you want to use the library. 2014-06-20 23:11:14 +02:00
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