Start of trail Norm Squared navigation bar

Table of Contents

Cross Product

Computes the cross product of two 3-vectors.

Library

QUARC Targets/Math Operations/Vectors

MATLAB Command Line

Click to copy the following command line to the clipboard. Then paste it in the MATLAB Command Window:

qc_open_library('quarc_library/Math Operations/Vectors')

Description

Cross Product

The Cross Product block computes the cross product of two 3-vectors.

Input Ports

u

The 3-vector on the left-hand side of the cross product.

v

The 3-vector on the right-hand side of the cross product.

Output Ports

y

The output is the 3-vector computed from the cross product of the two inputs: y = u x v.

Data Type Support

This block accepts inputs of type double. The block output is of type double.

Parameters and Dialog Box

Cross Product

The Cross Product block has no parameters.

Targets

Target Name

Compatible*

Model Referencing

Comments

QUARC Win32 Target

Yes

Yes

QUARC Win64 Target

Yes

Yes

QUARC Linux Nvidia Target

Yes

Yes

QUARC Linux QBot Platform Target

Yes

Yes

QUARC Linux QCar 2 Target

Yes

Yes

QUARC Linux QDrone 2 Target

Yes

Yes

QUARC Linux Raspberry Pi 3 Target

Yes

Yes

QUARC Linux Raspberry Pi 4 Target

Yes

Yes

QUARC Linux RT ARMv7 Target

Yes

Yes

QUARC Linux x64 Target

Yes

Yes

QUARC Linux DuoVero Target

Yes

Yes

QUARC Linux DuoVero 2016 Target

Yes

Yes

QUARC Linux Verdex Target

Yes

Yes

QUARC QNX x86 Target

Yes

Yes

Last fully supported in QUARC 2018.

Rapid Simulation (RSIM) Target

Yes

Yes

S-Function Target

No

N/A

Old technology. Use model referencing instead.

Normal simulation

Yes

Yes

* Compatible means that the block can be compiled for the target.

 

navigation bar