[mlpack-git] [mlpack/mlpack] backported ind2sub and sub2ind. (#683)

Nilay Jain notifications at github.com
Fri Jun 10 07:34:31 EDT 2016


> +    z[k+1] = +INF;
> +  }
> +
> +  k = 0;
> +  for (int q = 0; q <= n-1; q++)
> +  {
> +    while (z[k+1] < q)
> +      k++;
> +    d[q] = (q - v[k]) * (q - v[k]) + f[v[k]];
> +  }
> +  return d;
> +}
> +
> +template<typename MatType, typename CubeType>
> +void StructuredForests<MatType, CubeType>::
> +dt_2d(MatType& im)

we change im in this function

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/mlpack/mlpack/pull/683/files/9d85b64c6c6bdff608331195351d09abf56cfc96#r66599481
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160610/a39c6354/attachment.html>


More information about the mlpack-git mailing list