/*************
* Header file for cmath2.c
* 1999 E. Rouat
************/
#ifndef CMATH2_H_INCLUDED
#define CMATH2_H_INCLUDED
void * cx_tan(void *data, short int type, int length, int *newlength,
/*************
* Header file for cmath1.c
* 1999 E. Rouat
************/
#ifndef CMATH1_H_INCLUDED
#define CMATH1_H_INCLUDED
void * cx_mag(void *data, short int type, int length, int *newlength,
% row product
% function Z=rprod(X,Y)
function Z=rprod(X,Y)
if(length(X(:,1)) ~= length(Y(:,1)) | length(Y(1,:)) ~=1)
disp('Error in RPROD');
return;
end
Z=zeros(size(X));
for i=1:length(X(1,:
% Compare different implementations of fully factored Boyen Koller
water = 1;
if water
bnet = mk_water_dbn;
else
N = 5;
Q = 2;
Y = 2;
bnet = mk_chmm(N, Q, Y);
end
ss = length(bnet.intra);