source: proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/lightspeed/test_logsumexp.m @ 37

Last change on this file since 37 was 37, checked in by (none), 14 years ago

Added original make3d

File size: 235 bytes
Line 
1x = [-Inf; -Inf];
2if(logsumexp(x) ~= -Inf)
3  error('logsumexp([-Inf; -Inf]) should be -Inf');
4end
5%logsumexpv(x)
6
7x = rand(1000,1);
8tic; for iter = 1:1000 logsumexp(x); end; toc
9%tic; for iter = 1:1000 logsumexpv(x); end; toc
Note: See TracBrowser for help on using the repository browser.