[EMAIL PROTECTED] (Edwin Steiner) writes: > @score +=^ (4,1) *^ @points;
Sorry, I completely f...ed up the example.
What I was thinking of would be more like:
$score +=^ (4,1) ^* @points;
So one hypo- and one hyper-operator.
Assuming @points is 2-dimensional this would:
1) multiply @points element-wise by the matrix
4 1 1 ...
4 1 1 ...
4 1 1 ...
... ...
2) add the sum of all elements of the resulting matrix
to score.
-Edwin
