ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Static Public Member Functions | |
static | _parseComplex ($complexNumber) |
_parseComplex More... | |
static | BESSELI ($x, $ord) |
static | BESSELJ ($x, $ord) |
static | BESSELK ($x, $ord) |
static | BESSELY ($x, $ord) |
static | BINTODEC ($x) |
static | BINTOHEX ($x, $places=NULL) |
static | BINTOOCT ($x, $places=NULL) |
static | DECTOBIN ($x, $places=NULL) |
static | DECTOHEX ($x, $places=null) |
static | DECTOOCT ($x, $places=null) |
static | HEXTOBIN ($x, $places=null) |
static | HEXTODEC ($x) |
static | HEXTOOCT ($x, $places=null) |
static | OCTTOBIN ($x, $places=null) |
static | OCTTODEC ($x) |
static | OCTTOHEX ($x, $places=null) |
static | COMPLEX ($realNumber=0.0, $imaginary=0.0, $suffix='i') |
static | IMAGINARY ($complexNumber) |
static | IMREAL ($complexNumber) |
static | IMABS ($complexNumber) |
IMABS. More... | |
static | IMARGUMENT ($complexNumber) |
IMARGUMENT. More... | |
static | IMCONJUGATE ($complexNumber) |
IMCONJUGATE. More... | |
static | IMCOS ($complexNumber) |
IMCOS. More... | |
static | IMSIN ($complexNumber) |
IMSIN. More... | |
static | IMSQRT ($complexNumber) |
IMSQRT. More... | |
static | IMLN ($complexNumber) |
IMLN. More... | |
static | IMLOG10 ($complexNumber) |
IMLOG10. More... | |
static | IMLOG2 ($complexNumber) |
IMLOG2. More... | |
static | IMEXP ($complexNumber) |
IMEXP. More... | |
static | IMPOWER ($complexNumber, $realNumber) |
IMPOWER. More... | |
static | IMDIV ($complexDividend, $complexDivisor) |
IMDIV. More... | |
static | IMSUB ($complexNumber1, $complexNumber2) |
IMSUB. More... | |
static | IMSUM () |
IMSUM. More... | |
static | IMPRODUCT () |
IMPRODUCT. More... | |
static | DELTA ($a, $b=0) |
DELTA. More... | |
static | GESTEP ($number, $step=0) |
GESTEP. More... | |
static | _erfVal ($x) |
static | ERF ($lower, $upper=NULL) |
ERF. More... | |
static | ERFC ($x) |
ERFC. More... | |
static | getConversionGroups () |
getConversionGroups Returns a list of the different conversion groups for UOM conversions More... | |
static | getConversionGroupUnits ($group=NULL) |
getConversionGroupUnits Returns an array of units of measure, for a specified conversion group, or for all groups More... | |
static | getConversionGroupUnitDetails ($group=NULL) |
getConversionGroupUnitDetails More... | |
static | getConversionMultipliers () |
getConversionMultipliers Returns an array of the Multiplier prefixes that can be used with Units of Measure in CONVERTUOM() More... | |
static | CONVERTUOM ($value, $fromUOM, $toUOM) |
CONVERTUOM. More... | |
Static Private Member Functions | |
static | _cleanComplex ($complexNumber) |
Cleans the leading characters in a complex number string. More... | |
static | _nbrConversionFormat ($xVal, $places) |
Formats a number base string value with leading zeroes. More... | |
static | _Besselk0 ($fNum) |
static | _Besselk1 ($fNum) |
static | _Bessely0 ($fNum) |
static | _Bessely1 ($fNum) |
static | _erfcVal ($x) |
Static Private Attributes | |
static | $_conversionUnits |
static | $_conversionMultipliers |
static | $_unitConversions |
static | $_two_sqrtpi = 1.128379167095512574 |
static | $_one_sqrtpi = 0.564189583547756287 |
Definition at line 50 of file Engineering.php.
|
staticprivate |
|
staticprivate |
|
staticprivate |
Definition at line 966 of file Engineering.php.
References $y.
|
staticprivate |
|
staticprivate |
Cleans the leading characters in a complex number string.
string | $complexNumber | The complex number to clean |
Definition at line 749 of file Engineering.php.
|
staticprivate |
|
static |
Definition at line 2228 of file Engineering.php.
Referenced by PHPExcel_Calculation_Statistical\NORMDIST().
|
staticprivate |
Formats a number base string value with leading zeroes.
string | $xVal | The "number" to pad |
integer | $places | The length that we want to pad this value |
Definition at line 764 of file Engineering.php.
References PHPExcel_Calculation_Functions\NaN().
|
static |
_parseComplex
Parses a complex number into its real and imaginary parts, and an I or J suffix
string | $complexNumber | The complex number |
Definition at line 696 of file Engineering.php.
|
static |
Definition at line 796 of file Engineering.php.
References $x, e(), PHPExcel_Calculation_MathTrig\FACT(), PHPExcel_Calculation_Functions\flattenSingleValue(), PHPExcel_Calculation_Functions\NaN(), and PHPExcel_Calculation_Functions\VALUE().
|
static |
Definition at line 848 of file Engineering.php.
References $x, e(), PHPExcel_Calculation_MathTrig\FACT(), PHPExcel_Calculation_Functions\flattenSingleValue(), M_2DIVPI, PHPExcel_Calculation_Functions\NaN(), and PHPExcel_Calculation_Functions\VALUE().
|
static |
Definition at line 937 of file Engineering.php.
References $n, $x, PHPExcel_Calculation_Functions\flattenSingleValue(), PHPExcel_Calculation_Functions\NaN(), and PHPExcel_Calculation_Functions\VALUE().
|
static |
Definition at line 1017 of file Engineering.php.
References $n, $x, PHPExcel_Calculation_Functions\flattenSingleValue(), PHPExcel_Calculation_Functions\NaN(), and PHPExcel_Calculation_Functions\VALUE().
|
static |
Definition at line 1064 of file Engineering.php.
References $out, $x, PHPExcel_Calculation_Functions\COMPATIBILITY_GNUMERIC, PHPExcel_Calculation_Functions\COMPATIBILITY_OPENOFFICE, PHPExcel_Calculation_Functions\flattenSingleValue(), PHPExcel_Calculation_Functions\getCompatibilityMode(), PHPExcel_Calculation_Functions\NaN(), string, and PHPExcel_Calculation_Functions\VALUE().
|
static |
Definition at line 1116 of file Engineering.php.
References $out, $x, PHPExcel_Calculation_Functions\COMPATIBILITY_GNUMERIC, PHPExcel_Calculation_Functions\COMPATIBILITY_OPENOFFICE, PHPExcel_Calculation_Functions\flattenSingleValue(), PHPExcel_Calculation_Functions\getCompatibilityMode(), PHPExcel_Calculation_Functions\NaN(), string, and PHPExcel_Calculation_Functions\VALUE().
|
static |
Definition at line 1170 of file Engineering.php.
References $out, $x, PHPExcel_Calculation_Functions\COMPATIBILITY_GNUMERIC, PHPExcel_Calculation_Functions\COMPATIBILITY_OPENOFFICE, PHPExcel_Calculation_Functions\flattenSingleValue(), PHPExcel_Calculation_Functions\getCompatibilityMode(), PHPExcel_Calculation_Functions\NaN(), string, and PHPExcel_Calculation_Functions\VALUE().
|
static |
Definition at line 1640 of file Engineering.php.
References PHPExcel_Calculation_Functions\flattenSingleValue(), string, and PHPExcel_Calculation_Functions\VALUE().
|
static |
CONVERTUOM.
Converts a number from one measurement system to another. For example, CONVERT can translate a table of distances in miles to a table of distances in kilometers.
Excel Function: CONVERT(value,fromUOM,toUOM)
float | $value | The value in fromUOM to convert. |
string | $fromUOM | The units for value. |
string | $toUOM | The units for the result. |
Definition at line 2421 of file Engineering.php.
References PHPExcel_Calculation_Functions\flattenSingleValue(), PHPExcel_Calculation_Functions\NA(), and PHPExcel_Calculation_Functions\VALUE().
|
static |
Definition at line 1228 of file Engineering.php.
References $out, $r, $x, PHPExcel_Calculation_Functions\COMPATIBILITY_OPENOFFICE, PHPExcel_Calculation_Functions\flattenSingleValue(), PHPExcel_Calculation_Functions\getCompatibilityMode(), PHPExcel_Calculation_Functions\NaN(), string, and PHPExcel_Calculation_Functions\VALUE().
|
static |
Definition at line 1284 of file Engineering.php.
References $out, $r, $x, PHPExcel_Calculation_Functions\COMPATIBILITY_OPENOFFICE, PHPExcel_Calculation_Functions\flattenSingleValue(), PHPExcel_Calculation_Functions\getCompatibilityMode(), string, and PHPExcel_Calculation_Functions\VALUE().
|
static |
Definition at line 1338 of file Engineering.php.
References $out, $r, $x, PHPExcel_Calculation_Functions\COMPATIBILITY_OPENOFFICE, PHPExcel_Calculation_Functions\flattenSingleValue(), PHPExcel_Calculation_Functions\getCompatibilityMode(), string, and PHPExcel_Calculation_Functions\VALUE().
|
static |
DELTA.
Tests whether two values are equal. Returns 1 if number1 = number2; returns 0 otherwise. Use this function to filter a set of values. For example, by summing several DELTA functions you calculate the count of equal pairs. This function is also known as the Kronecker Delta function.
Excel Function: DELTA(a[,b])
float | $a | The first number. |
float | $b | The second number. If omitted, b is assumed to be zero. |
Definition at line 2192 of file Engineering.php.
References PHPExcel_Calculation_Functions\flattenSingleValue().
|
static |
ERF.
Returns the error function integrated between the lower and upper bound arguments.
Note: In Excel 2007 or earlier, if you input a negative value for the upper or lower bound arguments, the function would return a #NUM! error. However, in Excel 2010, the function algorithm was improved, so that it can now calculate the function for both positive and negative ranges. PHPExcel follows Excel 2010 behaviour, and accepts nagative arguments.
Excel Function: ERF(lower[,upper])
float | $lower | lower bound for integrating ERF |
float | $upper | upper bound for integrating ERF. If omitted, ERF integrates between zero and lower_limit |
Definition at line 2268 of file Engineering.php.
References PHPExcel_Calculation_Functions\flattenSingleValue(), and PHPExcel_Calculation_Functions\VALUE().
|
static |
ERFC.
Returns the complementary ERF function integrated between x and infinity
Note: In Excel 2007 or earlier, if you input a negative value for the lower bound argument, the function would return a #NUM! error. However, in Excel 2010, the function algorithm was improved, so that it can now calculate the function for both positive and negative x values. PHPExcel follows Excel 2010 behaviour, and accepts nagative arguments.
Excel Function: ERFC(x)
float | $x | The lower bound for integrating ERFC |
Definition at line 2332 of file Engineering.php.
References $x, PHPExcel_Calculation_Functions\flattenSingleValue(), and PHPExcel_Calculation_Functions\VALUE().
|
static |
GESTEP.
Excel Function: GESTEP(number[,step])
Returns 1 if number >= step; returns 0 (zero) otherwise Use this function to filter a set of values. For example, by summing several GESTEP functions you calculate the count of values that exceed a threshold.
float | $number | The value to test against step. |
float | $step | The threshold value. If you omit a value for step, GESTEP uses zero. |
Definition at line 2215 of file Engineering.php.
References $step, and PHPExcel_Calculation_Functions\flattenSingleValue().
|
static |
getConversionGroups Returns a list of the different conversion groups for UOM conversions
Definition at line 2348 of file Engineering.php.
References array.
Referenced by EngineeringTest\testGetConversionGroups().
|
static |
getConversionGroupUnitDetails
string | $group | The group whose units of measure you want to retrieve |
Definition at line 2381 of file Engineering.php.
References array.
Referenced by EngineeringTest\testGetConversionGroupUnitDetails().
|
static |
getConversionGroupUnits Returns an array of units of measure, for a specified conversion group, or for all groups
string | $group | The group whose units of measure you want to retrieve |
Definition at line 2364 of file Engineering.php.
References array.
Referenced by EngineeringTest\testGetConversionGroupUnits().
|
static |
getConversionMultipliers Returns an array of the Multiplier prefixes that can be used with Units of Measure in CONVERTUOM()
Definition at line 2400 of file Engineering.php.
Referenced by EngineeringTest\testGetConversionMultipliers().
|
static |
Definition at line 1395 of file Engineering.php.
References $out, $x, PHPExcel_Calculation_Functions\flattenSingleValue(), PHPExcel_Calculation_Functions\NaN(), string, and PHPExcel_Calculation_Functions\VALUE().
|
static |
Definition at line 1431 of file Engineering.php.
References $out, $x, PHPExcel_Calculation_Functions\flattenSingleValue(), PHPExcel_Calculation_Functions\NaN(), string, and PHPExcel_Calculation_Functions\VALUE().
|
static |
Definition at line 1477 of file Engineering.php.
References $out, $x, PHPExcel_Calculation_Functions\flattenSingleValue(), PHPExcel_Calculation_Functions\NaN(), string, and PHPExcel_Calculation_Functions\VALUE().
|
static |
IMABS.
Returns the absolute value (modulus) of a complex number in x + yi or x + yj text format.
Excel Function: IMABS(complexNumber)
string | $complexNumber | The complex number for which you want the absolute value. |
Definition at line 1729 of file Engineering.php.
References PHPExcel_Calculation_Functions\flattenSingleValue().
|
static |
Definition at line 1689 of file Engineering.php.
References PHPExcel_Calculation_Functions\flattenSingleValue().
|
static |
IMARGUMENT.
Returns the argument theta of a complex number, i.e. the angle in radians from the real axis to the representation of the number in polar coordinates.
Excel Function: IMARGUMENT(complexNumber)
string | $complexNumber | The complex number for which you want the argument theta. |
Definition at line 1750 of file Engineering.php.
References PHPExcel_Calculation_Functions\flattenSingleValue().
|
static |
IMCONJUGATE.
Returns the complex conjugate of a complex number in x + yi or x + yj text format.
Excel Function: IMCONJUGATE(complexNumber)
string | $complexNumber | The complex number for which you want the conjugate. |
Definition at line 1784 of file Engineering.php.
References PHPExcel_Calculation_Functions\flattenSingleValue().
|
static |
IMCOS.
Returns the cosine of a complex number in x + yi or x + yj text format.
Excel Function: IMCOS(complexNumber)
string | $complexNumber | The complex number for which you want the cosine. |
Definition at line 1812 of file Engineering.php.
References PHPExcel_Calculation_Functions\flattenSingleValue().
|
static |
IMDIV.
Returns the quotient of two complex numbers in x + yi or x + yj text format.
Excel Function: IMDIV(complexDividend,complexDivisor)
string | $complexDividend | The complex numerator or dividend. |
string | $complexDivisor | The complex denominator or divisor. |
Definition at line 2040 of file Engineering.php.
References $r, PHPExcel_Calculation_Functions\flattenSingleValue(), and PHPExcel_Calculation_Functions\NaN().
|
static |
IMEXP.
Returns the exponential of a complex number in x + yi or x + yj text format.
Excel Function: IMEXP(complexNumber)
string | $complexNumber | The complex number for which you want the exponential. |
Definition at line 1972 of file Engineering.php.
References PHPExcel_Calculation_Functions\flattenSingleValue().
|
static |
IMLN.
Returns the natural logarithm of a complex number in x + yi or x + yj text format.
Excel Function: IMLN(complexNumber)
string | $complexNumber | The complex number for which you want the natural logarithm. |
Definition at line 1889 of file Engineering.php.
References $t, PHPExcel_Calculation_Functions\flattenSingleValue(), and PHPExcel_Calculation_Functions\NaN().
|
static |
IMLOG10.
Returns the common logarithm (base 10) of a complex number in x + yi or x + yj text format.
Excel Function: IMLOG10(complexNumber)
string | $complexNumber | The complex number for which you want the common logarithm. |
Definition at line 1920 of file Engineering.php.
References EULER, PHPExcel_Calculation_Functions\flattenSingleValue(), and PHPExcel_Calculation_Functions\NaN().
|
static |
IMLOG2.
Returns the base-2 logarithm of a complex number in x + yi or x + yj text format.
Excel Function: IMLOG2(complexNumber)
string | $complexNumber | The complex number for which you want the base-2 logarithm. |
Definition at line 1946 of file Engineering.php.
References EULER, PHPExcel_Calculation_Functions\flattenSingleValue(), and PHPExcel_Calculation_Functions\NaN().
|
static |
IMPOWER.
Returns a complex number in x + yi or x + yj text format raised to a power.
Excel Function: IMPOWER(complexNumber,realNumber)
string | $complexNumber | The complex number you want to raise to a power. |
float | $realNumber | The power to which you want to raise the complex number. |
Definition at line 2005 of file Engineering.php.
References $r, PHPExcel_Calculation_Functions\flattenSingleValue(), and PHPExcel_Calculation_Functions\VALUE().
|
static |
IMPRODUCT.
Returns the product of two or more complex numbers in x + yi or x + yj text format.
Excel Function: IMPRODUCT(complexNumber[,complexNumber[,...]])
string | $complexNumber,... | Series of complex numbers to multiply |
Definition at line 2152 of file Engineering.php.
References PHPExcel_Calculation_Functions\flattenArray(), and PHPExcel_Calculation_Functions\NaN().
|
static |
Definition at line 1710 of file Engineering.php.
References PHPExcel_Calculation_Functions\flattenSingleValue().
|
static |
IMSIN.
Returns the sine of a complex number in x + yi or x + yj text format.
Excel Function: IMSIN(complexNumber)
string | $complexNumber | The complex number for which you want the sine. |
Definition at line 1836 of file Engineering.php.
References PHPExcel_Calculation_Functions\flattenSingleValue().
|
static |
IMSQRT.
Returns the square root of a complex number in x + yi or x + yj text format.
Excel Function: IMSQRT(complexNumber)
string | $complexNumber | The complex number for which you want the square root. |
Definition at line 1860 of file Engineering.php.
References $r, and PHPExcel_Calculation_Functions\flattenSingleValue().
|
static |
IMSUB.
Returns the difference of two complex numbers in x + yi or x + yj text format.
Excel Function: IMSUB(complexNumber1,complexNumber2)
string | $complexNumber1 | The complex number from which to subtract complexNumber2. |
string | $complexNumber2 | The complex number to subtract from complexNumber1. |
Definition at line 2084 of file Engineering.php.
References PHPExcel_Calculation_Functions\flattenSingleValue(), and PHPExcel_Calculation_Functions\NaN().
|
static |
IMSUM.
Returns the sum of two or more complex numbers in x + yi or x + yj text format.
Excel Function: IMSUM(complexNumber[,complexNumber[,...]])
string | $complexNumber,... | Series of complex numbers to add |
Definition at line 2116 of file Engineering.php.
References PHPExcel_Calculation_Functions\flattenArray(), and PHPExcel_Calculation_Functions\VALUE().
|
static |
Definition at line 1528 of file Engineering.php.
References $out, $r, $x, PHPExcel_Calculation_Functions\flattenSingleValue(), PHPExcel_Calculation_Functions\NaN(), string, and PHPExcel_Calculation_Functions\VALUE().
|
static |
Definition at line 1564 of file Engineering.php.
References $out, $x, PHPExcel_Calculation_Functions\flattenSingleValue(), PHPExcel_Calculation_Functions\NaN(), string, and PHPExcel_Calculation_Functions\VALUE().
|
static |
Definition at line 1607 of file Engineering.php.
References $out, $x, PHPExcel_Calculation_Functions\flattenSingleValue(), PHPExcel_Calculation_Functions\NaN(), string, and PHPExcel_Calculation_Functions\VALUE().
|
staticprivate |
Definition at line 127 of file Engineering.php.
|
staticprivate |
Definition at line 57 of file Engineering.php.
|
staticprivate |
Definition at line 2287 of file Engineering.php.
|
staticprivate |
Definition at line 2226 of file Engineering.php.
|
staticprivate |
Definition at line 154 of file Engineering.php.