jos
|
fb68d73576
|
Fixed a bug in initializing of the parser
|
2014-08-17 22:32:31 +02:00 |
|
jos
|
1c96d1ee9d
|
Expressions in the expression parser can now be spread over multiple lines
|
2014-08-17 22:24:57 +02:00 |
|
jos
|
f23c87c4f7
|
renamed __transform__ to transform
|
2014-08-16 17:41:37 +02:00 |
|
jos
|
396777f724
|
Raw functions are now invoked as fn(args, math, scope)
|
2014-08-16 15:06:11 +02:00 |
|
jos
|
99fc9a0ead
|
Implemented support for raw functions
|
2014-08-16 12:13:57 +02:00 |
|
jos
|
e5d14ca3dd
|
Some refactoring of the FunctionNode
|
2014-08-16 11:13:24 +02:00 |
|
jos
|
41663147e6
|
Implemented function sort
|
2014-08-14 22:24:15 +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
|
0860c70a6e
|
Implemented function flatten
|
2014-08-12 21:17:27 +02:00 |
|
jos
|
8a12c8e9bc
|
Fixed #200: A new instanceof of math.js must now be created as math.create([options]) instead of math([options])
|
2014-08-03 21:42:12 +02:00 |
|
jos
|
6b833a581c
|
Renamed FunctionNode to FunctionAssignmentNode, and renamed ParamsNode to FunctionNode for more clarity (see #203)
|
2014-08-03 21:13:24 +02:00 |
|
jos
|
94262f6f89
|
Functions map and forEach invoke the callback with one-based indices when used from within the expression parser
|
2014-08-03 21:05:36 +02:00 |
|
jos
|
e5ce909524
|
Reworked the way matrices are resized when dimensions are added/removed
|
2014-08-03 15:56:39 +02:00 |
|
jos
|
7b08047061
|
Changed min, max, and mean to one-based dim
|
2014-07-24 21:35:11 +02:00 |
|
jos
|
8200955d71
|
Removed unnecessary names of functions
|
2014-07-21 22:14:27 +02:00 |
|
jos
|
8c224d3e71
|
Moved transformation of error messages (zero-based to one-based) to the expression/transform section
|
2014-07-20 20:45:10 +02:00 |
|
jos
|
59de16801e
|
Renamed function category "Comparison" with "Relational"
|
2014-07-20 12:40:34 +02:00 |
|
jos
|
21b34cfa1a
|
Implemented transforms, moved all one-based to zero-based logic for expressions to transforms.
|
2014-07-19 21:47:15 +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
|
1a9ceac955
|
Multi-line expressions now return a ResultSet instead of an Array.
|
2014-07-18 21:34:37 +02:00 |
|
jos
|
037e022905
|
Some fixes in operator precedence
|
2014-07-01 14:06:44 +02:00 |
|
jos
|
4645529f40
|
Removed function ifElse
|
2014-06-30 14:52:54 +02:00 |
|
jos
|
8ad1b274e7
|
Removed unreachable error message
|
2014-06-30 13:51:09 +02:00 |
|
jos
|
5e1cfbf545
|
Implemented implicit multiplication. Fixed a bug with multiplying non-valued temperatures with a number
|
2014-06-30 13:43:50 +02:00 |
|
jos
|
a2a9651d14
|
Added some comments
|
2014-06-23 11:55:36 +02:00 |
|
jos
|
7c761e390a
|
Refactored ConstantNode to make it more flexible to various types of input
|
2014-06-23 11:51:01 +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
|
a9226ef70d
|
Fixed #187: changed the behavior of the conditional operator (a ? b : c) to lazy evaluation.
|
2014-06-20 21:14:58 +02:00 |
|
jos
|
4b35ae1556
|
Added constant null
|
2014-06-11 20:26:25 +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
|
0ae566db8d
|
Renamed functions edivide, emultiply, and epow to dotdivide, dotmultiply, and dotpow respectively.
|
2014-06-09 11:09:06 +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
|
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 |
|
jos
|
9ebc24662f
|
More reference docs added
|
2014-05-22 21:17:53 +02:00 |
|
Niels Heisterkamp
|
086e59061a
|
Fixed test and removed remaining console.log.
|
2014-05-19 20:32:25 +02:00 |
|
Niels Heisterkamp
|
12147b3bd4
|
Some tweaks and fixes
|
2014-05-19 19:27:42 +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
|
830367a494
|
More docs added
|
2014-05-18 22:21:00 +02:00 |
|
jos
|
e536410b77
|
More docs added
|
2014-05-16 22:24:07 +02:00 |
|
jos
|
6c8104f938
|
More docs added
|
2014-05-15 21:43:08 +02:00 |
|
jos
|
504fef7231
|
Merge branch 'develop' into reference
|
2014-05-14 09:12:53 +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 |
|