# .Modelica.Math

## Information

This package contains basic mathematical functions (such as sin(..)), as well as functions operating on vectors, matrices, nonlinear functions, and Boolean vectors.

#### Main Authors

Martin Otter and Marcus Baur
Deutsches Zentrum für Luft- und Raumfahrt e.V. (DLR)
Institut für Systemdynamik und Regelungstechnik (DLR-SR)
Forschungszentrum Oberpfaffenhofen
D-82234 Wessling
Germany
email: Martin.Otter@dlr.de

## Contents

Name Description
Vectors Library of functions operating on vectors
BooleanVectors Library of functions operating on Boolean vectors
Matrices Library of functions operating on matrices
Nonlinear Library of functions operating on nonlinear equations
Polynomials Library of functions operating on polynomials (including polynomial fitting)
Random Library of functions for generating random numbers
Distributions Library of distribution functions
Special Library of special mathematical functions
FastFourierTransform Library of functions for the Fast Fourier Transform (FFT)
Icons Icons for Math
isEqual Determine if two Real scalars are numerically identical
isPowerOf2 Determine if the integer input is a power of 2
sin Sine
cos Cosine
tan Tangent (u shall not be -pi/2, pi/2, 3*pi/2, ...)
asin Inverse sine (-1 <= u <= 1)
acos Inverse cosine (-1 <= u <= 1)
atan Inverse tangent
atan3 Four quadrant inverse tangent (select solution that is closest to given angle y0)
sinh Hyperbolic sine
cosh Hyperbolic cosine
tanh Hyperbolic tangent
asinh Inverse of sinh (area hyperbolic sine)
acosh Inverse of cosh (area hyperbolic cosine)
exp Exponential, base e
log Natural (base e) logarithm (u shall be > 0)
log10 Base 10 logarithm (u shall be > 0)
wrapAngle Wrap angle to interval ]-pi,pi] or [0,2*pi[

## Revisions

• June 22, 2019 by Thomas Beutlich: Functions tempInterpol1/tempInterpol2 moved to ObsoleteModelica4
• August 24, 2016 by Christian Kral: added wrapAngle
• October 21, 2002 by Martin Otter and Christian Schweiger: