k2[[1]][[1]] = (a + b)^(-1 - e)
k2[[1]][[2]] = (x + y)^(2 + e)
k2[[1]][[3]] = k
k2[[2]][[1]] = (a + b)^(-1 - e)
k2[[2]][[2]] = (x + y)^(2 + e)
k2[[2]][[3]] = -z
EDIT::
The expected final output
k2={
{{(a + b),(-1 - e)},{ k },{(x + y),(2 + e)}},
{{(a + b),(-1 - e)},{-z},{(x + y),(2 + e)}}
}
or
k2={
{{{a , b},{-1, - e}},{ k },{{x , y},{2 , e}}},
{{{a , b},{-1, - e}},{-z},{{x , y},{2 , e}}}
}
Such that finally I get each of the two terms ( which are separated by +/-
)
(1.) (a + b)^(-1 - e) k (x + y)^(2 + e)
(2.) - (a + b)^(-1 - e) (x + y)^(2 + e) z
Also from (1.)
and (2.)
I will get each terms which are multiplied i.e.
(1.) (a + b)^(-1 - e), k, (x + y)^(2 + e)
(2.) (a + b)^(-1 - e), -z, (x + y)^(2 + e)
I find the difficult part is to handle this -
ve sign.