You are here

function Vector::get in Recommender API 6.2

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

File

./Matrix.php, line 188

Class

Vector
This is the Vector superclass. @author danithaca

Code

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