function Matrix::get in Recommender API 6.2
Same name and namespace in other branches
- 7.6 classes/Matrix.php \Matrix::get()
File
- ./
Matrix.php, line 59
Class
- Matrix
- This PHP file has to work with Drupal. Including both Matrix and Vector implementation. Missing data are treated as NAN. Some extra complexity comes from trying to increase memory/cpu performance Note, this implementation does check input parameters.…
Code
function get($row, $column) {
return isset($this->values[$row][$column]) ? $this->values[$row][$column] : NAN;
}