Compute the scalar product between a vector and a row of the matrix
Declaring type: MatrixUtils
Namespace: MyMediaLite.DataType
Assembly: MyMediaLite
Collapse/Expand Syntax
C#
public static double RowScalarProduct (
        Matrix<double> matrix,
        int i,
        IList<double> vector
) 
Parameters
matrix
the matrix
i
the row ID
vector
the numeric vector
Return Value
the scalar product of row i and the vector