Euler Angles to Rotation Matrix End of trail navigation bar

Table of Contents

Trace

This block computes the trace of a matrix.

Library

QUARC Targets/Math Operations/Matrices

Description

Trace

This block computes the trace of a 2-D matrix. The trace is the sum of the diagonal elements. While the trace is only defined formally for square matrices, this block will compute the sum of the diagonal elements of rectangular matrices as well.

Input Ports

A

The matrix for which to compute the trace.

Output Ports

Tr(A)

The trace of the matrix.

Parameters and Dialog Box

Trace

The Trace 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