Hello, i am a little bit stuck with a formula that i need to figure out and code.

Picture is attached.

Original source http://www.beosil.com/download/MeshlessDeformations_SIG05.pdf

Apq = matrix(3x3)

m = is mass(float)

p = is position vector(x,y,z)

q = is transpose of position vector.

i need to calculate Apq.

what confuses me a little bit is that the output should be a matrix.

how should this matrix be assembled? as far as i know multiplication of vectors(p and q) will give me a float number , and not a matrix;

Thanks!

**Edited by AlexRus, 16 March 2014 - 06:36 PM.**