# `Pgvector`
[🔗](https://github.com/pgvector/pgvector-elixir/blob/v0.4.0/lib/pgvector.ex#L1)

A vector struct for pgvector

# `t`

```elixir
@type t() :: %Pgvector{data: binary()}
```

A vector

# `extensions`

Extensions for Postgrex

# `from_binary`

Creates a new vector from its binary representation

# `new`

Creates a new vector from a list, tensor, or vector

# `to_binary`

Converts the vector to its binary representation

# `to_list`

Converts the vector to a list

# `to_tensor`

Converts the vector to a tensor

