Skip to content

Commit b62f5e4

Browse files
authored
Fix cross product formula in basic-geometry.md (cp-algorithms#1573)
1 parent ac57ede commit b62f5e4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/geometry/basic-geometry.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ we can calculate the cross product of $\mathbf a = (x_1;y_1;z_1)$ and $\mathbf b
235235

236236
$$\mathbf a\times \mathbf b = (x_1 \cdot \mathbf e_x + y_1 \cdot \mathbf e_y + z_1 \cdot \mathbf e_z)\times (x_2 \cdot \mathbf e_x + y_2 \cdot \mathbf e_y + z_2 \cdot \mathbf e_z) =$$
237237

238-
$$(y_1 z_2 - z_1 y_2)\mathbf e_x + (z_1 x_2 - x_1 z_2)\mathbf e_y + (x_1 y_2 - y_1 x_2)$$
238+
$$(y_1 z_2 - z_1 y_2)\mathbf e_x + (z_1 x_2 - x_1 z_2)\mathbf e_y + (x_1 y_2 - y_1 x_2)\mathbf e_z$$
239239

240240
Which also can be written in the more elegant form:
241241

0 commit comments

Comments
 (0)