Skip to content

Instantly share code, notes, and snippets.

@helloworld
Created June 2, 2015 04:44
Show Gist options
  • Save helloworld/eae7bf7c6e89a84509f6 to your computer and use it in GitHub Desktop.
Save helloworld/eae7bf7c6e89a84509f6 to your computer and use it in GitHub Desktop.
dTest = [0,0,0]
dTest[0] = w[0][0]*x[0] +
w[1][0]*x[1] +
w[2][0]*x[2] +
w[3][0]*x[3] +
w[4][0]*x[4] +
w[5][0]*x[5] +
w[6][0]*x[6] +
w[7][0]*x[7] +
w[8][0]*x[8] +
dTest[0] = w[0][1]*x[0] +
w[1][1]*x[1] +
w[2][1]*x[2] +
w[3][1]*x[3] +
w[4][1]*x[4] +
w[5][1]*x[5] +
w[6][1]*x[6] +
w[7][1]*x[7] +
w[8][1]*x[8] +
dTest[0] = w[0][1]*x[0] +
w[1][2]*x[1] +
w[2][2]*x[2] +
w[3][2]*x[3] +
w[4][2]*x[4] +
w[5][2]*x[5] +
w[6][2]*x[6] +
w[7][2]*x[7] +
w[8][2]*x[8] +
DPTest[0] = v[0][0]*h[0]+ v[1][0]*h[1] + v[2][0]*h[2] + v[3][0]*h[3]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment