Learn R Programming

JSparO (version 1.5.0)

L1normFun: L1normFun

Description

The function aims to compute the \(l_1\) norm.

Usage

L1normFun(x)

Value

The \(l_1\) norm of vector x

Arguments

x

vector

Details

The L1normFun aims to compute the \(l_1\) norm: \(\sum_i^n |x_i|\)