A server expression that returns a value of (or implicitly castable to) the vec:vector server type. For all server types, see the Server Expression Type Hierarchy.
Server Return Type | Server Function | Java Doc | Server Doc |
---|---|---|---|
vec:vector | vec:add(vec:vector vector1, vec:vector vector2) | java | server |
xs:string | vec:base64-encode(vec:vector vector1) | java | server |
xs:double | vec:cosine-similarity(vec:vector vector1, vec:vector vector2) | java | server |
xs:unsignedInt | vec:dimension(vec:vector vector1) | java | server |
xs:double | vec:dot-product(vec:vector vector1, vec:vector vector2) | java | server |
xs:double | vec:euclidean-distance(vec:vector vector1, vec:vector vector2) | java | server |
xs:float | vec:get(vec:vector vector1, xs:unsignedInt k) | java | server |
xs:double | vec:magnitude(vec:vector vector1) | java | server |
vec:vector | vec:normalize(vec:vector vector1) | java | server |
vec:vector | vec:subtract(vec:vector vector1, vec:vector vector2) | java | server |
vec:vector | vec:subvector(vec:vector vector, xs:unsignedInt start, xs:unsignedInt length?) | java | server |
Server Return Type | Server Function | Java Doc | Server Doc |
---|---|---|---|
vec:vector | vec:add(vec:vector vector1, vec:vector vector2) | java | server |
vec:vector | vec:base64-decode(xs:string base64-vector) | java | server |
vec:vector | vec:normalize(vec:vector vector1) | java | server |
vec:vector | vec:subtract(vec:vector vector1, vec:vector vector2) | java | server |
vec:vector | vec:subvector(vec:vector vector, xs:unsignedInt start, xs:unsignedInt length?) | java | server |