Source notion for Chapter01 Definition 1.2.1: a map f : (Fin n → ℝ) → ℝ is a vector norm on
ℝ^n when it is
nonnegative, vanishes exactly at 0, is absolutely homogeneous, and satisfies the triangle
inequality.
- nonneg (x : Fin n → ℝ) : 0 ≤ f x
- eq_zero_iff (x : Fin n → ℝ) : f x = 0 ↔ x = 0
- smul_eq (a : ℝ) (x : Fin n → ℝ) : f (a • x) = |a| * f x
- add_le (x y : Fin n → ℝ) : f (x + y) ≤ f x + f y
Instances
Unfolding formula for IsVectorNorm.
Any vector norm vanishes at the zero vector.
Any vector norm is invariant under negation.
A vector norm on ℝ^n defines a real seminorm.
Instances For
The induced seminorm vanishes exactly at the zero vector.
A vector norm on ℝ^n defines an additive group norm.
Instances For
For 0 < p.toReal, the ℓ^p norm is given by the usual finite-sum formula.
Chapter01 Definition 1.2.1: for 1 ≤ p, the ℓ^p norm is a vector norm on ℝ^n.
For n ≥ 1, the ℓ^∞ norm is the maximum of the coordinatewise absolute values.
The ℓ^∞ norm is the supremum of the coordinatewise absolute values.
The ℓ^∞ norm is a vector norm on ℝ^n.
The ℓ^1 norm is the sum of the coordinatewise absolute values.
The ℓ^1 norm is a vector norm on ℝ^n.
The ℓ^2 norm is the square root of the sum of the squared absolute values.
The ℓ^2 norm is a vector norm on ℝ^n.
The ellipsoid norm attached to a real square matrix A. For positive-definite A, the
corresponding theorem below upgrades it to a vector norm.
Instances For
The ellipsoid norm is given by sqrt (xᵀ A x).
With hA : A.PosDef, the ellipsoid norm is a vector norm on ℝ^n.