Skip to content

Commit

Permalink
Small typo and broken link fixes (#812)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dhghomon authored Sep 3, 2024
1 parent 00e4feb commit 0d28c0e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ These functions can be used when analysing numeric data and numeric collections.
<td scope="row" data-label="Description">Represents the mathematical constant π.</td>
</tr>
<tr>
<td scope="row" data-label="Constant"><a href="#mathpow"><code>math::pi</code></a></td>
<td scope="row" data-label="Constant"><a href="#mathpow"><code>math::pow()</code></a></td>
<td scope="row" data-label="Description">Returns a number raised to a power</td>
</tr>
<tr>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ A collection of essential vector operations that provide foundational functional
<td scope="row" data-label="Description">Computes the projection of one vector onto another</td>
</tr>
<tr>
<td scope="row" data-label="Function"><a href="vectorscale"><code>vector::scale</code></a></td>
<td scope="row" data-label="Function"><a href="#vectorscale"><code>vector::scale()</code></a></td>
<td scope="row" data-label="Description">Multiplies each item in a vector</td>
</tr>
<tr>
Expand Down Expand Up @@ -87,7 +87,7 @@ A collection of essential vector operations that provide foundational functional
<td scope="row" data-label="Description">Computes the Minkowski distance between two vectors</td>
</tr>
<tr>
<td scope="row" data-label="Function"><a href="vectorsimilaritycosine"><code>vector::similarity::cosine()</code></a></td>
<td scope="row" data-label="Function"><a href="#vectorsimilaritycosine"><code>vector::similarity::cosine()</code></a></td>
<td scope="row" data-label="Description">Computes the Cosine similarity between two vectors</td>
</tr>
<tr>
Expand Down Expand Up @@ -158,7 +158,6 @@ The `vector::divide` function performs element-wise division between two vectors

```surql title="API DEFINITION"
vector::divide(array, array) -> array
```
The following example shows this function, and its output, when used in a [`RETURN`](/docs/surrealdb/surrealql/statements/return) statement:

Expand All @@ -176,7 +175,6 @@ The `vector::dot` function computes the dot product of two vectors, which is the

```surql title="API DEFINITION"
vector::dot(array, array) -> number
```
The following example shows this function, and its output, when used in a [`RETURN`](/docs/surrealdb/surrealql/statements/return) statement:

Expand All @@ -194,7 +192,6 @@ The `vector::magnitude` function computes the magnitude (or length) of a vector,

```surql title="API DEFINITION"
vector::magnitude(array) -> number
```
The following example shows this function, and its output, when used in a [`RETURN`](/docs/surrealdb/surrealql/statements/return) statement:

Expand All @@ -212,7 +209,6 @@ The `vector::multiply` function performs element-wise multiplication of two vect

```surql title="API DEFINITION"
vector::multiply(array, array) -> number
```
The following example shows this function, and its output, when used in a [`RETURN`](/docs/surrealdb/surrealql/statements/return) statement:

Expand All @@ -230,7 +226,6 @@ The `vector::normalize` function computes the normalization of a vector, transfo

```surql title="API DEFINITION"
vector::normalize(array) -> array
```
The following example shows this function, and its output, when used in a [`RETURN`](/docs/surrealdb/surrealql/statements/return) statement:

Expand All @@ -249,7 +244,6 @@ The `vector::project` function computes the projection of one vector onto anothe

```surql title="API DEFINITION"
vector::project(array, array) -> array
```
The following example shows this function, and its output, when used in a [`RETURN`](/docs/surrealdb/surrealql/statements/return) statement:

Expand Down Expand Up @@ -288,7 +282,6 @@ The `vector::subtract` function performs element-wise subtraction between two ve

```surql title="API DEFINITION"
vector::subtract(array, array) -> array
```
The following example shows this function, and its output, when used in a [`RETURN`](/docs/surrealdb/surrealql/statements/return) statement:

Expand All @@ -306,7 +299,6 @@ The `vector::distance::chebyshev` function computes the Chebyshev distance (also

```surql title="API DEFINITION"
vector::distance::chebyshev(array, array) -> number
```
The following example shows this function, and its output, when used in a [`RETURN`](/docs/surrealdb/surrealql/statements/return) statement:

Expand All @@ -324,7 +316,6 @@ The `vector::distance::euclidean` function computes the Euclidean distance betwe

```surql title="API DEFINITION"
vector::distance::euclidean(array, array) -> number
```
The following example shows this function, and its output, when used in a [`RETURN`](/docs/surrealdb/surrealql/statements/return) statement:

Expand All @@ -342,7 +333,6 @@ The `vector::distance::hamming` function computes the Hamming distance between t

```surql title="API DEFINITION"
vector::distance::hamming(array, array) -> number
```
The following example shows this function, and its output, when used in a [`RETURN`](/docs/surrealdb/surrealql/statements/return) statement:

Expand All @@ -360,7 +350,6 @@ The `vector::distance::knn` function returns the distance computed during the qu

```surql title="API DEFINITION"
vector::distance::knn() -> number
```
The following example shows this function, and its output, when used in a [`SELECT`](/docs/surrealdb/surrealql/statements/select) statement:

Expand Down Expand Up @@ -390,7 +379,6 @@ The `vector::distance::manhattan` function computes the Manhattan distance (als

```surql title="API DEFINITION"
vector::distance::manhattan(array, array) -> number
```
The following example shows this function, and its output, when used in a [`RETURN`](/docs/surrealdb/surrealql/statements/return) statement:

Expand All @@ -409,7 +397,6 @@ The `vector::distance::minkowski` function computes the Minkowski distance betwe

```surql title="API DEFINITION"
vector::distance::minkowski(array, array, number) -> number
```
The following example shows this function, and its output, when used in a [`RETURN`](/docs/surrealdb/surrealql/statements/return) statement:

Expand All @@ -428,7 +415,6 @@ The `vector::similarity::cosine` function computes the Cosine similarity between

```surql title="API DEFINITION"
vector::similarity::cosine(array, array) -> number
```
The following example shows this function, and its output, when used in a [`RETURN`](/docs/surrealdb/surrealql/statements/return) statement:

Expand All @@ -447,7 +433,6 @@ The `vector::distance::jaccard` function computes the Jaccard similarity between

```surql title="API DEFINITION"
vector::similarity::jaccard(array, array) -> number
```
The following example shows this function, and its output, when used in a [`RETURN`](/docs/surrealdb/surrealql/statements/return) statement:

Expand All @@ -466,7 +451,6 @@ The `vector::distance::pearson` function Computes the Pearson correlation coeffi

```surql title="API DEFINITION"
vector::similarity::pearson(array, array) -> number
```
The following example shows this function, and its output, when used in a [`RETURN`](/docs/surrealdb/surrealql/statements/return) statement:

Expand Down

0 comments on commit 0d28c0e

Please sign in to comment.