Good afternoon,dear users.
I need to multiply a matrix with a vector and with other matrix again in R.
It looks like A^(-1,inverse matrix)*p(some random vector)*C (other matrix).
Where A is generated by formula (j^2H+k^2H-|j-k|^2H ),where j,k are rows and columns and H is a certain coefficient.
And the obtained vector to multiply by the matrix C(which is generated as A,but not inverse).
The obtained result is a vecor.
I would also like to change the dimensions of the matrix and vector.
May anybody to suggest me some code to generate a matrix and multiplication?
Thank you very much for your help.