CogniPilot

MODELICA LIBRARY · ENGINEERING REFERENCE

package

Tests.Assertions

Small dimension-generic helpers used by test assertions

Members

NameKindDescription
maxAbsVectorfunctionMaximum absolute element of a vector
maxAbsMatrixfunctionMaximum absolute element of a matrix
isFiniteVectorfunctionTrue when every vector entry is finite
isFiniteMatrixfunctionTrue when every matrix entry is finite
determinant3functionDeterminant of a 3x3 matrix
spdResidualfunctionMaximum residual of a successful SPD solve
spdAcceptedfunctionReturn one when an SPD solve is accepted, zero otherwise

Modelica declarations and implementation

Show parameters, interfaces and source

Parameters, inputs, outputs, defaults and equations from the source file.

package Assertions "Small dimension-generic helpers used by test assertions"
end Assertions;