From ftm
Jump to: navigation, search
(Reference under construction...)
Line 1: Line 1:
=== Reference under construction... ===
+
(Reference under construction)
 +
 
 +
* mnm.centroid
 +
* mnm.delta
 +
* mnm.diag
 +
* mnm.gmmem
 +
* mnm.hist
 +
* mnm.lu
 +
* mnm.mahalanobis
 +
* mnm.meanstd
 +
* mnm.minmax
 +
* mnm.nmd
 +
* mnm.nmf
 +
* mnm.obsprob
 +
* mnm.qr
 +
* mnm.stats
 +
* mnm.submat
 +
* mnm.sum
 +
* mnm.svd
 +
* mnm.transpose
 +
* mnm.viterbi
 +
* mnm.xdist2
 +
* mnm.xmul
 +
 
 +
 
 +
{{Module |
 +
  | name=mnm.centroid
 +
  | brief=
 +
  | descr=
 +
  | arguments=none
 +
  | attributes=mode - (1&#124;2&#124;row&#124;col) calculate over rows (default, same as 1) or columns (same as 2) for multicolumn inputs.<br>
 +
  | messages=mode - (1&#124;2&#124;row&#124;col) calculate over rows (default, same as 1) or columns (same as 2) for multicolumn inputs.<br>
 +
  | inlets=1 - input vector<br>
 +
  | outlets=1 - output centroids<br>2 - input sums<br>
 +
}}
  
 
{{Module |  
 
{{Module |  
Line 5: Line 39:
 
   | brief=
 
   | brief=
 
   | descr=
 
   | descr=
   | arguments=0 - initialize the input size<br>1 - initialize the filter size<br>
+
   | arguments=1 - initialize the input size<br>2 - initialize the filter size<br>
 
   | attributes=norm - normalization mode 1 (default) or 0<br>inadddel - add a delay to the delayed input<br>
 
   | attributes=norm - normalization mode 1 (default) or 0<br>inadddel - add a delay to the delayed input<br>
 
   | messages=clear - clear the memory of inputs<br>getdelay - get the input ring buffer<br>getring - get the input ring buffer<br>getnorm - get the normalization factor<br>getstate - get the internal weights vector<br>norm - normalization mode 1 (default) or 0<br>inadddel - add a delay to the delayed input<br>filtersize - set the filter size<br>insize - set the input size<br>
 
   | messages=clear - clear the memory of inputs<br>getdelay - get the input ring buffer<br>getring - get the input ring buffer<br>getnorm - get the normalization factor<br>getstate - get the internal weights vector<br>norm - normalization mode 1 (default) or 0<br>inadddel - add a delay to the delayed input<br>filtersize - set the filter size<br>insize - set the input size<br>
   | inlets=0 - input vector<br>
+
   | inlets=1 - input vector<br>
   | outlets=0 - output delayed inputs (in phase with deltas)<br>1 - output deltas<br>2 - internal values<br>
+
   | outlets=1 - output delayed inputs (in phase with deltas)<br>2 - output deltas<br>3 - internal values<br>
 
}}
 
}}
  
Line 19: Line 53:
 
   | attributes=out - reference to an external fmat to store the diagonal<br>
 
   | attributes=out - reference to an external fmat to store the diagonal<br>
 
   | messages=out - reference to an external fmat to store the diagonal<br>
 
   | messages=out - reference to an external fmat to store the diagonal<br>
   | inlets=0 - incoming fmat whose diagonal will be extracted<br>
+
   | inlets=1 - incoming fmat whose diagonal will be extracted<br>
   | outlets=0 - diagonal of the fmat<br>
+
   | outlets=1 - diagonal of the fmat<br>
 
}}
 
}}
  
Line 27: Line 61:
 
   | brief=
 
   | brief=
 
   | descr=
 
   | descr=
   | arguments=0 - number of centers to use<br>
+
   | arguments=1 - number of centers to use<br>
 
   | attributes=ncenters - number of centers<br>criteria - criteria<br>mode - (diagonal&#124;full&#124;spherical) covariance computation types<br>outpriors - reference to external fmat to store priors<br>outcov - reference to external fmat to store covariance<br>outcenters - reference to external fmat to store centers<br>
 
   | attributes=ncenters - number of centers<br>criteria - criteria<br>mode - (diagonal&#124;full&#124;spherical) covariance computation types<br>outpriors - reference to external fmat to store priors<br>outcov - reference to external fmat to store covariance<br>outcenters - reference to external fmat to store centers<br>
 
   | messages=outpriors - reference to external fmat to store priors<br>outcov - reference to external fmat to store covariance<br>outcenters - reference to external fmat to store centers<br>
 
   | messages=outpriors - reference to external fmat to store priors<br>outcov - reference to external fmat to store covariance<br>outcenters - reference to external fmat to store centers<br>
   | inlets=0 - fmat<br>
+
   | inlets=1 - fmat<br>
   | outlets=0 - fmat centers<br>1 - fmat covariance<br>2 - fmat priors<br>
+
   | outlets=1 - fmat centers<br>2 - fmat covariance<br>3 - fmat priors<br>
 
}}
 
}}
  
Line 38: Line 72:
 
   | brief=
 
   | brief=
 
   | descr=
 
   | descr=
   | arguments=0 - number of bins<br>
+
   | arguments=1 - number of bins<br>
 
   | attributes=norm - values: on=max, sum: normalise histogram so that max or sum is 1<br>bpf - output two-column fmat with bin indices and histogram values<br>
 
   | attributes=norm - values: on=max, sum: normalise histogram so that max or sum is 1<br>bpf - output two-column fmat with bin indices and histogram values<br>
 
   | messages=set_n - number of bins<br>norm - values: on=max, sum: normalise histogram so that max or sum is 1<br>bpf - output two-column fmat with bin indices and histogram values<br>
 
   | messages=set_n - number of bins<br>norm - values: on=max, sum: normalise histogram so that max or sum is 1<br>bpf - output two-column fmat with bin indices and histogram values<br>
   | inlets=0 - data fmat or fvec <br>
+
   | inlets=1 - data fmat or fvec <br>
   | outlets=0 - histogram fmat<br>1 - min data value<br>2 - max data value<br>
+
   | outlets=1 - histogram fmat<br>2 - min data value<br>3 - max data value<br>
 
}}
 
}}
  
Line 52: Line 86:
 
   | attributes=outx - out X<br>outpivot - out pivot<br>outu - out U<br>outl - out L<br>
 
   | attributes=outx - out X<br>outpivot - out pivot<br>outu - out U<br>outl - out L<br>
 
   | messages=outx - out X<br>outpivot - out pivot<br>outu - out U<br>outl - out L<br>solve - solves system with incoming fmat and decomposed fmat<br>determinant - computes determinant of decomposed fmat<br>
 
   | messages=outx - out X<br>outpivot - out pivot<br>outu - out U<br>outl - out L<br>solve - solves system with incoming fmat and decomposed fmat<br>determinant - computes determinant of decomposed fmat<br>
   | inlets=0 - fmat to decompose<br>
+
   | inlets=1 - fmat to decompose<br>
   | outlets=0 - L<br>1 - U<br>2 - pivot<br>3 - X<br>4 - determinant<br>
+
   | outlets=1 - L<br>2 - U<br>3 - pivot<br>4 - X<br>5 - determinant<br>
 
}}
 
}}
  
Line 60: Line 94:
 
   | brief=
 
   | brief=
 
   | descr=
 
   | descr=
   | arguments=0 - fmat of mean values<br>1 - fmat of covariance<br>
+
   | arguments=1 - fmat of mean values<br>2 - fmat of covariance<br>
 
   | attributes=out - reference to external fmat to store result<br>
 
   | attributes=out - reference to external fmat to store result<br>
 
   | messages=out - reference to external fmat to store result<br>set_shift_weight - set shift weight per target (in) line<br>set_shift_weight - set shift weight per target (in) line<br>set_shift - set shift vector per database (mu) line<br>set_shift - set shift vector per database (mu) line<br>
 
   | messages=out - reference to external fmat to store result<br>set_shift_weight - set shift weight per target (in) line<br>set_shift_weight - set shift weight per target (in) line<br>set_shift - set shift vector per database (mu) line<br>set_shift - set shift vector per database (mu) line<br>
   | inlets=0 - vector<br>1 - mu<br>2 - sigma<br>
+
   | inlets=1 - vector<br>2 - mu<br>3 - sigma<br>
   | outlets=0 - mahalanobis distance<br>
+
   | outlets=1 - mahalanobis distance<br>
 
}}
 
}}
  
Line 71: Line 105:
 
   | brief=
 
   | brief=
 
   | descr=
 
   | descr=
   | arguments=0 - (1&#124;2&#124;row&#124;col) sum over rows or columns<br>
+
   | arguments=1 - (1&#124;2&#124;row&#124;col) sum over rows or columns<br>
 
   | attributes=type - (fmat) always output an fmat even for scalar results<br>mode - (row&#124;col&#124;1&#124;2) computes over rows or columns<br>outstd - reference to an external fmat to store the standard deviation<br>outmean - reference to an external fmat to store the mean<br>
 
   | attributes=type - (fmat) always output an fmat even for scalar results<br>mode - (row&#124;col&#124;1&#124;2) computes over rows or columns<br>outstd - reference to an external fmat to store the standard deviation<br>outmean - reference to an external fmat to store the mean<br>
 
   | messages=outstd - reference to an external fmat to store the standard deviation<br>outmean - reference to an external fmat to store the mean<br>
 
   | messages=outstd - reference to an external fmat to store the standard deviation<br>outmean - reference to an external fmat to store the mean<br>
   | inlets=0 - incoming fmat<br>
+
   | inlets=1 - incoming fmat<br>
   | outlets=0 - mean<br>1 - standard deviation<br>
+
   | outlets=1 - mean<br>2 - standard deviation<br>
 
}}
 
}}
  
Line 82: Line 116:
 
   | brief=
 
   | brief=
 
   | descr=
 
   | descr=
   | arguments=0 - (1&#124;2&#124;row&#124;col) sum over rows or columns<br>
+
   | arguments=1 - (1&#124;2&#124;row&#124;col) sum over rows or columns<br>
 
   | attributes=type - (fmat) always output an fmat even for scalar results<br>mode - (row&#124;col&#124;1&#124;2) computes over rows or columns<br>outargmax - reference to fmat to store the argmax<br>outmax - reference to fmat to store the max<br>outargmin - reference to fmat to store the argmin<br>outmin - reference to fmat to store the min<br>
 
   | attributes=type - (fmat) always output an fmat even for scalar results<br>mode - (row&#124;col&#124;1&#124;2) computes over rows or columns<br>outargmax - reference to fmat to store the argmax<br>outmax - reference to fmat to store the max<br>outargmin - reference to fmat to store the argmin<br>outmin - reference to fmat to store the min<br>
 
   | messages=outargmax - reference to fmat to store the argmax<br>outmax - reference to fmat to store the max<br>outargmin - reference to fmat to store the argmin<br>outmin - reference to fmat to store the min<br>
 
   | messages=outargmax - reference to fmat to store the argmax<br>outmax - reference to fmat to store the max<br>outargmin - reference to fmat to store the argmin<br>outmin - reference to fmat to store the min<br>
   | inlets=0 - incoming fmat<br>
+
   | inlets=1 - incoming fmat<br>
   | outlets=0 - min<br>1 - argmin<br>2 - max<br>3 - argmax<br>
+
   | outlets=1 - min<br>2 - argmin<br>3 - max<br>4 - argmax<br>
 
}}
 
}}
  
Line 96: Line 130:
 
   | attributes=itermax - itermax<br>sH - sH<br>criteria - criteria<br>outh - out H<br>
 
   | attributes=itermax - itermax<br>sH - sH<br>criteria - criteria<br>outh - out H<br>
 
   | messages=outh - out H<br>
 
   | messages=outh - out H<br>
   | inlets=0 - fmat<br>1 - fmat<br>2 - <br>
+
   | inlets=1 - fmat<br>2 - fmat<br>3 - <br>
   | outlets=0 - fmat<br>
+
   | outlets=1 - fmat<br>
 
}}
 
}}
  
Line 104: Line 138:
 
   | brief=
 
   | brief=
 
   | descr=
 
   | descr=
   | arguments=0 - number of components<br>
+
   | arguments=1 - number of components<br>
 
   | attributes=itermax - maximum number of iterations<br>rdim - number of components<br>criteria - (float) stopping criteria<br>outh - reference to external fmat to store H<br>outw - reference to external fmat to store W<br>
 
   | attributes=itermax - maximum number of iterations<br>rdim - number of components<br>criteria - (float) stopping criteria<br>outh - reference to external fmat to store H<br>outw - reference to external fmat to store W<br>
 
   | messages=outh - reference to external fmat to store H<br>outw - reference to external fmat to store W<br>
 
   | messages=outh - reference to external fmat to store H<br>outw - reference to external fmat to store W<br>
   | inlets=0 - fmat to be decomposed<br>
+
   | inlets=1 - fmat to be decomposed<br>
   | outlets=0 - W<br>1 - H<br>
+
   | outlets=1 - W<br>2 - H<br>
 +
}}
 +
 
 +
{{Module |
 +
  | name=mnm.obsprob
 +
  | brief=
 +
  | descr=
 +
  | arguments=none
 +
  | attributes=none
 +
  | messages=none
 +
  | inlets=1 - ref. to observation frame : fmat [D (=feature space dim) , 1]<br>2 - ref. to states matrix<br>
 +
  | outlets=1 - log(B) : fmat [K (=nb of states) , 1]<br>2 - test<br>
 
}}
 
}}
  
Line 118: Line 163:
 
   | attributes=outx - reference to external fmat to store X<br>outr - reference to external fmat to store R<br>outq - reference to external fmat to store Q<br>
 
   | attributes=outx - reference to external fmat to store X<br>outr - reference to external fmat to store R<br>outq - reference to external fmat to store Q<br>
 
   | messages=outx - reference to external fmat to store X<br>outr - reference to external fmat to store R<br>outq - reference to external fmat to store Q<br>solve - solve system with QR decomposition<br>
 
   | messages=outx - reference to external fmat to store X<br>outr - reference to external fmat to store R<br>outq - reference to external fmat to store Q<br>solve - solve system with QR decomposition<br>
   | inlets=0 - fmat to be decomposed<br>
+
   | inlets=1 - fmat to be decomposed<br>
   | outlets=0 - Q<br>1 - R<br>2 - X<br>
+
   | outlets=1 - Q<br>2 - R<br>3 - X<br>
 
}}
 
}}
  
Line 129: Line 174:
 
   | attributes=norm - switch normalize<br>
 
   | attributes=norm - switch normalize<br>
 
   | messages=set - set histogram vector (fmat)<br>clear - clear histogram<br>bang - output stats<br>norm - switch normalize<br>
 
   | messages=set - set histogram vector (fmat)<br>clear - clear histogram<br>bang - output stats<br>norm - switch normalize<br>
   | inlets=0 - data input<br>
+
   | inlets=1 - data input<br>
   | outlets=0 - average<br>1 - standard deviation<br>2 - count<br>
+
   | outlets=1 - average<br>2 - standard deviation<br>3 - count<br>
 
}}
 
}}
  
Line 140: Line 185:
 
   | attributes=out - reference to external fmat to store the sub-matrix<br>
 
   | attributes=out - reference to external fmat to store the sub-matrix<br>
 
   | messages=out - reference to external fmat to store the sub-matrix<br>end - end of submatrix coordinates<br>begin - start of submatrix coordinates<br>
 
   | messages=out - reference to external fmat to store the sub-matrix<br>end - end of submatrix coordinates<br>begin - start of submatrix coordinates<br>
   | inlets=0 - fmat<br>
+
   | inlets=1 - fmat<br>
   | outlets=0 - sub-matrix<br>
+
   | outlets=1 - sub-matrix<br>
 
}}
 
}}
  
Line 148: Line 193:
 
   | brief=
 
   | brief=
 
   | descr=
 
   | descr=
   | arguments=0 - (1&#124;2&#124;row&#124;col) sum over rows or columns<br>
+
   | arguments=1 - (1&#124;2&#124;row&#124;col) sum over rows or columns<br>
 
   | attributes=type - (fmat) always output an fmat even for scalar results<br>mode - (row&#124;col&#124;1&#124;2) perform sum over rows or columns<br>out - reference to external fmat to store the sum<br>
 
   | attributes=type - (fmat) always output an fmat even for scalar results<br>mode - (row&#124;col&#124;1&#124;2) perform sum over rows or columns<br>out - reference to external fmat to store the sum<br>
 
   | messages=out - reference to external fmat to store the sum<br>
 
   | messages=out - reference to external fmat to store the sum<br>
   | inlets=0 - incoming fmat<br>
+
   | inlets=1 - incoming fmat<br>
   | outlets=0 - sum of fmat<br>
+
   | outlets=1 - sum of fmat<br>
 
}}
 
}}
  
Line 159: Line 204:
 
   | brief=
 
   | brief=
 
   | descr=
 
   | descr=
   | arguments=0 - number of singular values<br>
+
   | arguments=1 - number of singular values<br>
 
   | attributes=mode - (auto&#124;manual) automatically eliminate negligible singular values<br>outvt - reference to external fmat to store V&#039;<br>outs - reference to external fmat to store S<br>outu - reference to external fmat to store U<br>
 
   | attributes=mode - (auto&#124;manual) automatically eliminate negligible singular values<br>outvt - reference to external fmat to store V&#039;<br>outs - reference to external fmat to store S<br>outu - reference to external fmat to store U<br>
 
   | messages=outvt - reference to external fmat to store V&#039;<br>outs - reference to external fmat to store S<br>outu - reference to external fmat to store U<br>
 
   | messages=outvt - reference to external fmat to store V&#039;<br>outs - reference to external fmat to store S<br>outu - reference to external fmat to store U<br>
   | inlets=0 - fmat to be decomposed by SVD<br>
+
   | inlets=1 - fmat to be decomposed by SVD<br>
   | outlets=0 - U<br>1 - S<br>2 - V&#039;<br>
+
   | outlets=1 - U<br>2 - S<br>3 - V&#039;<br>
 
}}
 
}}
  
Line 173: Line 218:
 
   | attributes=out - reference to external fmat to store the transposition<br>
 
   | attributes=out - reference to external fmat to store the transposition<br>
 
   | messages=out - reference to external fmat to store the transposition<br>
 
   | messages=out - reference to external fmat to store the transposition<br>
   | inlets=0 - fmat to be transposed<br>
+
   | inlets=1 - fmat to be transposed<br>
   | outlets=0 - transposed fmat<br>
+
   | outlets=1 - transposed fmat<br>
 +
}}
 +
 
 +
{{Module |
 +
  | name=mnm.viterbi
 +
  | brief=
 +
  | descr=
 +
  | arguments=none
 +
  | attributes=get - debug : get intern values.<br>latency - maximum latency (nb of frames)<br>verbose - verbose or not (0&#124;1)<br>line - on&#124;off line<br>
 +
  | messages=get - debug : get intern values.<br>locpaths - get locpaths matrix<br>latency - maximum latency (nb of frames)<br>verbose - verbose or not (0&#124;1)<br>bang - bang to decode<br>reinit - input message reinit<br>
 +
  | inlets=1 - bang to decode, or reinit message to reset PSIs and DELTAs<br>2 - observation matrix logB[T,K]<br>3 - state prior distribution Pi[1,K]<br>4 - state transition matrix A[K,K]<br>
 +
  | outlets=1 - decoded best path<br>2 - debug<br>
 
}}
 
}}
  
Line 181: Line 237:
 
   | brief=
 
   | brief=
 
   | descr=
 
   | descr=
   | arguments=0 - fmat to be used as right operand<br>
+
   | arguments=1 - fmat to be used as right operand<br>
 
   | attributes=swap - (yes&#124;no) swaps operands<br>out - reference to external fmat to store the result<br>
 
   | attributes=swap - (yes&#124;no) swaps operands<br>out - reference to external fmat to store the result<br>
 
   | messages=out - reference to external fmat to store the result<br>
 
   | messages=out - reference to external fmat to store the result<br>
   | inlets=0 - left operand<br>1 - right operand<br>
+
   | inlets=1 - left operand<br>2 - right operand<br>
   | outlets=0 - resulting fmat<br>
+
   | outlets=1 - resulting fmat<br>
 
}}
 
}}
  
Line 192: Line 248:
 
   | brief=
 
   | brief=
 
   | descr=
 
   | descr=
   | arguments=0 - fmat to be used as right operand<br>
+
   | arguments=1 - fmat to be used as right operand<br>
 
   | attributes=swap - (yes&#124;no) swaps operands<br>out - reference to an external fmat to store the result<br>
 
   | attributes=swap - (yes&#124;no) swaps operands<br>out - reference to an external fmat to store the result<br>
 
   | messages=out - reference to an external fmat to store the result<br>
 
   | messages=out - reference to an external fmat to store the result<br>
   | inlets=0 - left hand side fmat operand<br>1 - right hand side fmat operand<br>
+
   | inlets=1 - left hand side fmat operand<br>2 - right hand side fmat operand<br>
   | outlets=0 - fmat result<br>
+
   | outlets=1 - fmat result<br>
 
}}
 
}}

Revision as of 03:28, 3 March 2008

(Reference under construction)

  • mnm.centroid
  • mnm.delta
  • mnm.diag
  • mnm.gmmem
  • mnm.hist
  • mnm.lu
  • mnm.mahalanobis
  • mnm.meanstd
  • mnm.minmax
  • mnm.nmd
  • mnm.nmf
  • mnm.obsprob
  • mnm.qr
  • mnm.stats
  • mnm.submat
  • mnm.sum
  • mnm.svd
  • mnm.transpose
  • mnm.viterbi
  • mnm.xdist2
  • mnm.xmul



mnm.centroid '
arguments: none
attributes: mode - (1|2|row|col) calculate over rows (default, same as 1) or columns (same as 2) for multicolumn inputs.
messages: mode - (1|2|row|col) calculate over rows (default, same as 1) or columns (same as 2) for multicolumn inputs.
inlets: 1 - input vector
outlets: 1 - output centroids
2 - input sums

mnm.delta '
arguments: 1 - initialize the input size
2 - initialize the filter size
attributes: norm - normalization mode 1 (default) or 0
inadddel - add a delay to the delayed input
messages: clear - clear the memory of inputs
getdelay - get the input ring buffer
getring - get the input ring buffer
getnorm - get the normalization factor
getstate - get the internal weights vector
norm - normalization mode 1 (default) or 0
inadddel - add a delay to the delayed input
filtersize - set the filter size
insize - set the input size
inlets: 1 - input vector
outlets: 1 - output delayed inputs (in phase with deltas)
2 - output deltas
3 - internal values

mnm.diag '
arguments: none
attributes: out - reference to an external fmat to store the diagonal
messages: out - reference to an external fmat to store the diagonal
inlets: 1 - incoming fmat whose diagonal will be extracted
outlets: 1 - diagonal of the fmat

mnm.gmmem '
arguments: 1 - number of centers to use
attributes: ncenters - number of centers
criteria - criteria
mode - (diagonal|full|spherical) covariance computation types
outpriors - reference to external fmat to store priors
outcov - reference to external fmat to store covariance
outcenters - reference to external fmat to store centers
messages: outpriors - reference to external fmat to store priors
outcov - reference to external fmat to store covariance
outcenters - reference to external fmat to store centers
inlets: 1 - fmat
outlets: 1 - fmat centers
2 - fmat covariance
3 - fmat priors

mnm.hist '
arguments: 1 - number of bins
attributes: norm - values: on=max, sum: normalise histogram so that max or sum is 1
bpf - output two-column fmat with bin indices and histogram values
messages: set_n - number of bins
norm - values: on=max, sum: normalise histogram so that max or sum is 1
bpf - output two-column fmat with bin indices and histogram values
inlets: 1 - data fmat or fvec
outlets: 1 - histogram fmat
2 - min data value
3 - max data value

mnm.lu '
arguments: none
attributes: outx - out X
outpivot - out pivot
outu - out U
outl - out L
messages: outx - out X
outpivot - out pivot
outu - out U
outl - out L
solve - solves system with incoming fmat and decomposed fmat
determinant - computes determinant of decomposed fmat
inlets: 1 - fmat to decompose
outlets: 1 - L
2 - U
3 - pivot
4 - X
5 - determinant

mnm.mahalanobis '
arguments: 1 - fmat of mean values
2 - fmat of covariance
attributes: out - reference to external fmat to store result
messages: out - reference to external fmat to store result
set_shift_weight - set shift weight per target (in) line
set_shift_weight - set shift weight per target (in) line
set_shift - set shift vector per database (mu) line
set_shift - set shift vector per database (mu) line
inlets: 1 - vector
2 - mu
3 - sigma
outlets: 1 - mahalanobis distance

mnm.meanstd '
arguments: 1 - (1|2|row|col) sum over rows or columns
attributes: type - (fmat) always output an fmat even for scalar results
mode - (row|col|1|2) computes over rows or columns
outstd - reference to an external fmat to store the standard deviation
outmean - reference to an external fmat to store the mean
messages: outstd - reference to an external fmat to store the standard deviation
outmean - reference to an external fmat to store the mean
inlets: 1 - incoming fmat
outlets: 1 - mean
2 - standard deviation

mnm.minmax '
arguments: 1 - (1|2|row|col) sum over rows or columns
attributes: type - (fmat) always output an fmat even for scalar results
mode - (row|col|1|2) computes over rows or columns
outargmax - reference to fmat to store the argmax
outmax - reference to fmat to store the max
outargmin - reference to fmat to store the argmin
outmin - reference to fmat to store the min
messages: outargmax - reference to fmat to store the argmax
outmax - reference to fmat to store the max
outargmin - reference to fmat to store the argmin
outmin - reference to fmat to store the min
inlets: 1 - incoming fmat
outlets: 1 - min
2 - argmin
3 - max
4 - argmax

mnm.nmd '
arguments: none
attributes: itermax - itermax
sH - sH
criteria - criteria
outh - out H
messages: outh - out H
inlets: 1 - fmat
2 - fmat
3 -
outlets: 1 - fmat

mnm.nmf '
arguments: 1 - number of components
attributes: itermax - maximum number of iterations
rdim - number of components
criteria - (float) stopping criteria
outh - reference to external fmat to store H
outw - reference to external fmat to store W
messages: outh - reference to external fmat to store H
outw - reference to external fmat to store W
inlets: 1 - fmat to be decomposed
outlets: 1 - W
2 - H

mnm.obsprob '
arguments: none
attributes: none
messages: none
inlets: 1 - ref. to observation frame : fmat [D (=feature space dim) , 1]
2 - ref. to states matrix
outlets: 1 - log(B) : fmat [K (=nb of states) , 1]
2 - test

mnm.qr '
arguments: none
attributes: outx - reference to external fmat to store X
outr - reference to external fmat to store R
outq - reference to external fmat to store Q
messages: outx - reference to external fmat to store X
outr - reference to external fmat to store R
outq - reference to external fmat to store Q
solve - solve system with QR decomposition
inlets: 1 - fmat to be decomposed
outlets: 1 - Q
2 - R
3 - X

mnm.stats '
arguments: output stats
attributes: norm - switch normalize
messages: set - set histogram vector (fmat)
clear - clear histogram
bang - output stats
norm - switch normalize
inlets: 1 - data input
outlets: 1 - average
2 - standard deviation
3 - count

mnm.submat '
arguments: none
attributes: out - reference to external fmat to store the sub-matrix
messages: out - reference to external fmat to store the sub-matrix
end - end of submatrix coordinates
begin - start of submatrix coordinates
inlets: 1 - fmat
outlets: 1 - sub-matrix

mnm.sum '
arguments: 1 - (1|2|row|col) sum over rows or columns
attributes: type - (fmat) always output an fmat even for scalar results
mode - (row|col|1|2) perform sum over rows or columns
out - reference to external fmat to store the sum
messages: out - reference to external fmat to store the sum
inlets: 1 - incoming fmat
outlets: 1 - sum of fmat

mnm.svd '
arguments: 1 - number of singular values
attributes: mode - (auto|manual) automatically eliminate negligible singular values
outvt - reference to external fmat to store V'
outs - reference to external fmat to store S
outu - reference to external fmat to store U
messages: outvt - reference to external fmat to store V'
outs - reference to external fmat to store S
outu - reference to external fmat to store U
inlets: 1 - fmat to be decomposed by SVD
outlets: 1 - U
2 - S
3 - V'

mnm.transpose '
arguments: none
attributes: out - reference to external fmat to store the transposition
messages: out - reference to external fmat to store the transposition
inlets: 1 - fmat to be transposed
outlets: 1 - transposed fmat

mnm.viterbi '
arguments: none
attributes: get - debug : get intern values.
latency - maximum latency (nb of frames)
verbose - verbose or not (0|1)
line - on|off line
messages: get - debug : get intern values.
locpaths - get locpaths matrix
latency - maximum latency (nb of frames)
verbose - verbose or not (0|1)
bang - bang to decode
reinit - input message reinit
inlets: 1 - bang to decode, or reinit message to reset PSIs and DELTAs
2 - observation matrix logB[T,K]
3 - state prior distribution Pi[1,K]
4 - state transition matrix A[K,K]
outlets: 1 - decoded best path
2 - debug

mnm.xdist2 '
arguments: 1 - fmat to be used as right operand
attributes: swap - (yes|no) swaps operands
out - reference to external fmat to store the result
messages: out - reference to external fmat to store the result
inlets: 1 - left operand
2 - right operand
outlets: 1 - resulting fmat

mnm.xmul '
arguments: 1 - fmat to be used as right operand
attributes: swap - (yes|no) swaps operands
out - reference to an external fmat to store the result
messages: out - reference to an external fmat to store the result
inlets: 1 - left hand side fmat operand
2 - right hand side fmat operand
outlets: 1 - fmat result