.QCalc.Math

Library of mathematical functions (e.g., sin, cos), where angle is a quantity

Information

This package contains trigonometric functions that have been copied and modified from Modelica.Math to accept or return angle as a quantity.

Contents

NameDescription
acosInverse cosine (-1 ≤ u ≤ 1)
asinInverse sine (-1 ≤ u ≤ 1)
atanInverse tangent
atan2Four quadrant inverse tangent
atan3Four quadrant inverse tangent (with solution closest to given angle y0)
cosCosine
sinSine
tanTangent (u shall not be -π/2 rad, π/2 rad, 3π/2 rad, …)

Generated at 2025-12-07T19:14:00Z by OpenModelicaOpenModelica 1.25.7 using GenerateDoc.mos