# 17.1 Mathematic_Vector Methods

The CÆSAR Code Package uses the Mathematic_Vector class to contain and manipulate algebraic vectors. The following discussion assumes that x and y are vectors of length N.

The CÆSAR Code Package contains procedures to calculate norms and dot products of vectors. In parallel, these operations require global communication. Dot products are defined by

 xTy = x . y = x, y = xi yi  . (17.1)
A vector norm is any scalar-valued function on a vector, denoted by the double bar notation x, that satisfies these properties:

 x 0 , x + y x + y  , sx = sx  , .
(17.2)
The general class of vector norms known as the p-norms are defined by

 x = , p1  . (17.3)
In particular, the 1, 2, and norms are the most important:
 x = xi  , (17.4) x = = 160#34  , and (17.5) x = xi  . (17.6)

The following vector norm relationships are verified by the Mathematic_Vector Valid_State procedure:

 x x x  , x x x  , x x Nx  .
(17.7)
The Cauchy-Schwartz inequality is verified by the Mathematic_Vector DotProduct procedure:

 xTy xy  . (17.8)
For a similar but more complete discussion of vector operations see Golub & Van Loan (1989).

Michael L. Hall