Skip to content

Commit 82fb777

Browse files
authored
Update README.md
1 parent 41857a2 commit 82fb777

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

README.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,13 @@ d = vecnorm(o1-o2,2,2); %o1 and o2 need to be the same size
9191
```
9292
If you want the "true" minimum distances (i.e. essentially the same implementation as [GB_octonion_code](https://github.com/ichesser/GB_octonion_code), but vectorized and parallelized), you may use `GBdist4.m` directly with two sets of GBOs.
9393
```matlab
94-
d = GBdist4(o1,o2);
94+
d = GBdist4(o1,o2,dtype="norm");
9595
```
96-
It depends on the application, but if you want to compute large pairwise distance matrices that are nearly identical to the traditional GBO distances, I recommend using the ensembled VFZ distance via `ensembleGBdist.m` with `K >= 10`. This will be much faster than using `GBdist4.m`. For reference, this corresponds to (from the main paper when `K==10`):
96+
It depends on the application, but if you want to compute large pairwise distance matrices that are nearly identical to the traditional GBO distances, I recommend using the ensembled VFZ distance via `ensembleGBdist.m` with `K >= 10`.
97+
```matlab
98+
d = ensembleGBdist(o,o2,dtype="omega")
99+
```
100+
This will be much faster than using `GBdist4.m`. For reference, this corresponds to (from the main paper when `K==10`):
97101
<img src=https://user-images.githubusercontent.com/45469701/116044929-bcbad780-a62e-11eb-8c59-58a4354badbb.png width=300>
98102
This is distinct from `ensembleVFZO.m`, which takes the average interpolated property from `K` different VFZs.
99103

0 commit comments

Comments
 (0)