Compare commits

...
1 Commits
Author SHA1 Message Date
saherelm b5abe43675 Format VectorHelper Method Signature
- Reformat the CosineSimilarity method signature without changing its calculation logic.
2026-10-26 10:44:18 +03:30
+4 -1
View File
@@ -45,7 +45,10 @@ namespace xAiService.Helpers
/// <param name="a"></param>
/// <param name="b"></param>
/// <returns></returns>
public static float CosineSimilarity(float[] a, float[] b)
public static float CosineSimilarity(
float[] a,
float[] b
)
{
//
if (a.IsNull() || b.IsNull())