Maths for ML / Notation

a×b\mathbf{a}\times\mathbf{b}

cross product (3-D)

Linear algebraAdvanced

Say it “a cross b”

For two 3-D vectors, gives a vector perpendicular to both.

Example

x^×y^=z^\hat{x}\times\hat{y}=\hat{z}

In code

np.cross(a, b)
torch.linalg.cross(a, b)

Where you’ll see it in ML

Robotics, 3-D vision, rotations — rare in standard deep learning.

Don’t confuse it with

← All 94 symbols