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

Load Balancing in Bluemix using custom domain and DNS SRV records -

oracle - pls-00402 alias required in select list of cursor to avoid duplicate column names -

python - Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] error -