rule = {beta -> 4, alpha -> 2, x -> 4, z -> 2, w -> 0.8}
Select[rule, beta]
Select[rule, beta &]
Select[rule, beta -> _ &]
How would I select the rule that applies to beta
only?
Or more general, how to select the rules apply to alpha
and beta
(or more variable, but not all of them)?
Thanks.