A vector struct for pgvector
Summary
Functions
Extensions for Postgrex
Creates a new vector from its binary representation
Creates a new vector from a list, tensor, or vector
Converts the vector to its binary representation
Converts the vector to a list
Converts the vector to a tensor
Types
@type t() :: %Pgvector{data: binary()}
A vector
Functions
Extensions for Postgrex
Creates a new vector from its binary representation
Creates a new vector from a list, tensor, or vector
Converts the vector to its binary representation
Converts the vector to a list
Converts the vector to a tensor