This package contains functions for commonly used mathematical operations. The functions are used in the blocks Buildings.Utilities.Math.
Name | Description |
---|---|
average | Average of a vector |
besselJ0 | Bessel function of the first kind of order 0, J0 |
besselJ1 | Bessel function of the first kind of order 1, J1 |
besselY0 | Bessel function of the second kind of order 0, Y0 |
besselY1 | Bessel function of the second kind of order 1, Y1 |
bicubic | Bicubic function |
binomial | Returns the binomial coefficient |
biquadratic | Biquadratic function |
booleanReplicator | Replicates Boolean signals |
cubicHermiteLinearExtrapolation | Interpolate using a cubic Hermite spline with linear extrapolation |
exponentialIntegralE1 | Exponential integral, E1 |
factorial | Returns the value n! as an integer |
fallingFactorial | Returns the k-th falling factorial of n |
integerReplicator | Replicates integer signals |
interpolate | Function for cubic hermite spline interpolation of table data |
inverseXRegularized | Function that approximates 1/x by a twice continuously differentiable function |
isMonotonic | Returns true if the argument is a monotonic sequence |
polynomial | Polynomial function |
powerLinearized | Power function that is linearized below a user-defined threshold |
quadraticLinear | Function that is quadratic in first argument and linear in second argument |
quinticHermite | Quintic Hermite spline function for interpolation between two functions with a continuous second derivative |
regNonZeroPower | Power function, regularized near zero, but nonzero value for x=0 |
regStep | Approximation of a general step, such that the approximation is continuous and differentiable |
round | Round real number to specified digits |
smoothExponential | Once continuously differentiable approximation to exp(-|x|) in interval |x| < delta |
smoothHeaviside | Twice continuously differentiable approximation to the Heaviside function |
smoothInterpolation | Interpolate using a cubic Hermite spline with linear extrapolation for a vector xSup[], ySup[] and independent variable x |
smoothLimit | Once continuously differentiable approximation to the limit function |
smoothMax | Once continuously differentiable approximation to the maximum function |
smoothMin | Once continuously differentiable approximation to the minimum function |
spliceFunction | |
splineDerivatives | Function to compute the derivatives for cubic hermite spline interpolation |
trapezoidalIntegration | Integration using the trapezoidal rule |
Examples | Collection of models that illustrate model use and test models |
BaseClasses | Package with base classes for Buildings.Utilities.Math.Functions |