1412 Commits

Author SHA1 Message Date
Devan Patel
abbc302c8d Documentation for Mutlinomial 2015-05-08 13:38:36 -04:00
Devan Patel
adc96a9b2e Adding permutation type 2015-05-07 13:48:47 -04:00
Devan Patel
fc693b469b Adding permutation type 2015-05-05 00:18:13 -04:00
Devan Patel
4dad1fed3d Fixing BigNumber for possible IntegerOverflow. I have updated tests as well. 2015-05-04 15:59:26 -04:00
Devan Patel
b05a0a0f7e Adding support for compositions + test (includes support for BigNumber). 2015-05-03 15:29:42 -04:00
Devan Patel
aa48a5f5cd Adding support for BigNumber in StirlingS2 and BellNumbers. 2015-05-03 15:02:49 -04:00
Devan Patel
64a3449d1d Merge branch 'master' of github.com:devanp92/mathjs 2015-04-30 11:32:25 -04:00
Devan Patel
0b31d14a39 Update stirlingS2.js 2015-04-27 18:09:51 -04:00
Devan Patel
2aa2f29e2b Adding support for Bell Numbers in Combinatorics Module. 2015-04-27 12:41:04 -04:00
Devan Patel
9c60e14a84 Adding LaTeX test for Stirling Numbers of the second kind. 2015-04-27 12:14:45 -04:00
Devan Patel
ea6bb033eb Renaming stirlingSecondKind to stirlingS2 + changing LaTeX to "\\mathrm{S}\\left(%0%,%1%\\right)" 2015-04-27 12:06:12 -04:00
Devan Patel
b889c16b81 Adding Combiantorics module + Stirling numbers of Second Kind + test. Needs functionality for BigNumber (commented out). 2015-04-26 12:14:46 -04:00
jos
30ff006b12 Released version 1.6.0 v1.6.0 2015-04-22 21:13:53 +02:00
jos
084c28c3f9 Minor improvement in abs (see #330) 2015-04-22 21:03:11 +02:00
Jos de Jong
95c4e33f81 Merge pull request #330 from FSMaxB/abs-fix
Fix #328 abs(0+0*i) evaluates to NaN
2015-04-22 15:02:24 +02:00
Max Bruckner
7435e91529 Fix Bug #328 abs(0+0i) evaluates to NaN
This is a quick fix. This might need a better solution though (
numerical instabilities still remain ).
2015-04-22 14:36:24 +02:00
Jos de Jong
0dc0ad3a6f Merge pull request #326 from FSMaxB/latex
Bugfixes, simplifications and other improvements in the LaTeX output
2015-04-19 13:50:43 +02:00
Max Bruckner
8ad525b66e util/latex: get rid of many unnecessary curly braces 2015-04-19 11:08:00 +02:00
Max Bruckner
efdc0ac6be latex: remove unnecessary curly braces in static lists 2015-04-19 10:12:38 +02:00
Max Bruckner
9c606c044f latex.toSymbol: get rid of unnecessary curly braces and wire up units 2015-04-19 09:56:40 +02:00
Max Bruckner
ee4486c3df SymbolNode.toTex: Prevent symbols from breaking operators
If a symbol comes after an operator like '\cdot', there needs to be a
space in between, otherwise the cdot won't get recognized by the LaTeX
parser.
2015-04-19 09:49:10 +02:00
Max Bruckner
1c73dc1262 ConstantNode.toTex: simplify exponential notatian and add test 2015-04-19 09:49:09 +02:00
Max Bruckner
2cd3da416e UpdateNode.toTex: Fix syntax of assignment and fix test 2015-04-19 09:49:09 +02:00
Max Bruckner
55a66aeaaf OperatorNode.toTex: get rid of unnecessary curly braces 2015-04-19 09:49:09 +02:00
Max Bruckner
753a0e7893 IndexNode.toTex: Bugfix: execute toTex on Range Arguments
Also changes the Layout of the LaTeX output of IndexNode.
2015-04-19 09:49:08 +02:00
Max Bruckner
978bc2bc31 FunctionAssignmentNode.toTex: get rid of unnecessary curly braces 2015-04-19 09:49:08 +02:00
Max Bruckner
816b6314a7 AssignmentNode.toTex: get rid of unnecessary curly braces 2015-04-19 02:13:27 +02:00
Max Bruckner
8db07e23ad OperatorNode.toTex: BUGFIX: make clear where the exponent belongs to
Without proper parentheses it's impossible to decide whether an exponent
belongs to the numerator of a fraction or to the entire fraction.

For ConditionalNode, the exponent is hard to see without parentheses.
2015-04-19 02:11:20 +02:00
Max Bruckner
f2bcfed89f LaTeX: no spaces between operands and operators 2015-04-17 14:18:24 +02:00
jos
46bb79b5b9 Update /dist 2015-04-17 13:41:10 +02:00
jos
c8048dad39 Merge remote-tracking branch 'origin/develop' into develop 2015-04-17 09:44:41 +02:00
jos
fd050ffae6 Fixed not being able to override lazy loaded constants 2015-04-17 09:44:31 +02:00
Jos de Jong
a21d8e2797 Merge pull request #325 from FSMaxB/latex-parenthesis
Show less unnecessary parentheses in LaTeX output of OperatorNodes
2015-04-17 09:17:54 +02:00
Max Bruckner
7c1c9c0cef Show less unnecessary parentheses in LaTeX output
OperatorNodes with exponentiation, fractions and conditions use less
parentheses.
2015-04-16 22:31:02 +02:00
Max Bruckner
8747918e1c LaTeX: add additional information about nodes in precedence list
Adds information about the necessity of parentheses for LaTeX output to
the precedence list in lib/expression/operators.js
2015-04-16 22:17:47 +02:00
jos
2fe5746df7 Merge remote-tracking branch 'origin/develop' into develop 2015-04-15 21:31:10 +02:00
jos
01497799fb Added an example on plotting a function 2015-04-15 21:31:01 +02:00
Jos de Jong
919f30fab4 Merge pull request #324 from FSMaxB/latex-restructure-bugfix
Fix bug that was introduced by the restructuring of the LaTeX code
2015-04-15 15:35:41 +02:00
Max Bruckner
5780635bb8 util/latex: bugfix: error when handling symbols with indices 2015-04-15 14:03:08 +02:00
Jos de Jong
2142dec160 Merge pull request #323 from nfoti/gamma-doc
Corrected gamma documentation to allow argument to be real or complex.
2015-04-15 09:05:33 +02:00
Nick Foti
020a47c938 Corrected gamma documentation to allow argument to be real or complex. 2015-04-14 14:40:43 -07:00
jos
96fada9a79 Updated history 2015-04-13 21:39:20 +02:00
Jos de Jong
bc6f63b6c9 Merge pull request #318 from FSMaxB/latex-restructure
Restructure and complete the LaTeX generator.
2015-04-13 09:39:16 +02:00
Max Bruckner
2076bebdb0 util/latex: Make use of templates based on number of arguments 2015-04-13 00:39:03 +02:00
Max Bruckner
29fd97839f util/latex: Use Template/Callback based on number of arguments 2015-04-13 00:07:56 +02:00
Max Bruckner
240eeecccd lib/util: Move over from callbacks to templates 2015-04-12 23:44:26 +02:00
Max Bruckner
8b5ed85875 util/latex: Get rid of defaultToTex and replace it with defaultTemplate 2015-04-12 13:43:29 +02:00
Max Bruckner
efdf153022 util/latex: Use %% for % in templates 2015-04-12 13:31:09 +02:00
Max Bruckner
14347ed610 util/latex: New template variable for comma separated list of arguments
You can now use '%*%' to get a comma separated list of all arguments
2015-04-12 13:31:06 +02:00
Max Bruckner
34046e22d9 util/latex: Enable templates for LaTeX output of functions.
You can now use templates containing '%name%' and '%0%', '%1%' ...
to define the LaTeX of a function.
2015-04-12 13:30:34 +02:00