Home || Visual Search || Applications || Architecture || Important Messages || OGL || Src

Real64 Impala::Core::Vector::WeibullSim ( Real64  b1,
Real64  g1,
Real64  b2,
Real64  g2 
) [inline]

Compute weibull similarity between two beta,gamma pairs.

Definition at line 18 of file WeibullSim.h.

00019 {
00020     if (g1==0 || g2==0 || b1==0 || b2==0)
00021         return 0;
00022     Real64 g = (g1>g2 ? g2/g1 : g1/g2);
00023     Real64 b = (b1>b2 ? b2/b1 : b1/b2);
00024     return g*b;
00025 }


Generated on Thu Jan 13 09:21:37 2011 for ImpalaSrc by  doxygen 1.5.1