python - Java code, issue interpreting this piece of code -
i need translate following piece of code python, cannot understand these libraries / way use it. have 0 background in java.
public static double modellikelihood(matrix mat) { double likelihood = 0; (int = 0; < mat.numcols(); ++i) { likelihood += math.exp(mat.getquick(mat.numrows() - 1, i)); } return likelihood; }
this part mat.getquick(mat.numrows() - 1, i)
dont it, mean don't understand he/she trying there.
Comments
Post a Comment