David Contreras
c9f88f7d3c
Fixed a formula and changed R to degR ( #2498 )
...
Changed `R` to `degR` as there is no unit `R`
`math.createUnit('mile', '1609.347218694', {override: true}})` has a syntax error (an extra `{` ) and is missing units, changed it to `math.createUnit(('mile', '1609.347218694 m', {override: true})` as I think was the original intention.
Co-authored-by: Jos de Jong <wjosdejong@gmail.com>
2022-03-25 16:35:09 +01:00
Jos de Jong
06052ecc86
Fix #2142 : clarify the meaning of matrix dimensions in the docs
2021-04-05 14:44:50 +02:00
rnd-debug
a34ebc2478
Providing overridable Unit.isValidAlpha ( #2000 )
...
* first commit
* providing some tests
* some docs
2020-10-28 11:50:45 +01:00
Jos de Jong
9e462268e5
Fix #1940 : error in the documentation about resizing matrices
2020-08-10 21:49:40 +02:00
Eric Mansfield
97ff95b32c
Added baseName option to createUnit ( #1708 )
...
* Fixed unit base recognition and formatting for user-defined units
* Added baseName option to createUnit
* Trailing spaces
* Fixed line in docs
2020-01-08 10:23:23 +01:00
jos
718b93b2b4
Create unit aliases bit and byte
2019-08-28 15:41:39 +02:00
jos
6081360d6a
Merged develop into modular_architecture
2019-04-13 16:51:51 +02:00
jos
70cbc3ec30
Replace http urls with https where supported
2019-02-27 13:08:42 +01:00
jos
99da53da0e
Flatten everything in a mathjs instance to make it consistent with the ES6 exports. Create deprecation warnings for the old classes and functions
2019-02-07 21:24:51 +01:00
jos
078f1dd69f
Renamed methods .eval to .evaluate, updated all docs and examples accordingly
2019-01-16 10:11:32 +01:00
jos
f6b524a966
Use object destructuring in factory function callback. Rename typeof to typeOf. Only pass dependencies in scope to factory function.
2018-11-06 09:17:21 +01:00
jos
d4543e2212
Fixed docs mentioning wrong default value of epsilon
2018-07-11 08:54:07 +02:00
Daniel Kostro
0fab3e1523
fix format link in units page
2018-07-07 09:58:47 +02:00
jos
8b5eb89a02
Minor tweaks in the docs
2018-06-16 14:57:28 +02:00
ssaket
f06badd172
applied suggested changes on the docs
2018-06-14 21:22:35 +05:30
ssaket
9bf6a30332
fixed lint issues
2018-06-14 20:27:53 +05:30
ssaket
a5dcb02410
updated docs of complex numbers -issue:964
2018-06-14 18:47:13 +05:30
jos
b6b36bfd9b
Use strict equality checks everywhere (=== and !==)
2018-06-13 15:02:21 +02:00
jos
b3b96749bf
Refactored var into const/let, and removed a lot of semicolons
2018-06-13 12:21:14 +02:00
jos
cf5c1c1af8
Fixes #1054 : renamed eye to identity
2018-06-06 10:52:08 +02:00
jos
99ab11b234
Dropped constant uninitialized
2018-02-04 13:09:09 +01:00
jos
51fdf560bf
Updated history
2017-06-05 17:06:48 +02:00
Jos de Jong
777b347178
Merge pull request #852 from gulfaraz/complex_comparision
...
support to compare complex numbers #837
2017-06-05 17:01:39 +02:00
Gulfaraz Yasin
7446181081
clean up
2017-06-05 17:20:28 +05:30
ericman314
e96cad0370
Corrects round-off errors in splitUnit
2017-06-04 22:18:43 -06:00
Gulfaraz Yasin
eda65d2228
used different approach for comparing complex numbers - resolves #837
2017-06-04 22:29:55 +05:30
ericman314
d24b945cb1
Added Unit.prototype.toSI
2017-03-29 08:46:34 -06:00
jos
1ecfdf1a0e
Implemented BigNumber support in function arg()
2016-11-05 19:52:22 +01:00
jos
c9591339b1
Throw an error for implicit conversion between BigNumber and Fraction (see #710 )
2016-11-05 19:44:04 +01:00
jos
4306200c4c
Implemented method Node.equals(other) for all nodes of the expression parser
2016-11-05 16:27:23 +01:00
Adam Butler
9a6ea3203c
Fix incorrect case
2016-10-13 16:00:17 +01:00
Eric
fbbbabd937
Added docs
2016-08-06 13:03:49 -06:00
Eric
b0b607d967
Finished docs
2016-07-27 23:50:49 -06:00
Eric
fa757fccf5
Began working on docs for createUnit
2016-07-26 20:57:46 -06:00
Jos de Jong
ebd1c11ee6
Merge pull request #596 from hgupta9/develop
...
Add kip unit
2016-03-05 10:12:19 +01:00
hgupta9
f86d3d8a9e
add kip unit
2016-03-05 12:28:54 +05:30
jos
15aca5e4d0
Changed casing of the values of config options number and matrix to match the actual name of the classes.
2016-03-04 19:41:54 +01:00
jos
67fcde902e
Moved the class API's under reference/classes (similar to functions reference)
2016-03-04 16:58:21 +01:00
jos
e152c9943c
Fixed a lot of broken links
2016-03-04 16:56:19 +01:00
jos
09d4a88fa1
Removed the matrix functions list from the matrices.md page
2016-03-04 16:18:47 +01:00
hgupta9
45a37ba731
class-wise API and new units
2016-03-02 18:30:55 +05:30
jos
6abe954d7c
Fixed #590 : added information on typeof to the index page of data types
2016-02-28 08:38:31 +01:00
jos
6363ba7df0
Added a paragraph on fractions and bignumbers in the section "round-off" errors
2016-02-04 10:17:21 +01:00
jos
5adbe0a055
Extended Unit with support for all numeric types (Fraction, BigNumber)
2015-11-27 22:45:27 +01:00
Eric
03ec30216e
Added support for units to abs, cube, sign, sqrt, square
...
Updated examples, docs, and unit tests
2015-08-21 05:27:54 +00:00
jos
1235ed485a
Minor formatting
2015-08-11 22:28:42 +02:00
Eric
37870fcc0d
Added support for parentheses to Unit.parse
2015-08-09 20:42:05 +00:00
Eric
23044e29ca
Updated more docs
...
Fixed tabs
2015-08-06 13:47:01 +00:00
jos
a94f0c6c5e
Merge branch 'feature-derived-units' of https://github.com/ericman314/mathjs into ericman314-feature-derived-units
...
Conflicts:
examples/units.js
2015-08-05 21:04:53 +02:00
Eric
f5d166a809
Made an attempt at derived units with simplification
...
Updated unit tests
Updated examples
Updated docs
2015-08-04 05:26:00 +00:00