@param val the value to add to the array @param i the index of the data point to add to @param j the dimension index of the embedding @param z the storage of the embedded vectors @param s the dimension of the embedding
(double val, int i, int j, double[] z, int s)
| 574 | * @param s the dimension of the embedding |
| 575 | */ |
| 576 | private static void inc_z_ij(double val, int i, int j, double[] z, int s) |
| 577 | { |
| 578 | z[i*s+j] += val; |
| 579 | } |
| 580 | |
| 581 | private static double z_ij(int i, int j, double[] z, int s) |
| 582 | { |