PARAFACScaErr
Location: CuBatch\Model_PARAFAC\PARAFACScaErr.m

function err = PARAFACScaErr (x,f,A,B,C,...,a,b,c,...);
Description:
Euclidean distance between two sets of loadings vectors (only for the f-th component) for a PARAFAC model.
Inputs:
x: vector with the scaling factors for the first M-1 modes (the last is given by the inverse of the products of the elements).
f: factor (i.e. column) to be "compared"
A,B,C,...: first set of loadings
a,b,c,...: second set of loadings

Outputs:
err: Euclidean distance

Called by:
Model_PARAFAC\FacOptScale
Subroutines:
Internal: None
External: None

Author:
Giorgio Tomasi
Royal Agricultural and Veterinary University
MLI, LMT, Chemometrics group
Rolighedsvej 30
DK-1958 Frederiksberg C
Danmark
Last modified: 30-Jan-2002 14:13:58
Contact: Giorgio Tomasi, gt@kvl.dk
References
[1] - Riu J. and Bro R., "Jack knife for estimation of standard errors and outlier detection in PARAFAC models", Chemom.Intell.Lab.Syst., Vol. 65, 2003, 35-49
[2] - Tomasi G. and Bro R. "Fitting the PARAFAC model", Comp.Stat.Data Anal., 2002, Submitted