Examples for 'slam::row_norms'


Row and Column Norms

Aliases: row_norms col_norms

Keywords:

### ** Examples

x <- matrix(1 : 9, 3L)
## Row lengths:
row_norms(x)
[1]  8.124038  9.643651 11.224972
## Column maxima:
col_norms(x, Inf)
[1] 3 6 9

[Package slam version 0.1-55 Index]