 Usage:  val = denvalues (tr, dendat)  
 
 Input:

  tr                     list of vectors: data structure which represents a binary tree 
                         and is produced by cartsplit procedure, contains vectors 
                         tr.val, tr.vec, tr.mean, tr.ssr, tr.nelem. 
                         See cartsplit for the description of tr. 
                         
  dendat                 n x p matrix: data matrix of i.i.d. observations. 
                         Data with which the density tree was estimated. 
                         
 Output:

  val                    vector which has as many elements as there are elements 
                         in the vectors which form the tree tr. 
                         In the positions which correspond to the leaf nodes 
                         there are normalised values of vector tr.mean. 
                         Values are normalised in such a way that 
                         the function represented by the binary tree 
                         integrates to one. In other, nonterminal positions, 
                         there are Inf. 
                         
--------------------------------------------------------------
(C) MD*TECH Method and Data Technologies, 17.8.2000
