josdejong
|
bdf7d44dd2
|
Added operator in to expression parser (alias of to)
|
2013-12-21 21:24:56 +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
|
2b98831d84
|
Fixed #119: bug with negative temperatures
|
2013-12-14 14:26:30 +01:00 |
|
josdejong
|
d22168ea88
|
Added script for coverage report
|
2013-12-14 13:20:27 +01:00 |
|
josdejong
|
91dae90e1e
|
Fixed #108: math.js not working in Java's ScriptEngine
|
2013-12-10 21:34:37 +01:00 |
|
josdejong
|
f2f1ae1f72
|
Renamed and flattened configuration settings
|
2013-12-07 11:39:45 +01:00 |
|
josdejong
|
b4257f6cd6
|
Fixed #118: mod and in not working as function
|
2013-12-06 09:55:30 +01:00 |
|
josdejong
|
f9446875df
|
Function multiply now consistently outputs a complex number on complex input
|
2013-11-30 10:08:37 +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
|
9338e0a4ec
|
All arithmetic functions can now handle mixed complex numbers, big numbers, and units
|
2013-11-28 11:41:18 +01:00 |
|
josdejong
|
9566218b12
|
Function add can now handle mixed complex and big numbers
|
2013-11-27 15:21:02 +01:00 |
|
josdejong
|
279809fd79
|
Ranges and indexes can now handle big numbers by downgrading to numbers
|
2013-11-27 14:16:46 +01:00 |
|
josdejong
|
21735cf1c8
|
RangeNode can handle BigNumbers now (downgrades to numbers)
|
2013-11-27 13:18:01 +01:00 |
|
josdejong
|
77c3b48df1
|
Implemented bignumber support for function range
|
2013-11-27 13:06:46 +01:00 |
|
josdejong
|
7ab15f1d29
|
Implemented bignumber support for functions eye, ones, resize, size, zeros, factorial
|
2013-11-23 20:48:01 +01:00 |
|
josdejong
|
b3812362fd
|
Implemented bignumber downgrading for all not-supported functions
|
2013-11-23 14:14:44 +01:00 |
|
josdejong
|
4a99e03055
|
All arithmetic functions not supporting BigNumbers downgrade BigNumbers to Numbers
|
2013-11-23 10:55:39 +01:00 |
|
josdejong
|
26c0332883
|
On mixed Number/BigNumber inputs, all operators now downgrade the inputs if Number is a fraction.
|
2013-11-23 10:28:42 +01:00 |
|
josdejong
|
3a4c1c5ef0
|
Internally renamed variable options to settings
|
2013-11-21 13:39:24 +01:00 |
|
josdejong
|
80b8b34042
|
Implemented function config
|
2013-11-21 13:13:26 +01:00 |
|
josdejong
|
b366d97a20
|
Function resize now has an extra optional parameter defaultValue
|
2013-11-21 12:09:12 +01:00 |
|
josdejong
|
ea51c6c86c
|
math.options is no longer exposed as property
|
2013-11-21 10:37:04 +01:00 |
|
josdejong
|
21e4f7f160
|
Neatly splitted calculations with Numbers and Booleans
|
2013-11-19 21:34:20 +01:00 |
|
josdejong
|
3f11056330
|
Implemented BigNumber support for math.format.
|
2013-11-16 19:27:18 +01:00 |
|
josdejong
|
ac41566de8
|
Wrapped all bignumber functions available in the bignumber.js library
|
2013-11-16 17:49:16 +01:00 |
|
josdejong
|
52337e4b94
|
Integrating the bignumber.js library in math.js. This is awesome!
|
2013-11-16 14:34:35 +01:00 |
|
josdejong
|
dd662ba948
|
Functions don't allow arguments of unknown type anymore
|
2013-11-15 21:33:38 +01:00 |
|
josdejong
|
d9090588b0
|
Implemented function math.resize
|
2013-11-15 21:23:22 +01:00 |
|
josdejong
|
a3fb579e5c
|
Documented the expression parser
|
2013-11-14 10:19:01 +01:00 |
|
josdejong
|
e22e7915d0
|
Range operator has a higher precedence now
|
2013-11-12 22:14:36 +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
|
bd318ad837
|
Function size now adheres to the option matrix.defaultType for scalar input
|
2013-11-07 22:56:21 +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
|
ced03dd1fb
|
Fixed missing math namespace in ArrayNode
|
2013-10-26 13:50:54 +02:00 |
|
josdejong
|
af286e482a
|
Updated docs on min, max, mean
|
2013-10-24 15:18:21 +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
|
9f68a1292a
|
Merge pull request #105 from guillermobox/develop
Fixed mean to use "size" instead of calculating it
|
2013-10-24 05:43:11 -07:00 |
|
Guillermo Indalecio Fernandez
|
cd03fa1e62
|
Fixed mean to use "size" instead of calculating it
|
2013-10-24 14:07:47 +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
|
a998e4bb86
|
Added more powerful tests and fixed code for mean
|
2013-10-24 13:22:41 +02:00 |
|
Guillermo Indalecio Fernandez
|
540bb7af9b
|
Changed reduce calls from one-based to zero-based
|
2013-10-24 12:49:36 +02:00 |
|
Guillermo Indalecio Fernandez
|
da1d23bc0a
|
Fixed tests and reduce function
|
2013-10-22 20:16:04 +02:00 |
|
Guillermo Indalecio
|
c72da9f8e2
|
Fixed small typo
|
2013-10-22 19:32:05 +02:00 |
|
Guillermo Indalecio
|
f43523b301
|
Added reduce calls from "mean" function
|
2013-10-22 19:27:05 +02:00 |
|
Guillermo Indalecio
|
d4f41af2c4
|
Added reduce call in function "min"
|
2013-10-22 19:15:16 +02:00 |
|
Guillermo Indalecio Fernandez
|
020dfa0e46
|
Added test for max, it seems to work in 2D
|
2013-10-22 11:06:00 +02:00 |
|