Most efficient way of writing specific quadratic form

2 Likes