packageMath

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

Extends from Icons.Package (Icon for standard packages (from MSL 3.2.1)).

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, …)