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

Popular posts from this blog

javascript - How to get current YouTube IDs via iMacros? -

c# - Maintaining a program folder in program files out of date? -

emulation - Android map show my location didn't work -