norm_1_space< V >

Description

The 1-norm is defined for the Vector and Matrix concepts. The value_type must be a model of the Field concept, so that we have vector spaces.

For a Vector the 1-norm is defined as

norm_1( m ) = Σi |vi|

For a Matrix the 1-norm is defined as

norm_1( v ) = maxj Σi |vi,j|

Example

Definition

Template parameters

Parameter Description Default
V VectorSpace type  

Model of

BanachSpace

Type requirements

V is a model of the Vector or Matrix concepts.

Public base classes

Members

All members of V with, in addition,
Member Where defined Comment
real_type BanachSpace
norm() BanachSpace Returns the 1-norm.