CosmosDbFunctionsExtensions.Rrf 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| Rrf(DbFunctions, Double[]) |
結合兩個或以上指定函數所提供的分數。 |
| Rrf(DbFunctions, Double[], Double[]) |
結合兩個或以上指定函數所提供的分數。 |
Rrf(DbFunctions, Double[])
結合兩個或以上指定函數所提供的分數。
public static double Rrf(this Microsoft.EntityFrameworkCore.DbFunctions _, params double[] scores);
static member Rrf : Microsoft.EntityFrameworkCore.DbFunctions * double[] -> double
<Extension()>
Public Function Rrf (_ As DbFunctions, ParamArray scores As Double()) As Double
參數
DbFunctions 執行個體。
- scores
- Double[]
評分函式呼叫要合併。
傳回
總分。
適用於
Rrf(DbFunctions, Double[], Double[])
結合兩個或以上指定函數所提供的分數。
public static double Rrf(this Microsoft.EntityFrameworkCore.DbFunctions _, double[] scores, double[] weights);
static member Rrf : Microsoft.EntityFrameworkCore.DbFunctions * double[] * double[] -> double
<Extension()>
Public Function Rrf (_ As DbFunctions, scores As Double(), weights As Double()) As Double
參數
DbFunctions 執行個體。
- scores
- Double[]
評分函式呼叫要合併。
- weights
- Double[]
定義每個評分函數重要性加權的數字陣列。
傳回
總分。