408 Commits

Author SHA1 Message Date
Eric
b0b607d967 Finished docs 2016-07-27 23:50:49 -06:00
Eric
49378e1891 Finished bug fixes and added tests 2016-07-27 00:15:46 -06:00
Eric
8334e4a6c8 More bug fixing 2016-07-26 23:04:52 -06:00
Eric
37538119aa Working out more bugs 2016-07-26 22:51:43 -06:00
Eric
7c5ff021ed Fixed bug with dimensions array having unknown number of items 2016-07-25 18:03:31 -06:00
Eric
ec8ab2d86d Added base property to createUnit to help user-defined units to be simplified easier 2016-07-19 00:58:46 -06:00
Eric
efaa989cad Update API to accept objects and create multiple units 2016-07-19 00:30:57 -06:00
Eric
6182eb4f35 Fixed small bug when create units with aliases 2016-07-13 19:51:34 -06:00
Eric
b7978dee23 Added Unit.createUnits and createUnits function, and tests. 2016-07-13 00:29:14 -06:00
jos
e9eda030ee Fixed matrix.subset mutating the replacement matrix when unsqueezing it 2016-04-26 09:11:59 +02:00
Eric
a218ea419e Moved duplicate code to separate function 2016-04-23 13:34:15 -06:00
Eric
d2494408ef Unitless units are now converted to numeric values when predictable:false 2016-04-19 15:52:25 -06:00
jos
5acdd961c3 Fixed #631: unit aliases weeks, months, and years where missing 2016-03-31 08:22:28 +02:00
stu blair
7bcae661b2 Add prefixes to moles
* Enables units like 'nanomoles'
2016-03-14 14:24:56 -07:00
Jos de Jong
ebd1c11ee6 Merge pull request #596 from hgupta9/develop
Add kip unit
2016-03-05 10:12:19 +01:00
hgupta9
13231cf90d spaces 2016-03-05 12:31:01 +05:30
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
f4b794100e Replaced tabs with spaces 2016-03-03 20:29:08 +01:00
jos
e2a3878ba9 Moved functions format and print to section string 2016-03-03 20:17:41 +01:00
jos
c02b58e8b0 Merge remote-tracking branch 'origin/develop' into develop 2016-03-03 19:38:09 +01:00
jos
4ea2542941 Extended math.fraction with support for BigNumber, extended math.bignumber with support for Fraction 2016-03-03 19:24:24 +01:00
hgupta9
953b84fc3e new unit aliases 2016-03-02 18:44:34 +05:30
hgupta9
45a37ba731 class-wise API and new units 2016-03-02 18:30:55 +05:30
jos
fb141fb885 Merge branch 'decimal_v5' into develop
Conflicts:
	HISTORY.md
	test/function/trigonometry/cot.test.js
2016-02-27 11:39:56 +01:00
jos
bd6db88fe5 Merge remote-tracking branch 'origin/develop' into develop 2016-02-27 11:37:23 +01:00
jos
4d1cd06285 Implemented new AssignmentNode and everything around it. Changed matrices not to clone elements when getting/setting a subset 2016-02-26 15:30:17 +01:00
jos
94986762fb Merge branch 'develop' into feature/objectsupport
Conflicts:
	HISTORY.md
2016-02-24 08:58:01 +01:00
jos
a3ed081cb8 Fixed angle units deg, rad, grad, cycle, arcsec, and arcmin not being defined as BigNumbers when configuring to use BigNumbers 2016-02-21 15:06:21 +01:00
Eric
bca476e561 Removed PREFIX_NONE 2016-02-15 18:13:40 +00:00
jos
c65e486e6e Updated to decimal.js v5.0.4 2016-02-14 22:32:10 +01:00
jos
c558cf496e Fixed all broken unit tests 2016-02-14 21:51:37 +01:00
jos
60cf4781e8 Upgraded to decimal.js v5. Replaced .constructor with .clone. Still lots of issues to fix 2016-02-13 15:48:54 +01:00
jos
e0bba8ff88 Merge branch 'develop' into complex
Conflicts:
	lib/core/import.js
2016-02-13 13:52:48 +01:00
jos
6e1521d2a4 Use EPSILON of math.js and update on changes in config of math.js 2016-02-09 09:27:45 +01:00
jos
196c7175a3 Fixed a few more failing unit tests (related to fromPolar) 2016-02-09 09:17:55 +01:00
Robert Eisele
b916f838ff Restored original Complex valueOf 2016-02-06 02:04:05 +01:00
Robert Eisele
f6fc7a4eb4 Re-added original Complex format() and fromPolar() 2016-02-06 02:01:37 +01:00
jos
86a3af26f3 Merge branch 'develop' into feature/objectsupport
Conflicts:
	HISTORY.md
2016-02-03 21:17:51 +01:00
Robert Eisele
fcfd43a218 Added complex.js 2016-01-29 01:56:06 +01:00
jos
b0581b4e85 Fixed #551: added more unit aliases for time: secs, mins, hr, hrs 2016-01-25 20:32:11 +01:00
jos
61f6ab0667 Merge branch 'develop' into feature/objectsupport
Conflicts:
	HISTORY.md
2016-01-03 19:49:06 +01:00
jos
2adf01e548 Getting/setting object properties working (still needs a refactoring step) 2016-01-02 15:16:12 +01:00
Jos de Jong
37df69d58c Merge pull request #522 from owenversteeg/patch-1
Add time units (Issue #520)
2015-12-25 19:49:54 +01:00
Jos de Jong
c3ccdd6800 Fixed #523: In some circumstances, matrix subset returned a scalar instead of the correct subset 2015-12-24 16:03:39 +00:00
Jos de Jong
02a2bbe9fb Merge pull request #515 from ericman314/complex-units
Added support for complex units
2015-12-24 16:11:15 +01:00
Eric
a14b8b7a68 Added VA, VAR, and custom logic to convert between them. 2015-12-24 05:45:13 +00:00
Owen Versteeg
04a735b844 add time units 2015-12-22 12:46:33 -05:00
jos
90a96027b3 Merge branch 'develop' into feature/objectsupport 2015-12-05 13:18:17 +01:00
jos
931736658d Added support for getting/setting object properties to Index and math.subset 2015-12-04 09:53:35 +01:00