int matrix_d_normalize

(double** matrix, int rows, int cols)

Scales the rowvectors of a matrix, so that they have sum 1.

Documentation

Scales the rowvectors of a matrix, so that they have sum 1.
Parameters:
matrix - : double matrix
rows - : number of rows
cols - : number of columns
Returns:
0 for success; -1 for error

Alphabetic index



This page was generated with the help of DOC++.