function Matrix::set in Recommender API 7.6
Same name and namespace in other branches
- 6.2 Matrix.php \Matrix::set()
File
- classes/
Matrix.php, line 49
Class
- Matrix
- This PHP file does not require 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 set($row, $column, $value) {
$this->values[$row][$column] = $value;
// we assume no OutOfIndexException.
}