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
A vector norm is any scalar-valued function on a vector, denoted by the
double bar notation
x, that satisfies these properties:
xTy = x . y = x, y = xi yi .
The general class of vector norms known as the p-norms are defined by
In particular, the 1, 2, and norms are the most important:
|x + y x + y ,
|sx = sx ,
|| = 160#34 , and
The following vector norm relationships are verified by the
Mathematic_Vector Valid_State procedure:
The Cauchy-Schwartz inequality is verified by the Mathematic_Vector
For a similar but more complete discussion of vector operations see
Golub & Van Loan (1989).
Michael L. Hall