85 Commits

Author SHA1 Message Date
Max Bruckner
637d728f59 zeros: fix typo in error message (eye --> zeros) 2015-04-25 21:25:46 +02:00
jos
1990edc90f Added docs and and example on sparse matrices 2015-03-28 15:55: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
7163c7997d math.resize() 2015-03-12 23:39:59 -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
Rogelio J. Baucells
b4463d9ef3 Initial require() changes 2015-03-04 13:53:32 -05:00
jos
70a476c357 Replaced all require('decimal.js') with require('../type/BigNumber'), containing the toJSON and fromJSON methods for BigNumber 2015-02-18 20:41:27 +01:00
jos
beb4e2e536 Released version 1.3.0 2015-02-09 21:43:00 +01:00
Pete Corey
457c8d288a Renamed tr to trace 2015-01-29 11:20:49 -08:00
Pete Corey
f33bcbefeb Fixed typo 2015-01-27 12:31:14 -08:00
Pete Corey
5e3bb7e8dd Added trace matrix operation 2015-01-27 12:28:04 -08:00
jos
950c27df3e Removed the circular dependency between divide and inv (introduced _divide) 2014-12-24 14:51:45 +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
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
40986a1325 Using strict mode now in all files (added 'use strict'; on top of every file) 2014-07-18 23:19:14 +02:00
jos
62a446ab34 Improved index out of range errors. 2014-07-17 21:00:24 +02:00
jos
4719d213de Created docs page with alphabetical function reference 2014-06-23 22:22:42 +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
jos
ced18ecfca Implemented functions dotEqual and dotUnequal, renamed functions smallereq to smallerEq and largereq to largerEq (all functions are now camelcase) 2014-06-09 14:07:21 +02:00
jos
abf1b02ee9 Renamed function unary to unaryminus. Documented and tested constant phi. 2014-06-08 20:12:07 +02:00
jos
2f467002d8 Upgraded to decimal.js v3.0.0. Fixed #189: not being able to load math.js using require.js. 2014-06-05 21:21:14 +02:00
jos
31aa5655b1 Added a section "Where:" to some of the reference docs 2014-05-22 22:15:40 +02:00
jos
9ebc24662f More reference docs added 2014-05-22 21:17:53 +02:00
jos
830367a494 More docs added 2014-05-18 22:21:00 +02:00
josdejong
97cbb0093f Moved errors to their own namespace and folder 2014-04-11 18:02:29 +02:00
josdejong
922ce679e6 Moved UnsupportedTypeError to the others, and made it independent of the math namespace 2014-04-11 17:44:55 +02:00
josdejong
b7d016b626 Added bignumber support for improved function det. 2014-04-09 08:28:37 +02:00
josdejong
27df7e0660 Fixed merge conflicts 2014-04-09 08:14:02 +02:00
Bryan Cuccioli
8692d7ffa1 Implement poly-time determinant without divisions.
This is based on the paper 'A Simple Division-Free Algorithm for
Computing Determinants' (Bird 2011).
2014-04-07 07:10:06 +00: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
8cea27406b Some internal refactoring 2014-04-06 11:22:13 +02:00
josdejong
fab41839bc Implemented BigNumber support for function det 2014-04-05 23:30:46 +02:00
josdejong
42748689a1 Removed preliminary rounding of results of det 2014-04-05 22:53:38 +02:00