You are here

function Vector::get in Recommender API 7.6

Same name and namespace in other branches
  1. 6.2 Matrix.php \Vector::get()

File

classes/Matrix.php, line 183

Class

Vector
This is the Vector superclass. @author danithaca

Code

function get($dim) {
  return array_key_exists($dim, $this->values) ? $this->values[$dim] : NAN;
}