Engee documentation

Cross Product

Vector product of two vectors.

cross product

Description

The Cross Product block calculates the vector product of two vectors of size 3 by 1.

Ports

Input

Port_1 - first vector
vector of length 3 | matrix 1 by 3 or 3 by 1

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

Data types: Float16, Float32, Float64, Int8, Int16, Int32, Int64, UInt8, UInt16, UInt32, UInt64, Bool.

Support for complex numbers: Yes

Port_2 is the second vector.
vector of length 3 | matrix 1 by 3 or 3 by 1

The second input vector of three elements or a matrix of size 1 by 3 or 3 by 1…​.

Data types: Float16, Float32, Float64, Int8, Int16, Int32, Int64, UInt8, UInt16, UInt32, UInt64, Bool.

Support for complex numbers: Yes

Output

Port_1 - vector product of input vectors
`vector 3 by 1

Vector product of input vectors; a vector of three elements.

Data types: Float16, Float32, Float64, Int8, Int16, Int32, Int64, UInt8, UInt16, UInt32, UInt64, Bool.

Additional options

C code generation: Yes