Searched refs:companion_matrix (Results 1 – 1 of 1) sorted by relevance
53 Matrix& companion_matrix = *companion_matrix_ptr; in BalanceCompanionMatrix() local54 Matrix companion_matrix_offdiagonal = companion_matrix; in BalanceCompanionMatrix()57 const int degree = companion_matrix.rows(); in BalanceCompanionMatrix()97 companion_matrix_offdiagonal.diagonal() = companion_matrix.diagonal(); in BalanceCompanionMatrix()98 companion_matrix = companion_matrix_offdiagonal; in BalanceCompanionMatrix()99 VLOG(3) << "Balanced companion matrix is\n" << companion_matrix; in BalanceCompanionMatrix()105 Matrix& companion_matrix = *companion_matrix_ptr; in BuildCompanionMatrix() local109 companion_matrix.resize(degree, degree); in BuildCompanionMatrix()110 companion_matrix.setZero(); in BuildCompanionMatrix()111 companion_matrix.diagonal(-1).setOnes(); in BuildCompanionMatrix()[all …]