Changelog
2013-05-10, version 0.8.0
end
keyword for index operator, and added support for implicit
start and end (expressions like a(2,:)
and b(2:end,3:end-1)
are supported
now).Changelog
2013-05-04, version 0.7.2
Changelog
2013-04-27, version 0.7.1
2.3.4
.Changelog
2013-04-20, version 0.7.0
math.eval
, which uses a readonly parser to evaluate
expressions.xgcd
(extended eucledian algorithm). Thanks Bart Kiers
(@bkiers).math.format(math.pi)
returns 3.1416
).Changelog
2013-04-13, version 0.6.0
math.select(3).add(4).subtract(2).done()
will return 5
.Unit.in(unit)
, which creates a clone of the unit with a
fixed representation. For example math.unit('5.08 cm').in('inch')
will
return a unit which string representation always is in inch, thus 2 inch
.
Unit.in(unit)
is the same as method math.in(x, unit)
.Unit.toNumber(unit)
, which returns the value of the unit when
represented with given unit. For example
math.unit('5.08 cm').toNumber('inch')
returns the number 2
, as the
representation of the unit in inches has 2 as value.math.in(x, unit)
now supports a string as second parameter,
for example math.in(math.unit('5.08 cm'), 'inch')
.Changelog
2013-04-06, version 0.5.0
:
, and transpose operator '
in parser.math.complex(2, 3)
instead of new math.Complex(2, 3)
, and a parser
is now created with math.parser()
instead of new math.parser.Parser()
.2^3^4
is now calculated as 2^(3^4)
.-3^2
is
now calculated as -(3^2)
.Changelog
2013-03-16, version 0.4.0
Changelog
2013-03-09, version 0.3.0
Changelog
2013-02-25, version 0.2.0