38 Commits

Author SHA1 Message Date
jos
949261f92b Refactored usage of properties .isRange, .isIndex, .isResultSet, and .isHelp for their (safe) function equivalents 2017-08-12 13:31:09 +02:00
jos
f61bb6cf94 Fixed #856: function subset not returning non-primitive scalars from Arrays correctly 2017-05-16 21:41:03 +02:00
jos
c2c1888012 Fixed security vulnerabilities in math.subset 2017-04-22 13:58:26 +02:00
jos
b2066e53f6 Replaced toTex definitions using the default toTex template with "undefined" and a comment (see #636) 2016-04-15 11:00:03 +02:00
jos
2adf01e548 Getting/setting object properties working (still needs a refactoring step) 2016-01-02 15:16:12 +01:00
jos
931736658d Added support for getting/setting object properties to Index and math.subset 2015-12-04 09:53:35 +01:00
jos
2353c4a61e Renamed folders util to utils 2015-07-18 13:22:38 +02:00
Max Bruckner
52e169fae4 Remove LaTeX of matrix functions from util/latex.js 2015-06-14 02:23:41 +02:00
Rogelio J. Baucells
9b6a9c2298 Range.forEach() and map() API changes
Range.forEach() and map() API change to match Matrix
2015-05-21 13:17:17 -04:00
Rogelio J. Baucells
f2a179aa31 Merge branch 'josdejong/v2' into v2-Index
Conflicts:
	lib/core/typed.js
	lib/type/index/prototype/Index.js
2015-05-21 00:38:58 -04:00
jos
6c7bf4acf0 Removed boolean, string, and null from the list with argument types, only leaving the directly supported types (which types can be converted to supported types is determined externally). Consistently renamed primitive types lower case (boolean, string, number, null) and non-primitive types uppercase (Complex, BigNumber, Function, Array, ...). 2015-05-20 21:08:26 +02:00
Rogelio J. Baucells
7e5980c812 tests - partial 2015-05-13 17:24:38 -04:00
jos
8c032f2593 Replaced all instanceof checks with x && xisMyType === true checks 2015-05-05 15:09:21 +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
jos
811508906c Refactored functions range, subset, concat.transform, map.transform, max.transform, mean.transform, min.transform, range.transform, subset.transform to typed-functions 2015-04-27 19:11:21 +02: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
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
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
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
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
9ebc24662f More reference docs added 2014-05-22 21:17:53 +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
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
0210ec0d41 UnsupportedTypeError can now determine the type of values 2013-11-28 17:15:28 +01:00
josdejong
b366d97a20 Function resize now has an extra optional parameter defaultValue 2013-11-21 12:09:12 +01:00
josdejong
c8a289a08c Removed unnecessary .js suffix in module require statements 2013-10-20 14:01:31 +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
86ea2a7343 Removed support for scalars from function subset 2013-08-31 20:28:45 +02:00
josdejong
7f58398053 Completed missing descriptions in tests 2013-08-19 21:07:45 +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
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
a595266347 added all files in lib/ 2013-08-14 15:39:21 +04:00