Engee documentation

Cross Product

The vector product of two vectors.

blockType: CrossProduct

Path in the library:

/Basic/Matrix Operations/Cross Product

Description

Block Cross Product calculates the vector product of two vectors of size 3 on 1.

Ports

Input

# IN_1 — the first vector
vector of length 3 | a 1 by 3 or 3 by 1 matrix

Details

The first input vector of three elements or a matrix of size 1 on 3 or 3 on 1.

Data types

Float16, Float32, Float64, Int8, Int16, Int32, Int64, UInt8, UInt16, UInt32, UInt64, Bool

Complex numbers support

No

# IN_2 — the second vector
vector of length 3 | a 1 by 3 or 3 by 1 matrix

Details

The second input vector of three elements or a matrix of size 1 on 3 or 3 on 1.

Data types

Float16, Float32, Float64, Int8, Int16, Int32, Int64, UInt8, UInt16, UInt32, UInt64, Bool

Complex numbers support

No

Output

# OUT_1 — the vector product of the input vectors
a 3-by-1 vector

Details

The vector product of the input vectors; a vector of three elements.

Data types

Float16, Float32, Float64, Int8, Int16, Int32, Int64, UInt8, UInt16, UInt32, UInt64, Bool

Complex numbers support

No

Additional options

C code generation: Yes