- innerProduct
- invL2norm
Inverse L2-norm
- l2norm
L2-norm
- logSumOfExps
Computes \log(\sum_{i=1}^n e^{x_i}) using a maximum-element trick to avoid
arithmetic overflow.
- max
- maxIdx
Find index of maximum element in the vector x
- toDoubleArray
Convert a list of Double objects into an array of primitive doubles
- toIntArray
Convert a list of Integer objects into an array of primitive integers