421 Commits

Author SHA1 Message Date
josdejong
a5f10ff709 Added lowercase l for unit litre 2014-01-07 21:49:47 +01:00
josdejong
36a65785fb Merge branch 'develop' into expression_compilation
Conflicts:
	HISTORY.md
2014-01-07 21:45:51 +01:00
josdejong
bc157eb400 Updated docs and examples 2014-01-07 21:44:00 +01:00
josdejong
5d96ce4c16 Removed old code for expression evaluation 2014-01-07 21:07:43 +01:00
josdejong
00e55b917e Replaced eval with compile 2014-01-07 16:12:57 +01:00
josdejong
8ce1a122bb Some minor code rearrangement 2014-01-07 14:25:32 +01:00
Daniel Levin
c13da00dce Updated combinations/permutations documentation 2014-01-07 13:40:54 +02:00
Daniel Levin
a6878572b9 added n <= k condition to permutations, combinations 2014-01-07 13:32:26 +02:00
Daniel Levin
f6fa5bf575 Added BigNumber support to combinations (and tests) 2014-01-07 13:27:56 +02:00
Daniel Levin
17acaaf9eb added BigNumber support to permutations (with tests) 2014-01-07 13:19:58 +02:00
Daniel Levin
365490cf11 Changed parseInt to Math.floor
also added vim swap files to .gitignore
2014-01-07 12:58:09 +02:00
josdejong
28205b04e2 IndexNode works now for getting a subset too 2014-01-06 22:29:25 +01:00
Daniel Levin
fc1ac7efa4 changed x to n in permutations 2014-01-06 12:02:00 +02:00
Daniel Levin
4d72b3b0d5 added n <= k condition to combinations function
and also changed x to n in combinations
2014-01-06 12:00:47 +02:00
josdejong
965f4232ad Added docs on combinations / permutations 2014-01-06 10:43:31 +01:00
josdejong
9d1b9d6a81 Renamed parameters in IndexNode 2014-01-05 22:20:08 +01:00
josdejong
c2c8bb61cf Compilation of UpdateNode working again 2014-01-05 22:18:32 +01:00
josdejong
c0d312adbf Better error in case of wrong object type in ParamsNode 2014-01-05 22:01:08 +01:00
josdejong
9e7c641302 Cleaned up ParamsNode 2014-01-05 21:58:13 +01:00
josdejong
bc05d8b9e8 Changed matrix index notation of expression parser from round brackets to square brackets 2014-01-05 21:52:13 +01:00
josdejong
37e12b23d1 Fixed ConstantNode pointing to undefined math 2014-01-05 21:17:34 +01:00
josdejong
a0f1053697 Simplified compilation factory code 2014-01-05 20:26:05 +01:00
josdejong
5f81246136 Implemented global definitions internally in expression compilation 2014-01-05 15:01:07 +01:00
Daniel Levin
6c88d7b58a added more tests for combinations. Fixes #99 2014-01-05 14:16:14 +02:00
Daniel Levin
45b619cf84 added combinations function 2014-01-05 13:44:45 +02:00
josdejong
d7349296c0 Implemented IndexNode 2014-01-04 17:53:02 +01:00
Daniel Levin
b2acc29d04 added more tests 2014-01-04 18:01:21 +02:00
Daniel Levin
987111aefd removed useless imports 2014-01-04 17:51:08 +02:00
Daniel Levin
a1b8588bdd added tests for permutations function 2014-01-04 17:41:41 +02:00
Daniel Levin
d8f926bbb6 added permutations function addressing #99 2014-01-04 17:28:25 +02:00
Daniel Levin
e0462a63b6 Removed superfluous require statement 2014-01-04 16:40:08 +02:00
josdejong
5c84e72bc7 Implemented compilation for UpdateNode 2014-01-04 15:26:13 +01:00
josdejong
f6acb12e4d Implemented expression compilation for 80% 2014-01-01 20:46:30 +01:00
josdejong
8e814cbc82 Implemented an argument includeEnd for function range (false by default) 2014-01-01 19:03:15 +01:00
josdejong
f89a9945e3 Removed deprecated function in, gives conflicts :( 2013-12-21 22:23:38 +01:00
josdejong
7091cd4fa7 Added error for deprecated function in 2013-12-21 21:29:50 +01:00
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
df345c66cb Fixed #113: bug in prefixes for squared and cubic meter (m2 and m3) 2013-12-14 14:43:25 +01: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
d8f3b97e9f Fixed support for old browsers (IE6 - IE8), compatible when using es5-shim. 2013-12-12 10:24:07 +01:00
josdejong
91dae90e1e Fixed #108: math.js not working in Java's ScriptEngine 2013-12-10 21:34:37 +01:00
josdejong
1d54a99bce More neat formatting of functions 2013-12-09 21:21:34 +01:00
josdejong
f2f1ae1f72 Renamed and flattened configuration settings 2013-12-07 11:39:45 +01:00
josdejong
345867b49f Restored shim.js (was actualy in use, nice) 2013-12-07 11:20:55 +01:00
josdejong
804c77bd93 Removed unused shim.js 2013-12-07 11:03:08 +01:00
josdejong
f68a195d44 Minor improvement in object.clone 2013-12-07 11:02:36 +01:00
josdejong
356a8cfc5d More tests 2013-12-06 10:31:35 +01:00
josdejong
b4257f6cd6 Fixed #118: mod and in not working as function 2013-12-06 09:55:30 +01:00