jos
|
05cb69f6da
|
Converting a unit without value will now result in a unit *with* value
|
2014-12-14 13:35:17 +01:00 |
|
jos
|
7f6b13a797
|
Changed the default value of new entries in resized matrices to zero.
|
2014-08-12 22:35:56 +02:00 |
|
jos
|
d274a50cbf
|
Fixed #205: A returned matrix subset is now only squeezed when the index consists of scalar values, and no longer for ranges resolving into a single value.
|
2014-08-09 16:48:00 +02:00 |
|
jos
|
8a12c8e9bc
|
Fixed #200: A new instanceof of math.js must now be created as math.create([options]) instead of math([options])
|
2014-08-03 21:42:12 +02:00 |
|
jos
|
a6cd7065ed
|
Improved some unit tests
|
2014-08-03 18:13:04 +02:00 |
|
jos
|
16d2e41f59
|
Improved function unsqueeze
|
2014-08-03 18:04:57 +02:00 |
|
jos
|
e5ce909524
|
Reworked the way matrices are resized when dimensions are added/removed
|
2014-08-03 15:56:39 +02:00 |
|
jos
|
302aa17788
|
Index now accepts a Matrix as well as input, downgrades to Array
|
2014-07-21 21:43:20 +02:00 |
|
jos
|
1a9ceac955
|
Multi-line expressions now return a ResultSet instead of an Array.
|
2014-07-18 21:34:37 +02:00 |
|
jos
|
64c8693f82
|
Objects Complex, Unit, and Help now return their string representation when calling .valueOf() (see #190)
|
2014-06-17 22:14:12 +02:00 |
|
jos
|
91cdad78b7
|
Removed automatic assignment of expression results to variable ans
|
2014-06-08 21:55:38 +02:00 |
|
jos
|
3399909318
|
Implemented unary plus
|
2014-06-08 20:49:52 +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
|
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
|
2730edfd60
|
Removed errors for stuff deprecated since v0.16.0
|
2014-04-06 13:03:45 +02:00 |
|
josdejong
|
c7c17c6f64
|
Removed dependency on global math from Complex
|
2014-04-05 23:21:38 +02:00 |
|
Finn
|
333f881c4d
|
Add constructor support for polar and {re:..,im:..} Fixes #76
|
2014-04-05 02:14:14 +02:00 |
|
Finn
|
7b32c7fb00
|
Add toPolar method #76
|
2014-04-05 01:07:55 +02:00 |
|
Finn
|
754b33b983
|
Add fromPolar and math.complex with polar input #76
|
2014-04-04 01:27:05 +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
|
f51f4454f5
|
More unit tests
|
2014-03-17 21:29:52 +01:00 |
|
josdejong
|
f1ea498927
|
Added some more unit tests
|
2014-03-15 15:27:05 +01:00 |
|
josdejong
|
8226e524f9
|
Added plurals and aliases for units.
|
2014-01-18 14:19:08 +01:00 |
|
josdejong
|
f6acb12e4d
|
Implemented expression compilation for 80%
|
2014-01-01 20:46:30 +01:00 |
|
josdejong
|
df345c66cb
|
Fixed #113: bug in prefixes for squared and cubic meter (m2 and m3)
|
2013-12-14 14:43:25 +01:00 |
|
josdejong
|
0210ec0d41
|
UnsupportedTypeError can now determine the type of values
|
2013-11-28 17:15:28 +01:00 |
|
josdejong
|
80b8b34042
|
Implemented function config
|
2013-11-21 13:13:26 +01:00 |
|
josdejong
|
b366d97a20
|
Function resize now has an extra optional parameter defaultValue
|
2013-11-21 12:09:12 +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
|
652054bc41
|
Implemented functions min and max for Range and Index
|
2013-11-09 15:06:32 +01:00 |
|
josdejong
|
5f1aee3550
|
Some fixes and improvements in the resize function
|
2013-11-07 22:42:21 +01:00 |
|
josdejong
|
b071e5daba
|
Removed utility functions isScalar, toScalar, isVector, toVector from Matrix and Range.
|
2013-10-31 10:54:42 +01:00 |
|
josdejong
|
d2e55a0132
|
Math.js must be instantiated now, static calls are no longer supported
|
2013-10-26 15:00:06 +02:00 |
|
josdejong
|
c8a289a08c
|
Removed unnecessary .js suffix in module require statements
|
2013-10-20 14:01:31 +02:00 |
|
josdejong
|
e61d2f965b
|
Fixes in the new function math.format(precision). Updated docs and tests.
|
2013-10-19 21:44:54 +02:00 |
|
josdejong
|
a4bda611df
|
Implemented function print (splitted from function format)
|
2013-10-19 18:10:50 +02:00 |
|
josdejong
|
f48c07bdd8
|
Getting or setting a subset of a matrix will automatically squeezed/unsqueezed the submatrix
|
2013-09-25 21:59:35 +02:00 |
|
josdejong
|
b683d5eecf
|
All construction functions can be used to convert the type of variables, also element-wise for all elements in an Array or Matrix
|
2013-09-02 22:38:41 +02:00 |
|
josdejong
|
47c4b4c3a7
|
Replaced functions get and set of Matrix with a single function subset
|
2013-08-31 21:20:02 +02:00 |
|
josdejong
|
eadb884af9
|
Moved around code and namespaces in order to separate expression parser related code.
|
2013-08-31 09:37:14 +02:00 |
|
Sebastien Piquemal
|
bf005f41a2
|
added tests for map and forEach
|
2013-08-30 13:05:04 +04:00 |
|
Sebastien Piquemal
|
fe2c2b59d2
|
added math.map function see #68
|
2013-08-28 18:34:15 +04:00 |
|
josdejong
|
7f58398053
|
Completed missing descriptions in tests
|
2013-08-19 21:07:45 +02:00 |
|
josdejong
|
3341cd387a
|
Fixed failing unit tests
|
2013-08-19 12:54:36 +02:00 |
|
josdejong
|
22690a733f
|
Merge remote-tracking branch 'origin/develop' into develop
Conflicts:
test/function/utils/select.test.js
test/type/matrix.test.js
test/type/range.test.js
|
2013-08-19 12:44:26 +02:00 |
|
josdejong
|
35e789d3fe
|
Made math.subset, Matrix.get, Matrix.set more strict: only accept an Index
|
2013-08-18 15:28:20 +02:00 |
|
josdejong
|
d18e2c69a4
|
Adjusted tests for new Index
|
2013-08-18 15:10:26 +02:00 |
|