jos
|
082265a184
|
Changed the default number of significant digits for BigNumbers from 20 to 64.
|
2014-06-11 21:56:58 +02:00 |
|
jos
|
4b35ae1556
|
Added constant null
|
2014-06-11 20:26:25 +02:00 |
|
jos
|
aa80ae8fc8
|
Fixed #190: imported, wrapped functions not accepting null and undefined as function arguments.
|
2014-06-11 20:21:41 +02:00 |
|
jos
|
9f346f19bc
|
Changed signature of math.parse(expr, nodes) to math.parse(expr, options)
|
2014-06-10 21:35:06 +02:00 |
|
jos
|
2fe9f0d736
|
Fixed #151: end is now a reserved keyword
|
2014-06-10 21:13:27 +02:00 |
|
jos
|
875fa8e60c
|
Changed behavior of equal and unequal back to element wise, added function deepEqual.
|
2014-06-09 18:03:54 +02:00 |
|
jos
|
40d66224e8
|
Moved the comparison functions from section "arithmetic" to a new section "comparison"
|
2014-06-09 14:21:54 +02:00 |
|
jos
|
ced18ecfca
|
Implemented functions dotEqual and dotUnequal, renamed functions smallereq to smallerEq and largereq to largerEq (all functions are now camelcase)
|
2014-06-09 14:07:21 +02:00 |
|
jos
|
1691c701dd
|
A few more unit tests added
|
2014-06-09 11:19:33 +02:00 |
|
jos
|
0ae566db8d
|
Renamed functions edivide, emultiply, and epow to dotdivide, dotmultiply, and dotpow respectively.
|
2014-06-09 11:09:06 +02:00 |
|
jos
|
64368ec4ad
|
Added unit drop (gtt)
|
2014-06-09 09:34:53 +02:00 |
|
jos
|
490494d8ef
|
Fixed #65: Fixed random functions not accepting Matrix as input, and always returning a Matrix as output
|
2014-06-08 23:05:38 +02:00 |
|
jos
|
fc6a1c52c3
|
Fixed random functions returning a Matrix on Array input
|
2014-06-08 22:55:40 +02:00 |
|
jos
|
64aa6375f5
|
Moved functions random, randomInt and pickRandom to a separate file
|
2014-06-08 22:36:23 +02:00 |
|
jos
|
91cdad78b7
|
Removed automatic assignment of expression results to variable ans
|
2014-06-08 21:55:38 +02:00 |
|
jos
|
dcf5ec49fb
|
Implemented constant version, returnin the current version of math.js
|
2014-06-08 21:23:14 +02:00 |
|
jos
|
45982fbba0
|
Removed array/matrix support from function ifElse
|
2014-06-08 21:22:57 +02:00 |
|
jos
|
3399909318
|
Implemented unary plus
|
2014-06-08 20:49:52 +02:00 |
|
jos
|
abf1b02ee9
|
Renamed function unary to unaryminus. Documented and tested constant phi.
|
2014-06-08 20:12:07 +02:00 |
|
Niels Heisterkamp
|
086e59061a
|
Fixed test and removed remaining console.log.
|
2014-05-19 20:32:25 +02:00 |
|
Niels Heisterkamp
|
b7fe0bfbf1
|
Added LaTeX conversion of expressions using toTex() on expression.
Also added some basic tests, which cover some use cases; but should be expanded.
|
2014-05-19 08:20:06 +02:00 |
|
jos
|
7dbba81eca
|
Output of matrix multiplication is now consistently squeezed
|
2014-05-18 15:14:09 +02:00 |
|
jos
|
37f97625c8
|
Fixed #185: a bug in multiplying two matrices containing vectors (worked fine for arrays)
|
2014-05-18 14:58:35 +02:00 |
|
jos
|
2f200d7c60
|
Fixed a bug in multiplying units without value with a number (like 5 * cm).
|
2014-05-16 20:10:54 +02:00 |
|
jos
|
3276b036a6
|
Fixed #172: parser not being able to evaluate an exponent followed by a unary minus like 2^-3, and a transpose followed by an index like [3]'[1].
|
2014-05-13 20:57:32 +02:00 |
|
jos
|
6e3cc82cdd
|
Deprecated functions Parser.parse and Parser.compile. Use math.parse and math.compile instead.
|
2014-05-13 20:14:52 +02:00 |
|
jos
|
5ddc735983
|
Fixed #177: function add not adding strings and matrices element wise
|
2014-05-05 09:38:52 +02:00 |
|
jos
|
da762e4706
|
Improved errors thrown by function parse
|
2014-04-25 17:21:05 +02:00 |
|
jos
|
1189efd4d8
|
Added property type to all expression nodes in a node tree.
|
2014-04-24 20:26:51 +02:00 |
|
jos
|
9e0a63386a
|
Fixed #169: Fixed functions log, log10, pow, and sqrt not supporting BigNumbers arguments resulting in complex numbers.
|
2014-04-24 20:05:52 +02:00 |
|
Jos de Jong
|
12b1d526d2
|
Merge pull request #166 from rjbaucells/develop
trigonometry hyperbolic functions
|
2014-04-19 20:44:55 +02:00 |
|
Rogelio J. Baucells
|
2b71d880a4
|
trigonometry hyperbolic functions
|
2014-04-18 19:01:00 -04:00 |
|
Jos de Jong
|
b3f898cd25
|
Merge pull request #165 from rjbaucells/develop
Fixed norm of vector bug when p is equal to zero
|
2014-04-17 10:48:51 +02:00 |
|
Rogelio J. Baucells
|
4b375d35a3
|
Fixed norm of vector bug when p is equal to zero
|
2014-04-16 17:56:01 -04:00 |
|
jos
|
6d4a997ef4
|
Fixed comparison functions not applying option epsilon
|
2014-04-16 10:13:11 +02:00 |
|
jos
|
e5cddb66ed
|
Merge remote-tracking branch 'origin/develop' into develop
|
2014-04-16 09:29:02 +02:00 |
|
jos
|
3e62516909
|
Documented new option epsilon for comparison. Changed default value to 1e-14
|
2014-04-16 09:28:03 +02:00 |
|
Rogelio J. Baucells
|
05902e00ff
|
Merge pull request #2 from josdejong/develop
sync
|
2014-04-14 17:40:43 -04:00 |
|
Rogelio J. Baucells
|
b21688782a
|
fixed formatting and compile problems
|
2014-04-14 17:16:25 -04:00 |
|
Rogelio J. Baucells
|
5e051cb5e8
|
fixed build errors
|
2014-04-14 16:31:40 -04:00 |
|
rjbaucells
|
ca750520d1
|
fixed build errors
|
2014-04-13 23:49:45 -04:00 |
|
rjbaucells
|
cf5c405381
|
formatting fixes
|
2014-04-13 23:41:07 -04:00 |
|
rjbaucells
|
902c4ac163
|
unit tests and documentation
|
2014-04-13 23:30:57 -04:00 |
|
rjbaucells
|
7f2585f1a6
|
unit tests
|
2014-04-13 22:19:32 -04:00 |
|
josdejong
|
49e7e00a65
|
Added tests checking that the expression parser throws one-based IndexErrors.
|
2014-04-12 19:34:38 +02:00 |
|
rjbaucells
|
1c6dfac04d
|
norm tests and documentation
|
2014-04-12 12:38:24 -04:00 |
|
Rogelio J. Baucells
|
ac365c7a9c
|
Initial norm() implementation
|
2014-04-11 17:45:21 -04:00 |
|
josdejong
|
f0035e8c41
|
Merge branch 'master' into develop
Conflicts:
lib/function/arithmetic/compare.js
lib/function/arithmetic/equal.js
lib/function/arithmetic/larger.js
lib/function/arithmetic/largereq.js
lib/function/arithmetic/smaller.js
lib/function/arithmetic/smallereq.js
lib/function/arithmetic/unequal.js
lib/math.js
lib/util/number.js
test/math.test.js
|
2014-04-11 22:15:31 +02:00 |
|
Rogelio J. Baucells
|
ed5ab3f629
|
Formatting fixes
|
2014-04-11 15:55:29 -04:00 |
|
josdejong
|
b0f19da5c3
|
Storing all arguments in the errors
|
2014-04-11 21:30:08 +02:00 |
|