next up previous contents
Next: get Up: Gram Previous: Gram   Contents

Gram (constructor)

Gram class constructor. Several variants are provided for different types of input arguments.

gram = Gram()

gram = Gram(gramObj, optList)
gramObj - Gram object
optList - list of NAME,VALUE option pairs

gram = Gram(gramMatrices, optList)
gramMatrices - Matrix of $ K$ $ M\times N$ Gram matrices $ (M\times N\times K)$
optList - list of NAME,VALUE option pairs

gram = Gram(gramFiles, optList)
gramFiles - cell array of desired gram filenames. The files should be tab-delimited text with the first row containing column names and the first column containing row names. Other entries must be numeric.
optList - list of NAME,VALUE option pairs

optList:
'Rows' - indices of rows to select
'Cols' - indices of columns to select
'Zero' - indices of rows/cols to zero
'Append' - A $ (M\times N\times L)$ matrix of Gram matrices to append to the Gram object. The new object will have $ K+L$ matrices.


next up previous contents
Next: get Up: Gram Previous: Gram   Contents
Darrin Lewis 2006-05-08