On 2/16/07, diana_cccc <[EMAIL PROTECTED]> wrote:

> i have a conditional probability density function
> l(y[t]/h[t],y[t-1]) +=...
> how do i declare this function ?
> i tried
> double func_l(double *p/double*h , double *s)

You cannot have a function on the left hand side of the = sign.

double temp;
temp = l(y[t]/h[t],y[t-1]);
/* do something with temp */

[...]

double l(double y_over_h, double y){
   /* body of function */
}




-- 
PJH
Aio, quantitas magna frumentorum est

Reply via email to