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

A half vector struct for pgvector

# `t`

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

A half vector

# `from_binary`

Creates a new half vector from its binary representation

# `new`

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

