-
Short problem description: We want to generate a vector of polynomials which is basically a copy lam_g of other polynomial sos.g for k = 1:length(sos.g) Question: Is it possible to avoid this for loop e.g. lam_g = casos.PS.sym(names ,basis(sos.g)); where basis(sos.g) returns a matrix of the monomials from the original polynomial and names is a char array containing names of the newly generate polynomials. |
Beta Was this translation helpful? Give feedback.
Answered by
tcunis
Jan 28, 2024
Replies: 1 comment
-
The suggested syntax is added by commit d55260e. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
tcunis
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The suggested syntax is added by commit d55260e.