[mlpack-git] [mlpack/mlpack] backported ind2sub and sub2ind. (#683)
Nilay Jain
notifications at github.com
Fri Jun 10 06:09:42 EDT 2016
> + {
> + table(i) = i / 1024.0;
> +
> + if (table(i) > y0)
> + table(i) = 116 * pow(table(i), 1.0/3.0) - 16.0;
> + else
> + table(i) = table(i) * a;
> +
> + table(i) = table(i) * maxi;
> + }
> +
> + MatType rgb2xyz(3,3);
> + rgb2xyz(0,0) = 0.430574; rgb2xyz(0,1) = 0.430574; rgb2xyz(0,2) = 0.430574;
> + rgb2xyz(1,0) = 0.430574; rgb2xyz(1,1) = 0.430574; rgb2xyz(1,2) = 0.430574;
> + rgb2xyz(2,0) = 0.430574; rgb2xyz(2,1) = 0.430574; rgb2xyz(2,2) = 0.430574;
> +
No values are not same, i forgot to initialize them. i will correct it.
---
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#r66590438
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160610/b5f277ce/attachment.html>
More information about the mlpack-git
mailing list