Jos de Jong
2705fd7bac
Merge pull request #380 from kv-kunalvyas/develop
...
Added intersection function
2015-06-07 13:57:38 +02:00
Kunal Vyas
58cfb20ffd
Wrote unit tests
...
- Added intersect.js file in lib/expression/docs
- added an entry in the index.js file in expression/docs
- modified intersect.js to give appropriate error messages
- added an entry in lib/math.js so that the test case file could find
the function
- wrote the test cases for intersect
2015-06-06 22:44:32 -04:00
jos
5762132822
Removed premature stuff on Permutation (see#362), and removed dependency on underscore.
2015-05-27 13:52:14 +02:00
jos
00a51a0fa1
Merge branch 'Multinomial' of https://github.com/devanp92/mathjs into devanp92-Multinomial
...
Conflicts:
HISTORY.md
lib/util/number.js
2015-05-27 13:37:31 +02:00
Devan Patel
88a8f4712b
Merge branch 'master' of github.com:devanp92/mathjs into Multinomial
2015-05-21 21:50:20 -04:00
Devan Patel
39acbdd558
Remove skipped test
2015-05-21 14:44:10 -04:00
Favian Contreras
9df7ee1701
Implemented a partition-based selection function, which uses the quickselect algorithm. Tests as well.
2015-05-15 02:37:13 -07:00
Favian Contreras
fbfbd030d1
Removed the ability to insert data as a series of scalar values. Consolidated sorted and normal cases into 1 file. Added ability to use a list of probabilities, or an integer as a number of would be evenly spaced probabilities.
2015-05-14 08:06:38 -07:00
Favian Contreras
ae3267d5b8
Basic quantile implementation and tests (see issues #305 and #354 ). There is also an implementation that assumes the input is sorted in ascending order, to maintain an O(1) runtime.
2015-05-12 03:04:51 -07:00
Devan Patel
2fba039dd6
Adding support for Multinomial + test.
2015-05-08 13:20:17 -04:00
Max Bruckner
b762d16dd8
Merge pull request #357 from devanp92/patch-1
...
Deleting console.log statement
2015-05-05 21:57:37 +02:00
Devan Patel
e33ae343c5
Deleting console.log statement
...
https://github.com/josdejong/mathjs/issues/355
2015-05-05 14:10:01 -04:00
Devan Patel
c3f051ee8b
Fixing IntegerOverflow on Composition. Updated tests as well.
2015-05-04 16:03:59 -04:00
Devan Patel
ff73f26132
Merge branch 'master' of github.com:devanp92/mathjs
...
ed3b86653bb723d362f23f5ceedf8229dceaa14.
2015-05-04 14:23:46 -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
Jos de Jong
ee6f5212d6
Merge pull request #348 from devanp92/master
...
[Combinatorics] Support for Bell Numbers
2015-05-01 09:16:01 +02:00
Jos de Jong
e43c52677e
Merge pull request #344 from devanp92/master
...
Adding Combinatorics module + Stirling numbers of Second Kind
2015-04-28 21:21:12 +02: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
Max Bruckner
32d507d123
functions/statistics/median: test for issue ( #309 )
...
This is a test to check that median doesn't mutate it's input
2015-04-26 00:07:29 +02:00
jos
084c28c3f9
Minor improvement in abs (see #330 )
2015-04-22 21:03:11 +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
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
55a66aeaaf
OperatorNode.toTex: get rid of unnecessary curly braces
2015-04-19 09:49:09 +02:00
Max Bruckner
f2bcfed89f
LaTeX: no spaces between operands and operators
2015-04-17 14:18:24 +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
240eeecccd
lib/util: Move over from callbacks to templates
2015-04-12 23:44:26 +02:00
jos
f773df0fc6
Fixed #317 (formatting negative values), fixed #316 (round-off errors in formatting values)
2015-04-06 21:08:21 +02:00
Max Bruckner
9acccce315
util/latex: change comments
2015-04-05 14:29:16 +02:00
Max Bruckner
92c27301ba
util/latex: use map of operators in LaTeX conversion of functions
2015-04-05 14:29:16 +02:00
Max Bruckner
0868987cdf
util/latex: use ":=" for assignments and '=' 'equal'
2015-04-05 14:29:14 +02:00
Max Bruckner
6b1d09f2cb
util/latex: new toSymbol
2015-04-05 14:29:12 +02:00
Max Bruckner
7adf0ebc53
LaTeX tests for functions
2015-04-05 14:29:10 +02:00
jos
1990edc90f
Added docs and and example on sparse matrices
2015-03-28 15:55:59 +01:00
Rogelio J. Baucells
6e0d9bbd59
norm() tests
2015-03-23 10:13:03 -04:00
Rogelio J. Baucells
b81187147e
Merge pull request #24 from rjbaucells/CCS
...
Sparse Matrix implementation
2015-03-23 00:30:42 -04:00
Rogelio J. Baucells
849386ff24
DenseMatrix multiply(), partial
2015-03-20 17:57:43 -04:00
Rogelio J. Baucells
0d34992080
Merge pull request #23 from josdejong/develop
...
Sync
2015-03-19 00:06:26 -04:00
rjbaucells
f144b73c14
math.diag()
2015-03-16 20:40:45 -04:00
Rogelio J. Baucells
c847ed4658
CRS tests
2015-03-16 15:39:42 -04:00
rjbaucells
246c1e235e
partial math.diag()
2015-03-15 22:23:55 -04:00
rjbaucells
00ce77d540
CCS tests
2015-03-15 13:01:39 -04:00
rjbaucells
5713b988ed
matrix functions & tests
2015-03-14 19:56:16 -04:00
rjbaucells
b1166871ac
math.ones()
2015-03-12 19:57:31 -04:00