1402 Commits

Author SHA1 Message Date
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
jos
f7fe2f9ffd Bumped version number to 1.5.3-SNAPSHOT 2015-04-09 21:23:20 +02:00
jos
d043d24abe Released v1.5.2 v1.5.2 2015-04-09 21:17:28 +02:00
jos
9694bb618f Updated docs about binary prefixes 2015-04-09 20:44:12 +02:00
jos
e2bd50723d Fixed #251: binary prefix and SI prefix incorrectly used for byte. Now following SI standards (1 KiB == 1024 B, 1 kB == 1000 B) 2015-04-09 20:36:51 +02:00
jos
3150e21c8e Fixed #313: parsed functions did not handle recursive calls correctly 2015-04-09 20:29:51 +02:00
jos
cb6f52ad8f Bumped version number to 1.5.2-SNAPSHOT 2015-04-08 09:30:12 +02:00
jos
8dccb60f30 Released version 1.5.1 v1.5.1 2015-04-08 09:17:18 +02:00
jos
5dfa79196e Some more fixes and improvements in NumberFormatter 2015-04-07 22:16:47 +02:00
jos
2cdeb0d49b Save digits as number instead of string 2015-04-06 21:17:39 +02:00
jos
8dceac768f Merge remote-tracking branch 'origin/develop' into develop 2015-04-06 21:08:32 +02:00