packageMath
Library of mathematical functions (e.g., sin, cos) and of functions operating on vectors and matrices
Extends from Modelica.Icons.Package (Icon for standard packages).
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 (DLR)
Institut für Systemdynamik und Regelungstechnik (SR)
Münchener Straße 20
D-82234 Weßling
Germany
email: Martin.Otter@dlr.de
Copyright © 1998-2025, Modelica Association and contributors
Contents
| Name | Description |
|---|---|
| Library of functions operating on vectors | |
| Library of functions operating on Boolean vectors | |
| Library of functions operating on matrices | |
| Library of functions operating on nonlinear equations | |
| Library of functions operating on polynomials (including polynomial fitting) | |
| Library of functions for generating random numbers | |
| Library of distribution functions | |
| Library of special mathematical functions | |
| Library of functions for the Fast Fourier Transform (FFT) | |
| Icons for Math | |
| Determine if two Real scalars are numerically identical | |
| Determine if the integer input is a power of 2 | |
| Sine | |
| Cosine | |
| Tangent (u shall not be -pi/2, pi/2, 3*pi/2, ...) | |
| Inverse sine (-1 <= u <= 1) | |
| Inverse cosine (-1 <= u <= 1) | |
| Inverse tangent | |
| Four quadrant inverse tangent | |
| Four quadrant inverse tangent (select solution that is closest to given angle y0) | |
| Hyperbolic sine | |
| Hyperbolic cosine | |
| Hyperbolic tangent | |
| Inverse of sinh (area hyperbolic sine) | |
| Inverse of cosh (area hyperbolic cosine) | |
| Exponential, base e | |
| Natural (base e) logarithm (u shall be > 0) | |
| Base 10 logarithm (u shall be > 0) | |
| 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:
Function tempInterpol2 added. - Oct. 24, 1999
by Martin Otter:
Icons for icon and diagram level introduced. - June 30, 1999
by Martin Otter:
Realized.