Lines Matching refs:Scalar
49 typedef _Scalar Scalar; typedef
50 typedef typename NumTraits<Scalar>::Real RealScalar;
51 typedef Matrix<Scalar, Deg, 1> RightColumn;
53 typedef Matrix<Scalar, Deg_1, 1> BottomLeftDiagonal;
55 typedef Matrix<Scalar, Deg, Deg> DenseCompanionMatrixType;
56 typedef Matrix< Scalar, _Deg, Deg_1 > LeftBlock;
57 typedef Matrix< Scalar, Deg_1, Deg_1 > BottomLeftBlock;
58 typedef Matrix< Scalar, 1, Deg_1 > LeftBlockFirstRow;
110 bool balanced( Scalar colNorm, Scalar rowNorm,
111 bool& isBalanced, Scalar& colB, Scalar& rowB );
119 bool balancedR( Scalar colNorm, Scalar rowNorm,
120 bool& isBalanced, Scalar& colB, Scalar& rowB );
142 bool companion<_Scalar,_Deg>::balanced( Scalar colNorm, Scalar rowNorm, in balanced()
143 bool& isBalanced, Scalar& colB, Scalar& rowB ) in balanced()
145 if( Scalar(0) == colNorm || Scalar(0) == rowNorm ){ return true; } in balanced()
153 rowB = rowNorm / radix<Scalar>(); in balanced()
154 colB = Scalar(1); in balanced()
155 const Scalar s = colNorm + rowNorm; in balanced()
159 colB *= radix<Scalar>(); in balanced()
160 colNorm *= radix2<Scalar>(); in balanced()
163 rowB = rowNorm * radix<Scalar>(); in balanced()
167 colB /= radix<Scalar>(); in balanced()
168 colNorm /= radix2<Scalar>(); in balanced()
172 if ((rowNorm + colNorm) < Scalar(0.95) * s * colB) in balanced()
175 rowB = Scalar(1) / colB; in balanced()
185 bool companion<_Scalar,_Deg>::balancedR( Scalar colNorm, Scalar rowNorm, in balancedR()
186 bool& isBalanced, Scalar& colB, Scalar& rowB ) in balancedR()
188 if( Scalar(0) == colNorm || Scalar(0) == rowNorm ){ return true; } in balancedR()
199 colB = Scalar(1)/rowB; in balancedR()
222 Scalar colNorm,rowNorm; in balance()
223 Scalar colB,rowB; in balance()