Lines Matching refs:degree
53 const int degree = companion_matrix.rows();
67 for (int i = 0; i < degree; ++i) {
103 const int degree = polynomial.size() - 1;
105 companion_matrix.resize(degree, degree);
108 companion_matrix.col(degree - 1) = -polynomial.reverse().head(degree);
130 const int degree = polynomial.size() - 1;
133 if (degree == 0) {
144 if (degree == 1) {
155 // The degree is now known to be at least 2.
157 Matrix companion_matrix(degree, degree);