Lines Matching refs:b
54 Vec3 b = weights[i]*a; in ComputeWeightedCovariance() local
56 covariance[0] += a.X()*b.X(); in ComputeWeightedCovariance()
57 covariance[1] += a.X()*b.Y(); in ComputeWeightedCovariance()
58 covariance[2] += a.X()*b.Z(); in ComputeWeightedCovariance()
59 covariance[3] += a.Y()*b.Y(); in ComputeWeightedCovariance()
60 covariance[4] += a.Y()*b.Z(); in ComputeWeightedCovariance()
61 covariance[5] += a.Z()*b.Z(); in ComputeWeightedCovariance()
173 float b = ( -2.0f/27.0f )*c2*c2*c2 + ( 1.0f/3.0f )*c1*c2 - c0; in ComputePrincipleComponent() local
176 float Q = 0.25f*b*b + ( 1.0f/27.0f )*a*a*a; in ComputePrincipleComponent()
187 float theta = std::atan2( std::sqrt( -Q ), -0.5f*b ); in ComputePrincipleComponent()
188 float rho = std::sqrt( 0.25f*b*b - Q ); in ComputePrincipleComponent()
211 if( b < 0.0f ) in ComputePrincipleComponent()
212 rt = -std::pow( -0.5f*b, 1.0f/3.0f ); in ComputePrincipleComponent()
214 rt = std::pow( 0.5f*b, 1.0f/3.0f ); in ComputePrincipleComponent()