Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

How would you represent the following in matrix notation?

$$ 1 - \sum_{i}\sum_{j} w_i w_j p_{ij} $$

Would the following be correct?

1-(W W' p)

Thanks

share|improve this question
1  
Hint: put $w_j$ at the right of $p_{i,j}$ –  Raymond Manzoni May 6 '13 at 22:30

1 Answer 1

I guess $w=(w_1,\ldots,w_n)^T$ is the vector and $P$ is the matrix. Then, it is rather $$1-(w^T P w)\,.$$ Expand it!

share|improve this answer
    
hi i forgot to mention that it is double summation. Sorry. Would that change the answer? –  user1234440 May 6 '13 at 23:44

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.