View Source Ash.Vector (ash v3.4.37)
A vector struct for Ash.
Implementation based off of https://github.com/pgvector/pgvector-elixir/blob/v0.2.0/lib/pgvector.ex
Summary
Functions
Creates a new vector from its binary representation
Creates a new vector from a list or tensor
Converts the vector to its binary representation
Converts the vector to a list
Types
@type t() :: %Ash.Vector{data: binary()}
Functions
Creates a new vector from its binary representation
Creates a new vector from a list or tensor
Converts the vector to its binary representation
Converts the vector to a list