.TRANSFORM.Math

Contents

NameDescription
Examples
ComplexMath
Easing
Interpolation
GNU_ScientificLibraryGNU Scientific Library (GSL)
cubicRoots_RealAnalytical solution for the real roots of a cubic equation (a*x^3+b*x^2+c*x+d=0)
cubicRoots_SingleRealReturns a single real root within the user defined range for a cubic equation (a*x^3+b*x^2+c*x+d=0)
spliceSigmoidSmoothing algorithm using the sigmoid function
sigmoid
spliceTanhSpline interpolation of two functions using the hyperbolic tangent
spliceTanh_derDerivative of spliceTanh
spliceCosNSmoothing algorithm using the cos^N function
smoothing_cosNSmoothing using a*cos(x)^n base function
smoothMax_exponential
smoothMax_exponential_der
smoothMax_cubic
smoothMax_quadratic
smoothMax_spliceOnce continuously differentiable approximation to the maximum function using splice
smoothMin_exponential
smoothMin_cubic
smoothMin_quadratic
smoothMin_spliceOnce continuously differentiable approximation to the minimum function using a splice function
logspaceCreate log spaced vector
logspace_dxCreate log spaced vector and only return the spacing between points
besselJ
gamma_LanczosGamma function using the Lanczos approximation
factorialCalculates the factorial of integer n
regRoot_cinterpSquare root function with cubic interpolation near 0
regRoot_cinterp_der
regExponent_cinterpRoot function of exponent (x^z) with cubic interpolation near 0
regExponent_cinterp_der
quadraticCoefficientsReturns the coefficients of a quadritic equation a*x + b*x^2 + c*x^3 from three number pairs (x,y)
quadraticCurveQuadratic curve, including linear extrapolation beyond defined curve limits
variableFactorCalcutes a matrix f from 0 to 1 that relates a ratio of variable to fixed values
meanFactorCalcutes a matrix fA and f that returns the calculates a mean value based on a ratio of variable to fixed values using variableFactor
interpolate_wLimitInterpolate in a vector
interpolate2DInterpolate a 2D data table
linspace_1DCreate a linearly spaced 1D array and the special case when n = 1 the average is returned
linspaceRepeat_1DCreate [m] linearly spaced 1D arrays stored in a [n,m] matrix and the special case when n = 1 the average is returned
linspaceRepeat_1D_multiCreate a 3D matrix of linearly spaced 1D arrays stored in a [n,m] matrix and the special case when n = 1 the average is returned
linspace_2DcornerCreate a linearly spaced 2D matrix from the linear interpolation of 4 corner values
linspace_2DedgeCreate a linearly spaced 2D matrix from the linear interpolation of 4 edge values
linspaceRepeat_2DedgeCreate [m] linearly spaced 2D matrix stored in a [n1,n2,m] matrix from the linear interpolation of 4 edge values
fillArray_1Dcreate a matrix from an array of values (i.e., fill(val[:],n)) for 1 dimension
fillArray_2Dcreate a matrix from an array of values (i.e., fill(val[:],n1,n2)) for 2 dimensions
fillArray_3Dcreate a matrix from an array of values (i.e., fill(val[:],n1,n2,n3)) for 3 dimensions
arrheniusEquationArrhenius equation y = A*exp(-(Ea/RT)^b)
cumulativeSum
mean
cspline
cubicHermiteSpline
cubicHermiteSplineLinearExtrapolationInterpolate using a cubic Hermite spline with linear extrapolation
splineDerivativesFunction to compute the derivatives for cubic hermite spline interpolation
isMonotonicReturns true if the argument is a monotonic sequence
regStepApproximation of a general step, such that the approximation is continuous and differentiable
replaceArrayValuesReplace array values with user specified values at specified index
indexFilterReturn array of indices from source contained or not contained in target
integral_TrapezoidalRuleIntegral of array y(x) using the trapezoidal rule
radialspaceEqual volume radial spacing
max_len_seq
max_len_seq_ternary
xor
max_len_seq_sine
max_len_seq__sine_timeReturn time sequence interval and initial mls value as the last index
diff
regFun3Co-monotonic and C1 smooth regularization function
clamp
findPlaceFind the index next to which the target value fits in the array (requires monotonic array of positive values)
PerformanceCurve
psiPsi or digamma function: d(gamma)/dx/gamma
hypergeometric2F1
pochhammer
existsReturn true or false for if element is found in the vector

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