Hi,
for integers, if we have (a + b)^2 , we can simply expand (a^2 + b^2 + 2*a*b).
but if 'a' and 'b' are matrices such that 'a' is of size 3*N and 'b' is of size N*3, is it the same rule ?
for the a^2 and b^2 parts, we simply multiply by their transposes. but do we have the right to do the last part like for integers i.e. 2*a*b ? or is there altogether a different way of doing (a + b)^2 for matrices ?
thanx in advance,
for integers, if we have (a + b)^2 , we can simply expand (a^2 + b^2 + 2*a*b).
but if 'a' and 'b' are matrices such that 'a' is of size 3*N and 'b' is of size N*3, is it the same rule ?
for the a^2 and b^2 parts, we simply multiply by their transposes. but do we have the right to do the last part like for integers i.e. 2*a*b ? or is there altogether a different way of doing (a + b)^2 for matrices ?
thanx in advance,