public class Vector extends Object
vector datatype provided by Postgres pgvector.| Modifier and Type | Method and Description |
|---|---|
static Vector |
empty()
Create a new empty
Vector. |
boolean |
equals(Object o) |
float[] |
getVector()
Return the vector values.
|
int |
hashCode() |
static Vector |
of(Collection<? extends Number> vec)
Create a new
Vector given vector points. |
static Vector |
of(float... vec)
Create a new
Vector given vector points. |
String |
toString() |
public static Vector of(float... vec)
Vector given vector points.vec - the vector valuesVector objectpublic static Vector of(Collection<? extends Number> vec)
Vector given vector points.vec - the vector valuesVector objectpublic float[] getVector()
Copyright © 2024. All rights reserved.