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
Kunal Vyas
44175b5c5b
changed indentation from 4 to 2 space
2015-06-04 19:44:01 -04:00
Kunal Vyas
d2230e519c
Added intersection function
...
Computes:
- Line and line intersection in 2D and 3D
- Line and plane intersection in 3D
2015-05-26 03:28:58 -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
Devan Patel
64a3449d1d
Merge branch 'master' of github.com:devanp92/mathjs
2015-04-30 11:32:25 -04: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
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
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
637d728f59
zeros: fix typo in error message (eye --> zeros)
2015-04-25 21:25:46 +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
Nick Foti
020a47c938
Corrected gamma documentation to allow argument to be real or complex.
2015-04-14 14:40:43 -07:00
jos
f773df0fc6
Fixed #317 (formatting negative values), fixed #316 (round-off errors in formatting values)
2015-04-06 21:08:21 +02:00
jos
1990edc90f
Added docs and and example on sparse matrices
2015-03-28 15:55:59 +01:00
Rogelio J. Baucells
26d97ef36a
norm() optimization
2015-03-23 09:24:36 -04:00
Rogelio J. Baucells
b81187147e
Merge pull request #24 from rjbaucells/CCS
...
Sparse Matrix implementation
2015-03-23 00:30:42 -04:00
rjbaucells
fc8dde607d
math.norm()
2015-03-23 00:09:06 -04:00
rjbaucells
b1c0428e8c
math.multiply()
2015-03-22 23:34:27 -04:00
rjbaucells
34ac6aef81
math.multiply() partial
2015-03-22 21:35:51 -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
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
J. Harshbarger
6cdaa7dc4a
Typo in docs for mean and median
2015-03-14 08:12:44 +09:00
Rogelio J. Baucells
6df57401a5
collection.deepMap optimizations
2015-03-13 16:10:31 -04:00
rjbaucells
7163c7997d
math.resize()
2015-03-12 23:39:59 -04:00
rjbaucells
b1166871ac
math.ones()
2015-03-12 19:57:31 -04:00
Rogelio J. Baucells
188edd8180
math.trace()
2015-03-12 14:56:54 -04:00
Rogelio J. Baucells
5e1f557f54
math.zeros()
2015-03-12 12:13:14 -04:00
rjbaucells
23391f4dea
Test updates
2015-03-12 00:21:01 -04:00
rjbaucells
04df19b8e2
matrix() documentation
2015-03-10 23:03:40 -04:00
rjbaucells
fb70dc8272
Matrix transpose implementation
2015-03-10 22:38:41 -04:00
Rogelio J. Baucells
2077c39885
Matrix inheritance implementation
2015-03-10 15:28:19 -04:00
Jos de Jong
52e3972765
Merge pull request #293 from BigFav/bigSin
...
Added BigNumber functionality for atan2, with tests.
2015-03-08 20:07:00 +00:00
Rogelio J. Baucells
21db7d8de9
Parser fixes
2015-03-04 15:29:12 -05:00
Rogelio J. Baucells
b4463d9ef3
Initial require() changes
2015-03-04 13:53:32 -05:00
Favian Contreras
1fb2ab8f74
Added BigNumber functionality for atan2, with tests.
2015-03-01 03:35:19 -08:00
jos
27b436d108
Released version 1.4.0
2015-02-28 22:02:12 +01:00
Jos de Jong
cd99ca5ae7
Merge pull request #289 from BigFav/bigSin
...
Now numbers from BigNumber trig calls use the default constructor rather...
2015-02-26 21:02:09 +00:00
Jos de Jong
10db9cb813
Merge pull request #288 from rjbaucells/develop
...
Fixes the calculation of norm() and abs() of large complex numbers
2015-02-26 20:57:09 +00:00
Favian Contreras
4067586d7d
Now numbers from BigNumber trig calls use the default constructor rather than create a new one each time. Now all trig functions can have arguments with higher precisions.
2015-02-26 12:31:38 -08:00
rjbaucells
dd039a1609
Fix abs() and norm() of large complex numbers
2015-02-26 00:54:44 -05:00
Jos de Jong
fc645e927e
Merge pull request #286 from BigFav/bigSin
...
acsc, asec, acot, and added Complex returns for expression parser
2015-02-24 19:38:28 +00:00
Favian Contreras
9d4b74241c
Updated inverse hyperbolic functions to return complex values when appropriate. Updated the test cases as well.
2015-02-24 03:37:42 -08:00
Favian Contreras
c970ac026a
Added acsc, asec, and acot. Also fixed some Complex errors of modifying the original input.
2015-02-24 01:52:30 -08:00
Favian Contreras
85c8f8efc0
No longer edit original complex argument.
2015-02-19 23:53:28 -08:00