jos
950c27df3e
Removed the circular dependency between divide and inv (introduced _divide)
2014-12-24 14:51:45 +01:00
jos
8f37893c61
Implemented function cross (cross product for vectors).
2014-11-08 17:57:51 +01:00
jos
50fb91346b
Implemented function dot (dot product for vectors).
2014-11-08 16:13:32 +01:00
jos
454efa15dc
Merge branch 'develop'
...
Conflicts:
HISTORY.md
2014-08-21 20:41:32 +02:00
jos
7f6b13a797
Changed the default value of new entries in resized matrices to zero.
2014-08-12 22:35:56 +02:00
jos
0860c70a6e
Implemented function flatten
2014-08-12 21:17:27 +02:00
jos
f3f5819718
Fixed function subset not being able to return a scalar value null or undefined (see #205 )
2014-08-06 09:46:08 +02:00
jos
e5ce909524
Reworked the way matrices are resized when dimensions are added/removed
2014-08-03 15:56:39 +02:00
jos
8c224d3e71
Moved transformation of error messages (zero-based to one-based) to the expression/transform section
2014-07-20 20:45:10 +02:00
jos
21b34cfa1a
Implemented transforms, moved all one-based to zero-based logic for expressions to transforms.
2014-07-19 21:47:15 +02:00
jos
40986a1325
Using strict mode now in all files (added 'use strict'; on top of every file)
2014-07-18 23:19:14 +02:00
jos
62a446ab34
Improved index out of range errors.
2014-07-17 21:00:24 +02:00
jos
4719d213de
Created docs page with alphabetical function reference
2014-06-23 22:22:42 +02:00
jos
7d84e4daf0
Math.js now immediately returns a default instance of mathjs, no need to create an instance every time you want to use the library.
2014-06-20 23:11:14 +02:00
jos
ced18ecfca
Implemented functions dotEqual and dotUnequal, renamed functions smallereq to smallerEq and largereq to largerEq (all functions are now camelcase)
2014-06-09 14:07:21 +02:00
jos
abf1b02ee9
Renamed function unary to unaryminus. Documented and tested constant phi.
2014-06-08 20:12:07 +02:00
jos
2f467002d8
Upgraded to decimal.js v3.0.0. Fixed #189 : not being able to load math.js using require.js.
2014-06-05 21:21:14 +02:00
jos
31aa5655b1
Added a section "Where:" to some of the reference docs
2014-05-22 22:15:40 +02:00
jos
9ebc24662f
More reference docs added
2014-05-22 21:17:53 +02:00
jos
830367a494
More docs added
2014-05-18 22:21:00 +02:00
josdejong
97cbb0093f
Moved errors to their own namespace and folder
2014-04-11 18:02:29 +02:00
josdejong
922ce679e6
Moved UnsupportedTypeError to the others, and made it independent of the math namespace
2014-04-11 17:44:55 +02:00
josdejong
b7d016b626
Added bignumber support for improved function det.
2014-04-09 08:28:37 +02:00
josdejong
27df7e0660
Fixed merge conflicts
2014-04-09 08:14:02 +02:00
Bryan Cuccioli
8692d7ffa1
Implement poly-time determinant without divisions.
...
This is based on the paper 'A Simple Division-Free Algorithm for
Computing Determinants' (Bird 2011).
2014-04-07 07:10:06 +00:00
josdejong
492d7f4c4f
Moved ArgumentsError from lib/type/ to lib/util/
2014-04-06 21:25:46 +02:00
josdejong
d0fb727c43
Implemented DimensionError and IndexError
2014-04-06 20:53:23 +02:00
josdejong
a7b24eca8c
Implemented BigNumber support for function diag
2014-04-06 12:57:55 +02:00
josdejong
8cea27406b
Some internal refactoring
2014-04-06 11:22:13 +02:00
josdejong
fab41839bc
Implemented BigNumber support for function det
2014-04-05 23:30:46 +02:00
josdejong
42748689a1
Removed preliminary rounding of results of det
2014-04-05 22:53:38 +02:00
josdejong
ad554ef1f7
Updates and fixes to work with a different BigNumber instance per math.js instance
2014-04-05 22:42:03 +02:00
josdejong
d19e7ea570
Switched to module decimal.js for BigNumber support, instead of bignumber.js.
2014-04-04 21:08:33 +02:00
josdejong
f568ae75c1
More unit tests added
2014-04-03 20:58:43 +02:00
josdejong
9ae103c394
More unit tests
2014-03-21 21:38:26 +01:00
josdejong
e8cb8f91ce
Some more unit tests
2014-03-15 23:05:20 +01:00
Finn
8b2a6a13f3
Improved det tests and fixed bug
...
Before the det function changed the original values of the input array/matrix. I fixed this problems and added tests to account for that. I additionally added some more tests and enforced the input to be an array or a matrix since determinants are not defined for other types
2014-02-09 17:26:33 +01:00
josdejong
8e814cbc82
Implemented an argument includeEnd for function range (false by default)
2014-01-01 19:03:15 +01:00
josdejong
91dae90e1e
Fixed #108 : math.js not working in Java's ScriptEngine
2013-12-10 21:34:37 +01:00
josdejong
f2f1ae1f72
Renamed and flattened configuration settings
2013-12-07 11:39:45 +01:00
josdejong
0210ec0d41
UnsupportedTypeError can now determine the type of values
2013-11-28 17:15:28 +01:00
josdejong
77c3b48df1
Implemented bignumber support for function range
2013-11-27 13:06:46 +01:00
josdejong
7ab15f1d29
Implemented bignumber support for functions eye, ones, resize, size, zeros, factorial
2013-11-23 20:48:01 +01:00
josdejong
3a4c1c5ef0
Internally renamed variable options to settings
2013-11-21 13:39:24 +01:00
josdejong
b366d97a20
Function resize now has an extra optional parameter defaultValue
2013-11-21 12:09:12 +01:00
josdejong
ea51c6c86c
math.options is no longer exposed as property
2013-11-21 10:37:04 +01:00
josdejong
dd662ba948
Functions don't allow arguments of unknown type anymore
2013-11-15 21:33:38 +01:00
josdejong
d9090588b0
Implemented function math.resize
2013-11-15 21:23:22 +01:00
josdejong
0a0596bd7e
Simplified and reworked the Matrix class. Implemented functions Matrix.get and Matrix.set
2013-11-09 21:36:03 +01:00
josdejong
bd318ad837
Function size now adheres to the option matrix.defaultType for scalar input
2013-11-07 22:56:21 +01:00