1854 Commits

Author SHA1 Message Date
Dakota Blair
c2917dca52 Fixed offset bug. 2018-03-21 19:46:31 +00:00
Dakota Blair
13d1ad7a6a Updated _nthComplexRoots based on feedback. 2018-03-21 19:05:10 +00:00
Dakota Blair
cbcf27282e Updated behavior of nthRoots 2018-03-21 19:05:09 +00:00
Dakota Blair
c591c07347 Fixed #851: More consistent behavior of sqrt, nthRoot, and pow 2018-03-21 19:05:08 +00:00
jos
4e5cc854f0 Released version 4.0.1 2018-03-17 20:34:08 +01:00
jos
b00e0b7460 Fixed #1061: math.unit not accepting input like 1/s 2018-03-17 14:01:29 +01:00
Clément P
59178319e4
Update isPrime.js 2018-03-01 12:08:28 +01:00
jos
a99b8fbe4f Released v4.0.0 2018-02-25 14:09:53 +01:00
jos
7f6f997fa3 Merge branch 'develop' into v4 2018-02-25 14:00:41 +01:00
jos
3059e1b94f Fixed truncation of some docs when generating markdown (see #1040) 2018-02-21 13:22:08 +01:00
jos
6613f1c844 Release the second release candidate 4.0.0-rc.2 2018-02-21 11:36:43 +01:00
jos
417dc049de Invert some checks for zero 2018-02-21 10:56:33 +01:00
jos
0b9f22e9d8 Refactoring in handling DenseMatrix/SparseMatrix cases in most functions 2018-02-21 10:51:21 +01:00
jos
bf3f62b564 Upgraded to typed-function@1.0.0 2018-02-20 20:59:05 +01:00
jos
20f317c524 Released mathjs v3.20.2 2018-02-07 16:55:40 +01:00
jos
c9fcfc6b96 Publish release candidate v4.0.0-rc.1 2018-02-04 15:13:44 +01:00
jos
99ab11b234 Dropped constant uninitialized 2018-02-04 13:09:09 +01:00
Jos de Jong
e631771df0
Merge branch 'v4' into v4_fn_implicit_multiplication 2018-02-04 11:58:15 +01:00
Jos de Jong
cdda817d9f
Merge pull request #1036 from ericman314/implicit-multiplication
Implicit multiplication
2018-02-04 11:55:15 +01:00
Eric Mansfield
83862d2996 Refactored token state history into own function 2018-02-03 14:19:48 -07:00
jos
11b4c03460 Remove support for calling a function returned by a function, parse as implicit multiplication instead. See #1035 2018-02-03 21:52:18 +01:00
Eric Mansfield
090f4c920f Added 'number/number (', and tests 2018-02-03 09:44:30 -07:00
Eric Mansfield
b50d4fe2f1 Adjusted "rule 2" to match "number / number symbol" 2018-02-03 08:16:46 -07:00
jos
cb84036e8e Changes according to feedback from Harry 2018-02-01 19:45:07 +01:00
jos
a11dfa9bcc Merge branch 'v4' into v4_binary_operator_node 2018-01-31 14:23:34 +01:00
jos
ece963bcdd Merge branch 'develop' into v4
# Conflicts:
#	lib/expression/node/ConstantNode.js
2018-01-31 11:28:14 +01:00
jos
82b41e696a - Implemented OperatorNode.isUnary and OperatorNode.isBinary.
- Explicit checks for number of arguments everywhere working with `OperatorNode` and `FunctionNode`.
- Fixed #1014: derivative silently ignoring additional arguments.
2018-01-31 11:00:39 +01:00
Max Bruckner
9126130794 toTex: Escape special characters in strings 2018-01-31 02:54:24 +01:00
jos
0b6c0c13f7 Merge branch 'v4' into v4_constant_node
# Conflicts:
#	HISTORY.md
2018-01-27 16:58:17 +01:00
jos
5efbb25da8 Merge branch 'develop' into v4
# Conflicts:
#	HISTORY.md
2018-01-27 16:57:24 +01:00
Harry Sarson
afbbb0ea8a
fixes mapping of implicit multiplication 2018-01-27 15:07:31 +00:00
Jos de Jong
17eeb7c449
Merge pull request #1026 from FSMaxB/v4_tex_fraction
ConstantNode: Add Fraction specific latex output.
2018-01-25 20:26:36 +01:00
jos
02d7d592e4 Merged util function types.type into math.typeof (see #1023) 2018-01-25 20:21:22 +01:00
Max Bruckner
4a7e956242 ConstantNode: Add Fraction specific latex output. 2018-01-25 20:14:06 +01:00
jos
f112348eec Fixed using the wrong typeof function which was not aware of mathjs types like BigNumber (see #1023) 2018-01-25 20:07:07 +01:00
jos
cec05b59f9 Changed options lower and upper in function math.format to lowerExp and upperExp, see #676 2018-01-24 15:57:38 +01:00
jos
879e00aecd Change default precision to undefined for BigNumber formatting too. See #676 2018-01-24 14:44:36 +01:00
jos
0406b93fc6 fixed notation in function math.format no longer rounds to zero digits when no precision is specified: it leaves the digits as is. See #676. 2018-01-24 14:27:38 +01:00
jos
f26e5cea03 Improved error messages for statistical functions 2018-01-24 11:52:49 +01:00
jos
087f53d854 Merge branch 'v4' into v4_constant_node
# Conflicts:
#	HISTORY.md
2018-01-23 20:27:16 +01:00
jos
4469f6bd0c Remove support for implicit conversion of null to 0. See #830. 2018-01-23 20:26:38 +01:00
jos
b9c30ebcc7 Updated some docs 2018-01-23 16:43:44 +01:00
jos
326c9fb0de Fixed #680: compare strings by their numerical value instead of alphabetical order 2018-01-23 15:34:49 +01:00
jos
2c1b8f2f05 Fixed #749: Changed rad, deg, and grad to have short prefixes, and introduced radian, degree, and gradian and their plurals having long prefixes 2018-01-23 14:18:26 +01:00
jos
3f3d50f7a0 Fixed #833: the constants true, false, null, undefined, NaN, Infinity, and uninitialized are now parsed as ConstantNodes instead of SymbolNodes in the expression parser 2018-01-23 13:55:57 +01:00
jos
924299c42b Changed ConstantNode(valueStr, valueType) to ConstantNode(value) (breaking change) 2018-01-23 12:08:29 +01:00
jos
ef607935bd Replaced == with === 2018-01-23 09:29:34 +01:00
jos
53e02a87e3 Cleanup unused imports and functions 2018-01-23 09:27:24 +01:00
jos
8b5396baad Removed the old expression compiler (which uses eval) 2018-01-23 09:19:11 +01:00
jos
1192bb6bbc Implemented compile without eval (see #1019) 2018-01-21 18:13:27 +01:00