Skip to content

Esta página también está en español.

Léela en español

このページは日本語でも読めます。

日本語で読む

本页也有简体中文版本。

阅读简体中文版本

Cross product (cross)

Cross product of two vectors in three dimensions.

How to write it

cross(a, b)

a
A vector with three components. Takes a list.
b
A vector with three components. Takes a list.

Examples

  • [1,2,3]×[4,5,6]=[−3,6,−3]\displaystyle \left[ 1, 2, 3 \right] \times \left[ 4, 5, 6 \right] = \left[ -3, 6, -3 \right]
    cross([1, 2, 3], [4, 5, 6])

    In the solver, cross([1, 2, 3], [4, 5, 6]) gives [-3, 6, -3].

    Open in the solver