search for: perconcept

Displaying 1 result from an estimated 1 matches for "perconcept".

Did you mean: deconcept
2005 Aug 23
1
matrix conformity with matrix 1x1 and scalars
Hello, I am calculating this thing with vectors (b) and matrices (G,P): b'G/sqrt(b'Pb) where the denominator is a quadratic form and therefore always a scalar. In Scilab, it is quite simple: b'*G/sqrt(b'*P*b) However, in R, the denominator is an (1x1)matrix and R claims it is non conformable and I have to use drop() or as.numeric(). Like this: > b = 1:2 > G=diag(1,2) >