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
|
7baa9af67c
|
Added unit alias lbs (pound mass).
|
2014-04-06 13:07:29 +02:00 |
|
josdejong
|
c7c17c6f64
|
Removed dependency on global math from Complex
|
2014-04-05 23:21:38 +02:00 |
|
Finn
|
333f881c4d
|
Add constructor support for polar and {re:..,im:..} Fixes #76
|
2014-04-05 02:14:14 +02:00 |
|
Finn
|
7b32c7fb00
|
Add toPolar method #76
|
2014-04-05 01:07:55 +02:00 |
|
Finn
|
754b33b983
|
Add fromPolar and math.complex with polar input #76
|
2014-04-04 01:27:05 +02:00 |
|
josdejong
|
f568ae75c1
|
More unit tests added
|
2014-04-03 20:58:43 +02:00 |
|
josdejong
|
a073a95859
|
Implemented functions sum, prod, var, std. Reducing a matrix over a specified dimension still missing
|
2014-03-29 14:45:09 +01: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
|
f1ea498927
|
Added some more unit tests
|
2014-03-15 15:27:05 +01:00 |
|
josdejong
|
36c38982e5
|
ArgumentsError now extends Error instead of SyntaxError
|
2014-01-31 23:22:17 +01:00 |
|
josdejong
|
5af9c51adb
|
Added stacktrace to UnsupportedTypeError and ArgumentsError
|
2014-01-31 19:58:06 +01:00 |
|
josdejong
|
591c3f9000
|
Fixed #132: Added unit feet
|
2014-01-20 21:43:11 +01:00 |
|
josdejong
|
8226e524f9
|
Added plurals and aliases for units.
|
2014-01-18 14:19:08 +01:00 |
|
josdejong
|
8400b99b1e
|
History updated
|
2014-01-07 22:05:22 +01:00 |
|
josdejong
|
a5f10ff709
|
Added lowercase l for unit litre
|
2014-01-07 21:49:47 +01:00 |
|
josdejong
|
f6acb12e4d
|
Implemented expression compilation for 80%
|
2014-01-01 20:46:30 +01:00 |
|
josdejong
|
7091cd4fa7
|
Added error for deprecated function in
|
2013-12-21 21:29:50 +01:00 |
|
Elijah Insua
|
be67514557
|
move the 'in' unit conversion keyword to 'to'
This also enables 'in' as an alias of 'inch'. refs #120
|
2013-12-20 15:31:18 -07:00 |
|
josdejong
|
df345c66cb
|
Fixed #113: bug in prefixes for squared and cubic meter (m2 and m3)
|
2013-12-14 14:43:25 +01:00 |
|
josdejong
|
0210ec0d41
|
UnsupportedTypeError can now determine the type of values
|
2013-11-28 17:15:28 +01:00 |
|
josdejong
|
f5ea5938a9
|
Renamed scientific notation to exponential in function format
|
2013-11-28 16:28:04 +01:00 |
|
josdejong
|
9566218b12
|
Function add can now handle mixed complex and big numbers
|
2013-11-27 15:21:02 +01:00 |
|
josdejong
|
8761910b75
|
Fixed a bug in collection.deepMap2
|
2013-11-26 20:45:39 +01:00 |
|
josdejong
|
b366d97a20
|
Function resize now has an extra optional parameter defaultValue
|
2013-11-21 12:09:12 +01:00 |
|
josdejong
|
d9090588b0
|
Implemented function math.resize
|
2013-11-15 21:23:22 +01:00 |
|
josdejong
|
0a0596bd7e
|
Simplified and reworked the Matrix class. Implemented functions Matrix.get and Matrix.set
|
2013-11-09 21:36:03 +01:00 |
|
josdejong
|
652054bc41
|
Implemented functions min and max for Range and Index
|
2013-11-09 15:06:32 +01:00 |
|
josdejong
|
5f1aee3550
|
Some fixes and improvements in the resize function
|
2013-11-07 22:42: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
|
9485cb2459
|
Simplified/improved typeof function
|
2013-10-31 11:52:03 +01:00 |
|
josdejong
|
b071e5daba
|
Removed utility functions isScalar, toScalar, isVector, toVector from Matrix and Range.
|
2013-10-31 10:54:42 +01:00 |
|
josdejong
|
e1ead2f7a6
|
Added function format to Selector
|
2013-10-26 14:07:47 +02:00 |
|
josdejong
|
04c41fb42e
|
Implemented advanced options in format to customize precision, scientific/fixed/auto notation (see #100).
|
2013-10-24 15:12:04 +02:00 |
|
Jos de Jong
|
13b7e6acee
|
Merge pull request #103 from guillermobox/develop
Reduce functionality
|
2013-10-24 04:31:44 -07:00 |
|
Guillermo Indalecio Fernandez
|
da1d23bc0a
|
Fixed tests and reduce function
|
2013-10-22 20:16:04 +02:00 |
|
Guillermo Indalecio
|
49429a5e49
|
Fixed small typo
|
2013-10-22 19:04:13 +02:00 |
|
Guillermo Indalecio
|
42560704b8
|
Fixing reduce function to the pull request
|
2013-10-22 19:02:35 +02:00 |
|
Guillermo Indalecio Fernandez
|
8db830c31d
|
Added full reduce capabilities not tested
|
2013-10-22 10:49:29 +02:00 |
|
josdejong
|
c8a289a08c
|
Removed unnecessary .js suffix in module require statements
|
2013-10-20 14:01:31 +02:00 |
|
josdejong
|
abff8efdbc
|
Mixed matrix input now always returns a Matrix (needed to mace collection static)
|
2013-10-19 22:01:10 +02:00 |
|
josdejong
|
e61d2f965b
|
Fixes in the new function math.format(precision). Updated docs and tests.
|
2013-10-19 21:44:54 +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
|
71c36a94cf
|
Statistics functions max and min now return the max and min of the flattened array in case of multidimensional arrays.
|
2013-10-18 10:47:43 +02:00 |
|
josdejong
|
799819423c
|
Implemented a function equals for complex numbers.
|
2013-10-08 15:12:11 +02:00 |
|