Normalize the gram matrices so the features lie on the surface of a
unit hypersphere,
.
When the Gram matrices are not full, i.e., the diagonals do not
contain all or entries, the diagonals must be
provided in *optList*.

*gram* = normalize(*gramObj, optList*)

gramObj |
- | Gram object |

optList |
- | list of NAME,VALUE option pairs |

*optList:*

'Diag1' | - | Diagonal entries associated with first dimension for Gram matrices in a matrix. |

'Diag2' | - | Diagonal entries associated with second dimension for Gram matrices in a matrix. |

Darrin Lewis 2006-05-08