82 Commits

Author SHA1 Message Date
ericman314
abc19f663e Added tests for type/matrix/SparseMatrix.js 2017-02-27 20:54:10 -07:00
Pat Grasso
4cca0bf6e4 Add reshape() to Matrix types + test
This allows for one to call `reshape()` directly from an instance of
DenseMatrix (default behavior modifies in-place).
2017-02-24 11:02:43 -05:00
jos
e9eda030ee Fixed matrix.subset mutating the replacement matrix when unsqueezing it 2016-04-26 09:11:59 +02:00
jos
61f6ab0667 Merge branch 'develop' into feature/objectsupport
Conflicts:
	HISTORY.md
2016-01-03 19:49:06 +01:00
jos
2adf01e548 Getting/setting object properties working (still needs a refactoring step) 2016-01-02 15:16:12 +01:00
Jos de Jong
ed729478de lib/type/matrix/MatrixIndex.js 2015-12-24 16:01:26 +00:00
jos
931736658d Added support for getting/setting object properties to Index and math.subset 2015-12-04 09:53:35 +01:00
Ben Nelson
1a9f7bf2bc Fix a small bug with new types.SparseMatrix() 2015-10-25 14:40:48 -04:00
Rogelio J. Baucells
06c0515d4a Merge pull request #461 from rjbaucells/develop
Sparse Matrix non sorted index issue #452
2015-09-07 13:02:14 -04:00
Rogelio J. Baucells
9e47b8a316 Sparse Matrix non sorted index issue
Fixed issue #450
2015-09-03 19:45:48 -04:00
jos
9d5799f5ca Extended memoize with support for a custom hasher. 2015-07-18 13:41:06 +02:00
jos
2353c4a61e Renamed folders util to utils 2015-07-18 13:22:38 +02:00
jos
57a47b3b5a Moved pure collection functions to lib/util/collection 2015-07-18 12:53:07 +02:00
jos
493f34ec7b Split collection.js into separate (pure) functions 2015-07-18 11:47:38 +02:00
jos
d6cc806f9a Created methods Matrix.create for all DenseMatrix and SparseMatrix 2015-07-12 20:33:43 +02:00
jos
55288ffe5a The size of Arrays is no longer validated. Matrices will validate this on creation (still needs to be done for SparseMatrix). 2015-05-31 20:28:46 +02:00
Rogelio J. Baucells
7579412f7d Index dimension with immutable matrix 2015-05-20 17:41:03 -04:00
Rogelio J. Baucells
9fe3395d7f tests - partial 2015-05-13 15:26:15 -04:00
rjbaucells
464c4c5434 tests - partial 2015-05-12 22:31:23 -04:00
Rogelio J. Baucells
b7e04cb5b8 datatype optimizations - partial 2015-05-09 11:04:44 -04:00
jos
3242cd8550 Attached properties like.type === 'Complex' and .isComple to all data types 2015-05-05 14:35:45 +02:00
jos
7e3eda8603 Moved all data types and their construction functions into a folder of their own under ./lib/type 2015-05-05 13:51:24 +02:00
jos
758107428c Moved collection.js and Matrix.js under ./lib/type/matrix, moved construction functions matrix.js and sparse.js to ./lib/type/matrix/function, and created an index file. 2015-05-05 12:00:07 +02:00
Rogelio J. Baucells
1b3cf30e98 Fixed performance problems with array 2015-05-05 01:25:15 -04:00
rjbaucells
2512b74b85 Matrix datatype 2015-04-28 20:11:32 -04:00
Rogelio J. Baucells
8047a4853f multiply() - poc 2015-04-28 12:07:02 -04:00
Rogelio J. Baucells
a80d135b56 multiply() - poc 2015-04-28 00:22:23 -04:00
Rogelio J. Baucells
d535bc9aaf SparseMatrix pattern 2015-04-27 16:58:47 -04:00
Rogelio J. Baucells
748fe0d0fb CcsMatrix refactoring 2015-04-24 11:13:17 -04:00
rjbaucells
a2d2e24e76 multiply() refactoring 2015-04-22 19:46:35 -04:00
Rogelio J. Baucells
8a6ee871ae merge sync 2015-04-22 12:49:09 -04:00
Rogelio J. Baucells
9ffacdd2ec Merge branch 'v2' of https://github.com/josdejong/mathjs into josdejong-v2
Conflicts:
	test/type/matrix/CcsMatrix.test.js
	test/type/matrix/DenseMatrix.test.js
2015-04-22 12:48:42 -04:00
Rogelio J. Baucells
ae0b2cf4e9 trace() refactoring 2015-04-22 12:41:02 -04:00
Rogelio J. Baucells
c093c01d99 transpose() refactoring 2015-04-21 14:44:42 -04:00
rjbaucells
3cce748166 lusolve() function 2015-04-12 23:55:17 -04:00
rjbaucells
440c95b686 lup() function 2015-04-12 22:37:45 -04:00
Rogelio J. Baucells
fcbf6045cc lup() and lusolve() cleanup 2015-04-09 17:10:01 -04:00
Rogelio J. Baucells
cb1af441ed lusolve() 2015-04-09 16:38:00 -04:00
Rogelio J. Baucells
2772ad474a lup() for CRS & arrays 2015-04-07 17:13:19 -04:00
rjbaucells
29dae2483d swapRows() 2015-04-06 21:03:20 -04:00
Rogelio J. Baucells
337c17d257 lup() - partial 2015-04-06 17:58:05 -04:00
rjbaucells
a478198e12 lup() - partial 2015-04-05 21:08:46 -04:00
rjbaucells
314b705ef6 lup() - partial 2015-04-04 13:15:09 -04:00
rjbaucells
809f62dfa0 lup() - partial 2015-04-04 12:52:31 -04:00
rjbaucells
3b25eb8a38 lup() - partial 2015-04-03 12:51:45 -04:00
Rogelio J. Baucells
ce1c893794 algebra lup() implementation 2015-04-02 12:48:13 -04:00
rjbaucells
2cef2ae244 CCS lup - partial 2015-04-02 02:14:26 -04:00
Rogelio J. Baucells
c2de167a17 CCS lup - partial 2015-04-02 01:02:22 -04:00
Rogelio J. Baucells
2f4b5cd8f9 CCS lup - partial 2015-04-01 17:54:33 -04:00
Rogelio J. Baucells
4e7d9e5e5b math.diag() 2015-04-01 11:06:40 -04:00