Norm - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


Student[MultivariateCalculus]

  

Norm

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

Norm(a, p)

Parameters

a

-

Vector or Matrix with algebraic entries

p

-

(optional) a real number greater than or equal to 1, infinity, or Euclidean; defaults to 2

Description

• 

The Norm command computes the p-norm of a.

• 

If p is set to Euclidean, then the 2-norm is computed.

• 

For a real number p, the p-norm of a n-dimensional Vector v is given by ∑i=1n⁡vip1p.

• 

The infinity norm of a n-dimensional Vector v is given by maxi=1n|vi|.

• 

Let v denote the p-norm or infinity norm of a Vector v. The p-norm or infinity norm of a Matrix a is given by max||v||=1||a⁢.⁢v||.

• 

Only the 1, 2, and infinity norms are available for Matrices.

Examples

> 

with⁡Student:-MultivariateCalculus:

> 

v≔1,2,3

v≔123

(1)
> 

Norm⁡v

14

(2)
> 

Norm⁡v,∞

3

(3)
> 

Norm⁡v,1

6

(4)
> 

a≔1,2|3,4

a≔1324

(5)
> 

Norm⁡a

15+221

(6)
> 

Norm⁡a,1

7

(7)
> 

Norm⁡a,∞

6

(8)

Compatibility

• 

The Student[MultivariateCalculus][Norm] command was introduced in Maple 2016.

• 

For more information on Maple 2016 changes, see Updates in Maple 2016.

See Also

Student,MultivariateCalculus,Normalize