Namespaces | |
drake | |
drake::symbolic | |
Functions | |
symbolic::Expression | ReplaceBilinearTerms (const symbolic::Expression &e, const Eigen::Ref< const VectorX< symbolic::Variable >> &x, const Eigen::Ref< const VectorX< symbolic::Variable >> &y, const Eigen::Ref< const MatrixX< symbolic::Expression >> &W) |
Replaces all the bilinear product terms in the expression e , with the corresponding terms in W , where W represents the matrix x * yᵀ, such that after replacement, e does not have bilinear terms involving x and y . More... | |