Skip to contents

Normalizes each row to unit L2 norm.

Usage

normalize_rows_cpp(X)

Arguments

X

Matrix to normalize

Value

Normalized matrix