module Neighbor
module Neighbor::GeneratedAttribute
module Neighbor::Generators
module Neighbor::Model
module Neighbor::MySQL
module Neighbor::MySQL::RegisterTypes
module Neighbor::PostgreSQL
module Neighbor::PostgreSQL::RegisterTypes
module Neighbor::Reranking
module Neighbor::SQLite
module Neighbor::SQLite::InstanceMethods
module Neighbor::Type
module Neighbor::Utils
class Neighbor::Attribute
class Neighbor::Error
class Neighbor::Generators::CubeGenerator
class Neighbor::Generators::SqliteGenerator
class Neighbor::Generators::VectorGenerator
class Neighbor::NormalizedAttribute
class Neighbor::Railtie
class Neighbor::SparseVector
class Neighbor::Type::Cube
class Neighbor::Type::Halfvec
class Neighbor::Type::MysqlVector
class Neighbor::Type::Sparsevec
class Neighbor::Type::SqliteInt8Vector
class Neighbor::Type::SqliteVector
class Neighbor::Type::Vector
neighbor
0.5.0
# to_a
def to_a arr = Array.new(dimensions, 0.0) @indices.zip(@values) do |i, v| arr[i] = v end arr end