UNPKG
nodehmm
Version:
latest (0.0.3)
0.0.3
0.0.2
0.0.1
node implementaion of HMM(Hidden Markov model).
github.com/liwenzhu/nodehmm
liwenzhu/nodehmm
nodehmm
/
lib
/
math.js
11 lines
(7 loc)
•
144 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
'use strict'
;
module
.
exports
=
Mathjs
;
function
Mathjs
(
) { };
Mathjs
.
prototype
.
log2
=
function
(
val
) {
return
Math
.
log
(val) /
Math
.
LN2
; };