Skip to content

Instantly share code, notes, and snippets.

@jamiecook
Created April 17, 2014 04:46
Show Gist options
  • Save jamiecook/10953491 to your computer and use it in GitHub Desktop.
Save jamiecook/10953491 to your computer and use it in GitHub Desktop.
mat1 = OtMatrix.new(2)
mat1[] = 55
mat2 = OtMatrix.new(2)
mat2[] = 50
mat2[1,1] = 99999
p mat2
mat_out = OtMatrix.new(2)
p mat_out
mat_out.logSumCostParallel([mat1,mat2], [0,0], 0.6, 99999.0, 0.5, 999999)
p mat_out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment