You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

1555 regels
77 KiB

  1. <!DOCTYPE html><html lang="en">
  2. <head>
  3. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  4. <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
  5. <meta charset="utf-8">
  6. <title>PHPExcel classes » \PHPExcel_Calculation_Engineering</title>
  7. <meta name="author" content="Mike van Riel">
  8. <meta name="description" content="">
  9. <link href="../css/template.css" rel="stylesheet" media="all">
  10. <script src="../js/jquery-1.7.1.min.js" type="text/javascript"></script><script src="../js/jquery-ui-1.8.2.custom.min.js" type="text/javascript"></script><script src="../js/jquery.mousewheel.min.js" type="text/javascript"></script><script src="../js/bootstrap.js" type="text/javascript"></script><script src="../js/template.js" type="text/javascript"></script><script src="../js/prettify/prettify.min.js" type="text/javascript"></script><link rel="shortcut icon" href="../img/favicon.ico">
  11. <link rel="apple-touch-icon" href="../img/apple-touch-icon.png">
  12. <link rel="apple-touch-icon" sizes="72x72" href="../img/apple-touch-icon-72x72.png">
  13. <link rel="apple-touch-icon" sizes="114x114" href="../img/apple-touch-icon-114x114.png">
  14. </head>
  15. <body>
  16. <div class="navbar navbar-fixed-top">
  17. <div class="navbar-inner"><div class="container">
  18. <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span></a><a class="brand" href="../index.html">PHPExcel classes</a><div class="nav-collapse"><ul class="nav">
  19. <li class="dropdown">
  20. <a href="#api" class="dropdown-toggle" data-toggle="dropdown">
  21. API Documentation <b class="caret"></b></a><ul class="dropdown-menu">
  22. <li><a>Packages</a></li>
  23. <li><a href="../packages/Default.html"><i class="icon-folder-open"></i> Default</a></li>
  24. <li><a href="../packages/JAMA.html"><i class="icon-folder-open"></i> JAMA</a></li>
  25. <li><a href="../packages/JAMA%0D%0ACholesky%20decomposition%20class%0D%0AFor%20a%20symmetric,%20positive%20definite%20matrix%20A,%20the%20Cholesky%20decomposition%0D%0Ais%20an%20lower%20triangular%20matrix%20L%20so%20that%20A%20=%20L*L'.html"><i class="icon-folder-open"></i> JAMA
  26. Cholesky decomposition class
  27. For a symmetric, positive definite matrix A, the Cholesky decomposition
  28. is an lower triangular matrix L so that A = L*L'</a></li>
  29. <li><a href="../packages/JAMA%0D%0AClass%20to%20obtain%20eigenvalues%20and%20eigenvectors%20of%20a%20real%20matrix.html"><i class="icon-folder-open"></i> JAMA
  30. Class to obtain eigenvalues and eigenvectors of a real matrix</a></li>
  31. <li><a href="../packages/JAMA%0D%0AError%20handling.html"><i class="icon-folder-open"></i> JAMA
  32. Error handling</a></li>
  33. <li><a href="../packages/JAMA%0D%0AFor%20an%20m-by-n%20matrix%20A%20with%20m%20&gt;=%20n,%20the%20LU%20decomposition%20is%20an%20m-by-n%0D%0Aunit%20lower%20triangular%20matrix%20L,%20an%20n-by-n%20upper%20triangular%20matrix%20U,%0D%0Aand%20a%20permutation%20vector%20piv%20of%20length%20m%20so%20that%20A(piv,:)%20=%20L*U.html"><i class="icon-folder-open"></i> JAMA
  34. For an m-by-n matrix A with m &gt;= n, the LU decomposition is an m-by-n
  35. unit lower triangular matrix L, an n-by-n upper triangular matrix U,
  36. and a permutation vector piv of length m so that A(piv,:) = L*U</a></li>
  37. <li><a href="../packages/JAMA%0D%0AFor%20an%20m-by-n%20matrix%20A%20with%20m%20&gt;=%20n,%20the%20QR%20decomposition%20is%20an%20m-by-n%0D%0Aorthogonal%20matrix%20Q%20and%20an%20n-by-n%20upper%20triangular%20matrix%20R%20so%20that%0D%0AA%20=%20Q*R.html"><i class="icon-folder-open"></i> JAMA
  38. For an m-by-n matrix A with m &gt;= n, the QR decomposition is an m-by-n
  39. orthogonal matrix Q and an n-by-n upper triangular matrix R so that
  40. A = Q*R</a></li>
  41. <li><a href="../packages/JAMA%0D%0AFor%20an%20m-by-n%20matrix%20A%20with%20m%20&gt;=%20n,%20the%20singular%20value%20decomposition%20is%0D%0Aan%20m-by-n%20orthogonal%20matrix%20U,%20an%20n-by-n%20diagonal%20matrix%20S,%20and%0D%0Aan%20n-by-n%20orthogonal%20matrix%20V%20so%20that%20A%20=%20U*S*V'.html"><i class="icon-folder-open"></i> JAMA
  42. For an m-by-n matrix A with m &gt;= n, the singular value decomposition is
  43. an m-by-n orthogonal matrix U, an n-by-n diagonal matrix S, and
  44. an n-by-n orthogonal matrix V so that A = U*S*V'</a></li>
  45. <li><a href="../packages/JAMA%0D%0APythagorean%20Theorem:%0D%0Aa%20=%203%0D%0Ab%20=%204%0D%0Ar%20=%20sqrt(square(a)%20+%20square(b))%0D%0Ar%20=%205%0D%0Ar%20=%20sqrt(a%5E2%20+%20b%5E2)%20without%20under.overflow.html"><i class="icon-folder-open"></i> JAMA
  46. Pythagorean Theorem:
  47. a = 3
  48. b = 4
  49. r = sqrt(square(a) + square(b))
  50. r = 5
  51. r = sqrt(a^2 + b^2) without under/overflow</a></li>
  52. <li><a href="../packages/PHPExcel.html"><i class="icon-folder-open"></i> PHPExcel</a></li>
  53. </ul>
  54. </li>
  55. <li class="dropdown" id="charts-menu">
  56. <a href="#charts" class="dropdown-toggle" data-toggle="dropdown">
  57. Charts <b class="caret"></b></a><ul class="dropdown-menu"><li><a href="../graph_class.html"><i class="icon-list-alt"></i> Class hierarchy diagram</a></li></ul>
  58. </li>
  59. <li class="dropdown" id="reports-menu">
  60. <a href="#reports" class="dropdown-toggle" data-toggle="dropdown">
  61. Reports <b class="caret"></b></a><ul class="dropdown-menu">
  62. <li><a href="../errors.html"><i class="icon-remove-sign"></i> Errors 
  63. <span class="label label-info">551</span></a></li>
  64. <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
  65. <ul>
  66. <li>todo 
  67. <span class="label label-info">19</span>
  68. </li>
  69. <li>fixme 
  70. <span class="label label-info">10</span>
  71. </li>
  72. </ul></a></li>
  73. <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
  74. <span class="label label-info">12</span></a></li>
  75. </ul>
  76. </li>
  77. </ul></div>
  78. </div></div>
  79. <div class="go_to_top"><a href="#___" style="color: inherit">Back to top  <i class="icon-upload icon-white"></i></a></div>
  80. </div>
  81. <div id="___" class="container">
  82. <noscript><div class="alert alert-warning">
  83. Javascript is disabled; several features are only available
  84. if Javascript is enabled.
  85. </div></noscript>
  86. <div class="row">
  87. <div class="span4">
  88. <span class="btn-group visibility" data-toggle="buttons-checkbox"><button class="btn public active" title="Show public elements">Public</button><button class="btn protected" title="Show protected elements">Protected</button><button class="btn private" title="Show private elements">Private</button><button class="btn inherited active" title="Show inherited elements">Inherited</button></span><div class="btn-group view pull-right" data-toggle="buttons-radio">
  89. <button class="btn details" title="Show descriptions and method names"><i class="icon-list"></i></button><button class="btn simple" title="Show only method names"><i class="icon-align-justify"></i></button>
  90. </div>
  91. <ul class="side-nav nav nav-list">
  92. <li class="nav-header">
  93. <i class="icon-custom icon-method"></i> Methods
  94. <ul>
  95. <li class="method public "><a href="#method_BESSELI" title="BESSELI :: BESSELI"><span class="description">BESSELI</span><pre>BESSELI()</pre></a></li>
  96. <li class="method public "><a href="#method_BESSELJ" title="BESSELJ :: BESSELJ"><span class="description">BESSELJ</span><pre>BESSELJ()</pre></a></li>
  97. <li class="method public "><a href="#method_BESSELK" title="BESSELK :: BESSELK"><span class="description">BESSELK</span><pre>BESSELK()</pre></a></li>
  98. <li class="method public "><a href="#method_BESSELY" title="BESSELY :: BESSELY"><span class="description">BESSELY</span><pre>BESSELY()</pre></a></li>
  99. <li class="method public "><a href="#method_BINTODEC" title="BINTODEC :: BINTODEC"><span class="description">BINTODEC</span><pre>BINTODEC()</pre></a></li>
  100. <li class="method public "><a href="#method_BINTOHEX" title="BINTOHEX :: BINTOHEX"><span class="description">BINTOHEX</span><pre>BINTOHEX()</pre></a></li>
  101. <li class="method public "><a href="#method_BINTOOCT" title="BINTOOCT :: BINTOOCT"><span class="description">BINTOOCT</span><pre>BINTOOCT()</pre></a></li>
  102. <li class="method public "><a href="#method_COMPLEX" title="COMPLEX :: COMPLEX"><span class="description">COMPLEX</span><pre>COMPLEX()</pre></a></li>
  103. <li class="method public "><a href="#method_CONVERTUOM" title="CONVERTUOM :: CONVERTUOM"><span class="description">CONVERTUOM</span><pre>CONVERTUOM()</pre></a></li>
  104. <li class="method public "><a href="#method_DECTOBIN" title="DECTOBIN :: DECTOBIN"><span class="description">DECTOBIN</span><pre>DECTOBIN()</pre></a></li>
  105. <li class="method public "><a href="#method_DECTOHEX" title="DECTOHEX :: DECTOHEX"><span class="description">DECTOHEX</span><pre>DECTOHEX()</pre></a></li>
  106. <li class="method public "><a href="#method_DECTOOCT" title="DECTOOCT :: DECTOOCT"><span class="description">DECTOOCT</span><pre>DECTOOCT()</pre></a></li>
  107. <li class="method public "><a href="#method_DELTA" title="DELTA :: DELTA"><span class="description">DELTA</span><pre>DELTA()</pre></a></li>
  108. <li class="method public "><a href="#method_ERF" title="ERF :: ERF"><span class="description">ERF</span><pre>ERF()</pre></a></li>
  109. <li class="method public "><a href="#method_ERFC" title="ERFC :: ERFC"><span class="description">ERFC</span><pre>ERFC()</pre></a></li>
  110. <li class="method public "><a href="#method_GESTEP" title="GESTEP :: GESTEP"><span class="description">GESTEP</span><pre>GESTEP()</pre></a></li>
  111. <li class="method public "><a href="#method_HEXTOBIN" title="HEXTOBIN :: HEXTOBIN"><span class="description">HEXTOBIN</span><pre>HEXTOBIN()</pre></a></li>
  112. <li class="method public "><a href="#method_HEXTODEC" title="HEXTODEC :: HEXTODEC"><span class="description">HEXTODEC</span><pre>HEXTODEC()</pre></a></li>
  113. <li class="method public "><a href="#method_HEXTOOCT" title="HEXTOOCT :: HEXTOOCT"><span class="description">HEXTOOCT</span><pre>HEXTOOCT()</pre></a></li>
  114. <li class="method public "><a href="#method_IMABS" title="IMABS :: IMABS"><span class="description">IMABS</span><pre>IMABS()</pre></a></li>
  115. <li class="method public "><a href="#method_IMAGINARY" title="IMAGINARY :: IMAGINARY"><span class="description">IMAGINARY</span><pre>IMAGINARY()</pre></a></li>
  116. <li class="method public "><a href="#method_IMARGUMENT" title="IMARGUMENT :: IMARGUMENT"><span class="description">IMARGUMENT</span><pre>IMARGUMENT()</pre></a></li>
  117. <li class="method public "><a href="#method_IMCONJUGATE" title="IMCONJUGATE :: IMCONJUGATE"><span class="description">IMCONJUGATE</span><pre>IMCONJUGATE()</pre></a></li>
  118. <li class="method public "><a href="#method_IMCOS" title="IMCOS :: IMCOS"><span class="description">IMCOS</span><pre>IMCOS()</pre></a></li>
  119. <li class="method public "><a href="#method_IMDIV" title="IMDIV :: IMDIV"><span class="description">IMDIV</span><pre>IMDIV()</pre></a></li>
  120. <li class="method public "><a href="#method_IMEXP" title="IMEXP :: IMEXP"><span class="description">IMEXP</span><pre>IMEXP()</pre></a></li>
  121. <li class="method public "><a href="#method_IMLN" title="IMLN :: IMLN"><span class="description">IMLN</span><pre>IMLN()</pre></a></li>
  122. <li class="method public "><a href="#method_IMLOG10" title="IMLOG10 :: IMLOG10"><span class="description">IMLOG10</span><pre>IMLOG10()</pre></a></li>
  123. <li class="method public "><a href="#method_IMLOG2" title="IMLOG2 :: IMLOG2"><span class="description">IMLOG2</span><pre>IMLOG2()</pre></a></li>
  124. <li class="method public "><a href="#method_IMPOWER" title="IMPOWER :: IMPOWER"><span class="description">IMPOWER</span><pre>IMPOWER()</pre></a></li>
  125. <li class="method public "><a href="#method_IMPRODUCT" title="IMPRODUCT :: IMPRODUCT"><span class="description">IMPRODUCT</span><pre>IMPRODUCT()</pre></a></li>
  126. <li class="method public "><a href="#method_IMREAL" title="IMREAL :: IMREAL"><span class="description">IMREAL</span><pre>IMREAL()</pre></a></li>
  127. <li class="method public "><a href="#method_IMSIN" title="IMSIN :: IMSIN"><span class="description">IMSIN</span><pre>IMSIN()</pre></a></li>
  128. <li class="method public "><a href="#method_IMSQRT" title="IMSQRT :: IMSQRT"><span class="description">IMSQRT</span><pre>IMSQRT()</pre></a></li>
  129. <li class="method public "><a href="#method_IMSUB" title="IMSUB :: IMSUB"><span class="description">IMSUB</span><pre>IMSUB()</pre></a></li>
  130. <li class="method public "><a href="#method_IMSUM" title="IMSUM :: IMSUM"><span class="description">IMSUM</span><pre>IMSUM()</pre></a></li>
  131. <li class="method public "><a href="#method_OCTTOBIN" title="OCTTOBIN :: OCTTOBIN"><span class="description">OCTTOBIN</span><pre>OCTTOBIN()</pre></a></li>
  132. <li class="method public "><a href="#method_OCTTODEC" title="OCTTODEC :: OCTTODEC"><span class="description">OCTTODEC</span><pre>OCTTODEC()</pre></a></li>
  133. <li class="method public "><a href="#method_OCTTOHEX" title="OCTTOHEX :: OCTTOHEX"><span class="description">OCTTOHEX</span><pre>OCTTOHEX()</pre></a></li>
  134. <li class="method public "><a href="#method__erfVal" title="_erfVal :: "><span class="description">_erfVal()
  135. </span><pre>_erfVal()</pre></a></li>
  136. <li class="method public "><a href="#method__parseComplex" title="_parseComplex :: _parseComplex"><span class="description">_parseComplex</span><pre>_parseComplex()</pre></a></li>
  137. <li class="method public "><a href="#method_getConversionGroupUnitDetails" title="getConversionGroupUnitDetails :: getConversionGroupUnitDetails"><span class="description">getConversionGroupUnitDetails</span><pre>getConversionGroupUnitDetails()</pre></a></li>
  138. <li class="method public "><a href="#method_getConversionGroupUnits" title="getConversionGroupUnits :: getConversionGroupUnits
  139. Returns an array of units of measure, for a specified conversion group, or for all groups"><span class="description">getConversionGroupUnits
  140. Returns an array of units of measure, for a specified conversion group, or for all groups</span><pre>getConversionGroupUnits()</pre></a></li>
  141. <li class="method public "><a href="#method_getConversionGroups" title="getConversionGroups :: getConversionGroups
  142. Returns a list of the different conversion groups for UOM conversions"><span class="description">getConversionGroups
  143. Returns a list of the different conversion groups for UOM conversions</span><pre>getConversionGroups()</pre></a></li>
  144. <li class="method public "><a href="#method_getConversionMultipliers" title="getConversionMultipliers :: getConversionMultipliers
  145. Returns an array of the Multiplier prefixes that can be used with Units of Measure in CONVERTUOM()"><span class="description">getConversionMultipliers
  146. Returns an array of the Multiplier prefixes that can be used with Units of Measure in CONVERTUOM()</span><pre>getConversionMultipliers()</pre></a></li>
  147. </ul>
  148. </li>
  149. <li class="nav-header private">» Private
  150. <ul>
  151. <li class="method private "><a href="#method__Besselk0" title="_Besselk0 :: "><span class="description">_Besselk0()
  152. </span><pre>_Besselk0()</pre></a></li>
  153. <li class="method private "><a href="#method__Besselk1" title="_Besselk1 :: "><span class="description">_Besselk1()
  154. </span><pre>_Besselk1()</pre></a></li>
  155. <li class="method private "><a href="#method__Bessely0" title="_Bessely0 :: "><span class="description">_Bessely0()
  156. </span><pre>_Bessely0()</pre></a></li>
  157. <li class="method private "><a href="#method__Bessely1" title="_Bessely1 :: "><span class="description">_Bessely1()
  158. </span><pre>_Bessely1()</pre></a></li>
  159. <li class="method private "><a href="#method__cleanComplex" title="_cleanComplex :: Cleans the leading characters in a complex number string"><span class="description">Cleans the leading characters in a complex number string</span><pre>_cleanComplex()</pre></a></li>
  160. <li class="method private "><a href="#method__erfcVal" title="_erfcVal :: "><span class="description">_erfcVal()
  161. </span><pre>_erfcVal()</pre></a></li>
  162. <li class="method private "><a href="#method__nbrConversionFormat" title="_nbrConversionFormat :: Formats a number base string value with leading zeroes"><span class="description">Formats a number base string value with leading zeroes</span><pre>_nbrConversionFormat()</pre></a></li>
  163. </ul>
  164. </li>
  165. <li class="nav-header">
  166. <i class="icon-custom icon-property"></i> Properties
  167. <ul></ul>
  168. </li>
  169. <li class="nav-header private">» Private
  170. <ul>
  171. <li class="property private "><a href="#property__conversionMultipliers" title="$_conversionMultipliers :: Details of the Multiplier prefixes that can be used with Units of Measure in CONVERTUOM()"><span class="description"></span><pre>$_conversionMultipliers</pre></a></li>
  172. <li class="property private "><a href="#property__conversionUnits" title="$_conversionUnits :: Details of the Units of measure that can be used in CONVERTUOM()"><span class="description"></span><pre>$_conversionUnits</pre></a></li>
  173. <li class="property private "><a href="#property__one_sqrtpi" title="$_one_sqrtpi :: "><span class="description"></span><pre>$_one_sqrtpi</pre></a></li>
  174. <li class="property private "><a href="#property__two_sqrtpi" title="$_two_sqrtpi :: "><span class="description"></span><pre>$_two_sqrtpi</pre></a></li>
  175. <li class="property private "><a href="#property__unitConversions" title="$_unitConversions :: Details of the Units of measure conversion factors, organised by group"><span class="description"></span><pre>$_unitConversions</pre></a></li>
  176. </ul>
  177. </li>
  178. </ul>
  179. </div>
  180. <div class="span8">
  181. <a id="\PHPExcel_Calculation_Engineering"></a><ul class="breadcrumb">
  182. <li>
  183. <a href="../index.html"><i class="icon-custom icon-class"></i></a><span class="divider">\</span>
  184. </li>
  185. <li><a href="../namespaces/global.html">global</a></li>
  186. <li class="active">
  187. <span class="divider">\</span><a href="../classes/PHPExcel_Calculation_Engineering.html">PHPExcel_Calculation_Engineering</a>
  188. </li>
  189. </ul>
  190. <div class="element class">
  191. <p class="short_description">PHPExcel_Calculation_Engineering</p>
  192. <div class="details">
  193. <div class="long_description"></div>
  194. <table class="table table-bordered">
  195. <tr>
  196. <th>category</th>
  197. <td>PHPExcel</td>
  198. </tr>
  199. <tr>
  200. <th>package</th>
  201. <td><a href="../packages/PHPExcel.Calculation.html">PHPExcel_Calculation</a></td>
  202. </tr>
  203. <tr>
  204. <th>copyright</th>
  205. <td>Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel)</td>
  206. </tr>
  207. </table>
  208. <h3>
  209. <i class="icon-custom icon-method"></i> Methods</h3>
  210. <a id="method_BESSELI"></a><div class="element clickable method public method_BESSELI" data-toggle="collapse" data-target=".method_BESSELI .collapse">
  211. <h2>BESSELI</h2>
  212. <pre>BESSELI(float $x, integer $ord) : float</pre>
  213. <div class="labels"><span class="label">Static</span></div>
  214. <div class="row collapse"><div class="detail-description">
  215. <div class="long_description"><p>Returns the modified Bessel function In(x), which is equivalent to the Bessel function evaluated
  216. for purely imaginary arguments</p>
  217. <p>Excel Function:
  218. BESSELI(x,ord)</p></div>
  219. <table class="table table-bordered">
  220. <tr>
  221. <th>access</th>
  222. <td>public</td>
  223. </tr>
  224. <tr>
  225. <th>category</th>
  226. <td>Engineering Functions</td>
  227. </tr>
  228. </table>
  229. <h3>Parameters</h3>
  230. <div class="subelement argument">
  231. <h4>$x</h4>
  232. <code>float</code><p>The value at which to evaluate the function.
  233. If x is nonnumeric, BESSELI returns the #VALUE! error value.</p>
  234. </div>
  235. <div class="subelement argument">
  236. <h4>$ord</h4>
  237. <code>integer</code><p>The order of the Bessel function.
  238. If ord is not an integer, it is truncated.
  239. If $ord is nonnumeric, BESSELI returns the #VALUE! error value.
  240. If $ord < 0, BESSELI returns the #NUM! error value.</p>
  241. </div>
  242. <h3>Returns</h3>
  243. <div class="subelement response"><code>float</code></div>
  244. </div></div>
  245. </div>
  246. <a id="method_BESSELJ"></a><div class="element clickable method public method_BESSELJ" data-toggle="collapse" data-target=".method_BESSELJ .collapse">
  247. <h2>BESSELJ</h2>
  248. <pre>BESSELJ(float $x, integer $ord) : float</pre>
  249. <div class="labels"><span class="label">Static</span></div>
  250. <div class="row collapse"><div class="detail-description">
  251. <div class="long_description"><p>Returns the Bessel function</p>
  252. <p>Excel Function:
  253. BESSELJ(x,ord)</p></div>
  254. <table class="table table-bordered">
  255. <tr>
  256. <th>access</th>
  257. <td>public</td>
  258. </tr>
  259. <tr>
  260. <th>category</th>
  261. <td>Engineering Functions</td>
  262. </tr>
  263. </table>
  264. <h3>Parameters</h3>
  265. <div class="subelement argument">
  266. <h4>$x</h4>
  267. <code>float</code><p>The value at which to evaluate the function.
  268. If x is nonnumeric, BESSELJ returns the #VALUE! error value.</p>
  269. </div>
  270. <div class="subelement argument">
  271. <h4>$ord</h4>
  272. <code>integer</code><p>The order of the Bessel function. If n is not an integer, it is truncated.
  273. If $ord is nonnumeric, BESSELJ returns the #VALUE! error value.
  274. If $ord < 0, BESSELJ returns the #NUM! error value.</p>
  275. </div>
  276. <h3>Returns</h3>
  277. <div class="subelement response"><code>float</code></div>
  278. </div></div>
  279. </div>
  280. <a id="method_BESSELK"></a><div class="element clickable method public method_BESSELK" data-toggle="collapse" data-target=".method_BESSELK .collapse">
  281. <h2>BESSELK</h2>
  282. <pre>BESSELK(float $x, integer $ord) : float</pre>
  283. <div class="labels"><span class="label">Static</span></div>
  284. <div class="row collapse"><div class="detail-description">
  285. <div class="long_description"><p>Returns the modified Bessel function Kn(x), which is equivalent to the Bessel functions evaluated
  286. for purely imaginary arguments.</p>
  287. <p>Excel Function:
  288. BESSELK(x,ord)</p></div>
  289. <table class="table table-bordered">
  290. <tr>
  291. <th>access</th>
  292. <td>public</td>
  293. </tr>
  294. <tr>
  295. <th>category</th>
  296. <td>Engineering Functions</td>
  297. </tr>
  298. </table>
  299. <h3>Parameters</h3>
  300. <div class="subelement argument">
  301. <h4>$x</h4>
  302. <code>float</code><p>The value at which to evaluate the function.
  303. If x is nonnumeric, BESSELK returns the #VALUE! error value.</p>
  304. </div>
  305. <div class="subelement argument">
  306. <h4>$ord</h4>
  307. <code>integer</code><p>The order of the Bessel function. If n is not an integer, it is truncated.
  308. If $ord is nonnumeric, BESSELK returns the #VALUE! error value.
  309. If $ord < 0, BESSELK returns the #NUM! error value.</p>
  310. </div>
  311. <h3>Returns</h3>
  312. <div class="subelement response"><code>float</code></div>
  313. </div></div>
  314. </div>
  315. <a id="method_BESSELY"></a><div class="element clickable method public method_BESSELY" data-toggle="collapse" data-target=".method_BESSELY .collapse">
  316. <h2>BESSELY</h2>
  317. <pre>BESSELY(float $x, integer $ord) : float</pre>
  318. <div class="labels"><span class="label">Static</span></div>
  319. <div class="row collapse"><div class="detail-description">
  320. <div class="long_description"><p>Returns the Bessel function, which is also called the Weber function or the Neumann function.</p>
  321. <p>Excel Function:
  322. BESSELY(x,ord)</p></div>
  323. <table class="table table-bordered">
  324. <tr>
  325. <th>access</th>
  326. <td>public</td>
  327. </tr>
  328. <tr>
  329. <th>category</th>
  330. <td>Engineering Functions</td>
  331. </tr>
  332. </table>
  333. <h3>Parameters</h3>
  334. <div class="subelement argument">
  335. <h4>$x</h4>
  336. <code>float</code><p>The value at which to evaluate the function.
  337. If x is nonnumeric, BESSELK returns the #VALUE! error value.</p>
  338. </div>
  339. <div class="subelement argument">
  340. <h4>$ord</h4>
  341. <code>integer</code><p>The order of the Bessel function. If n is not an integer, it is truncated.
  342. If $ord is nonnumeric, BESSELK returns the #VALUE! error value.
  343. If $ord < 0, BESSELK returns the #NUM! error value.</p>
  344. </div>
  345. <h3>Returns</h3>
  346. <div class="subelement response"><code>float</code></div>
  347. </div></div>
  348. </div>
  349. <a id="method_BINTODEC"></a><div class="element clickable method public method_BINTODEC" data-toggle="collapse" data-target=".method_BINTODEC .collapse">
  350. <h2>BINTODEC</h2>
  351. <pre>BINTODEC(string $x) : string</pre>
  352. <div class="labels"><span class="label">Static</span></div>
  353. <div class="row collapse"><div class="detail-description">
  354. <div class="long_description"><p>Return a binary value as decimal.</p>
  355. <p>Excel Function:
  356. BIN2DEC(x)</p></div>
  357. <table class="table table-bordered">
  358. <tr>
  359. <th>access</th>
  360. <td>public</td>
  361. </tr>
  362. <tr>
  363. <th>category</th>
  364. <td>Engineering Functions</td>
  365. </tr>
  366. </table>
  367. <h3>Parameters</h3>
  368. <div class="subelement argument">
  369. <h4>$x</h4>
  370. <code>string</code><p>The binary number (as a string) that you want to convert. The number
  371. cannot contain more than 10 characters (10 bits). The most significant
  372. bit of number is the sign bit. The remaining 9 bits are magnitude bits.
  373. Negative numbers are represented using two's-complement notation.
  374. If number is not a valid binary number, or if number contains more than
  375. 10 characters (10 bits), BIN2DEC returns the #NUM! error value.</p>
  376. </div>
  377. <h3>Returns</h3>
  378. <div class="subelement response"><code>string</code></div>
  379. </div></div>
  380. </div>
  381. <a id="method_BINTOHEX"></a><div class="element clickable method public method_BINTOHEX" data-toggle="collapse" data-target=".method_BINTOHEX .collapse">
  382. <h2>BINTOHEX</h2>
  383. <pre>BINTOHEX(string $x, integer $places) : string</pre>
  384. <div class="labels"><span class="label">Static</span></div>
  385. <div class="row collapse"><div class="detail-description">
  386. <div class="long_description"><p>Return a binary value as hex.</p>
  387. <p>Excel Function:
  388. BIN2HEX(x[,places])</p></div>
  389. <table class="table table-bordered">
  390. <tr>
  391. <th>access</th>
  392. <td>public</td>
  393. </tr>
  394. <tr>
  395. <th>category</th>
  396. <td>Engineering Functions</td>
  397. </tr>
  398. </table>
  399. <h3>Parameters</h3>
  400. <div class="subelement argument">
  401. <h4>$x</h4>
  402. <code>string</code><p>The binary number (as a string) that you want to convert. The number
  403. cannot contain more than 10 characters (10 bits). The most significant
  404. bit of number is the sign bit. The remaining 9 bits are magnitude bits.
  405. Negative numbers are represented using two's-complement notation.
  406. If number is not a valid binary number, or if number contains more than
  407. 10 characters (10 bits), BIN2HEX returns the #NUM! error value.</p>
  408. </div>
  409. <div class="subelement argument">
  410. <h4>$places</h4>
  411. <code>integer</code><p>The number of characters to use. If places is omitted, BIN2HEX uses the
  412. minimum number of characters necessary. Places is useful for padding the
  413. return value with leading 0s (zeros).
  414. If places is not an integer, it is truncated.
  415. If places is nonnumeric, BIN2HEX returns the #VALUE! error value.
  416. If places is negative, BIN2HEX returns the #NUM! error value.</p>
  417. </div>
  418. <h3>Returns</h3>
  419. <div class="subelement response"><code>string</code></div>
  420. </div></div>
  421. </div>
  422. <a id="method_BINTOOCT"></a><div class="element clickable method public method_BINTOOCT" data-toggle="collapse" data-target=".method_BINTOOCT .collapse">
  423. <h2>BINTOOCT</h2>
  424. <pre>BINTOOCT(string $x, integer $places) : string</pre>
  425. <div class="labels"><span class="label">Static</span></div>
  426. <div class="row collapse"><div class="detail-description">
  427. <div class="long_description"><p>Return a binary value as octal.</p>
  428. <p>Excel Function:
  429. BIN2OCT(x[,places])</p></div>
  430. <table class="table table-bordered">
  431. <tr>
  432. <th>access</th>
  433. <td>public</td>
  434. </tr>
  435. <tr>
  436. <th>category</th>
  437. <td>Engineering Functions</td>
  438. </tr>
  439. </table>
  440. <h3>Parameters</h3>
  441. <div class="subelement argument">
  442. <h4>$x</h4>
  443. <code>string</code><p>The binary number (as a string) that you want to convert. The number
  444. cannot contain more than 10 characters (10 bits). The most significant
  445. bit of number is the sign bit. The remaining 9 bits are magnitude bits.
  446. Negative numbers are represented using two's-complement notation.
  447. If number is not a valid binary number, or if number contains more than
  448. 10 characters (10 bits), BIN2OCT returns the #NUM! error value.</p>
  449. </div>
  450. <div class="subelement argument">
  451. <h4>$places</h4>
  452. <code>integer</code><p>The number of characters to use. If places is omitted, BIN2OCT uses the
  453. minimum number of characters necessary. Places is useful for padding the
  454. return value with leading 0s (zeros).
  455. If places is not an integer, it is truncated.
  456. If places is nonnumeric, BIN2OCT returns the #VALUE! error value.
  457. If places is negative, BIN2OCT returns the #NUM! error value.</p>
  458. </div>
  459. <h3>Returns</h3>
  460. <div class="subelement response"><code>string</code></div>
  461. </div></div>
  462. </div>
  463. <a id="method_COMPLEX"></a><div class="element clickable method public method_COMPLEX" data-toggle="collapse" data-target=".method_COMPLEX .collapse">
  464. <h2>COMPLEX</h2>
  465. <pre>COMPLEX(float $realNumber, float $imaginary, string $suffix) : string</pre>
  466. <div class="labels"><span class="label">Static</span></div>
  467. <div class="row collapse"><div class="detail-description">
  468. <div class="long_description"><p>Converts real and imaginary coefficients into a complex number of the form x + yi or x + yj.</p>
  469. <p>Excel Function:
  470. COMPLEX(realNumber,imaginary[,places])</p></div>
  471. <table class="table table-bordered">
  472. <tr>
  473. <th>access</th>
  474. <td>public</td>
  475. </tr>
  476. <tr>
  477. <th>category</th>
  478. <td>Engineering Functions</td>
  479. </tr>
  480. </table>
  481. <h3>Parameters</h3>
  482. <div class="subelement argument">
  483. <h4>$realNumber</h4>
  484. <code>float</code><p>The real coefficient of the complex number.</p></div>
  485. <div class="subelement argument">
  486. <h4>$imaginary</h4>
  487. <code>float</code><p>The imaginary coefficient of the complex number.</p></div>
  488. <div class="subelement argument">
  489. <h4>$suffix</h4>
  490. <code>string</code><p>The suffix for the imaginary component of the complex number.
  491. If omitted, the suffix is assumed to be "i".</p>
  492. </div>
  493. <h3>Returns</h3>
  494. <div class="subelement response"><code>string</code></div>
  495. </div></div>
  496. </div>
  497. <a id="method_CONVERTUOM"></a><div class="element clickable method public method_CONVERTUOM" data-toggle="collapse" data-target=".method_CONVERTUOM .collapse">
  498. <h2>CONVERTUOM</h2>
  499. <pre>CONVERTUOM(float $value, string $fromUOM, string $toUOM) : float</pre>
  500. <div class="labels"><span class="label">Static</span></div>
  501. <div class="row collapse"><div class="detail-description">
  502. <div class="long_description"><p>Converts a number from one measurement system to another.
  503. For example, CONVERT can translate a table of distances in miles to a table of distances
  504. in kilometers.</p>
  505. <p>Excel Function:
  506. CONVERT(value,fromUOM,toUOM)</p></div>
  507. <h3>Parameters</h3>
  508. <div class="subelement argument">
  509. <h4>$value</h4>
  510. <code>float</code><p>The value in fromUOM to convert.</p></div>
  511. <div class="subelement argument">
  512. <h4>$fromUOM</h4>
  513. <code>string</code><p>The units for value.</p></div>
  514. <div class="subelement argument">
  515. <h4>$toUOM</h4>
  516. <code>string</code><p>The units for the result.</p></div>
  517. <h3>Returns</h3>
  518. <div class="subelement response"><code>float</code></div>
  519. </div></div>
  520. </div>
  521. <a id="method_DECTOBIN"></a><div class="element clickable method public method_DECTOBIN" data-toggle="collapse" data-target=".method_DECTOBIN .collapse">
  522. <h2>DECTOBIN</h2>
  523. <pre>DECTOBIN(string $x, integer $places) : string</pre>
  524. <div class="labels"><span class="label">Static</span></div>
  525. <div class="row collapse"><div class="detail-description">
  526. <div class="long_description"><p>Return a decimal value as binary.</p>
  527. <p>Excel Function:
  528. DEC2BIN(x[,places])</p></div>
  529. <table class="table table-bordered">
  530. <tr>
  531. <th>access</th>
  532. <td>public</td>
  533. </tr>
  534. <tr>
  535. <th>category</th>
  536. <td>Engineering Functions</td>
  537. </tr>
  538. </table>
  539. <h3>Parameters</h3>
  540. <div class="subelement argument">
  541. <h4>$x</h4>
  542. <code>string</code><p>The decimal integer you want to convert. If number is negative,
  543. valid place values are ignored and DEC2BIN returns a 10-character
  544. (10-bit) binary number in which the most significant bit is the sign
  545. bit. The remaining 9 bits are magnitude bits. Negative numbers are
  546. represented using two's-complement notation.
  547. If number < -512 or if number > 511, DEC2BIN returns the #NUM! error
  548. value.
  549. If number is nonnumeric, DEC2BIN returns the #VALUE! error value.
  550. If DEC2BIN requires more than places characters, it returns the #NUM!
  551. error value.</p>
  552. </div>
  553. <div class="subelement argument">
  554. <h4>$places</h4>
  555. <code>integer</code><p>The number of characters to use. If places is omitted, DEC2BIN uses
  556. the minimum number of characters necessary. Places is useful for
  557. padding the return value with leading 0s (zeros).
  558. If places is not an integer, it is truncated.
  559. If places is nonnumeric, DEC2BIN returns the #VALUE! error value.
  560. If places is zero or negative, DEC2BIN returns the #NUM! error value.</p>
  561. </div>
  562. <h3>Returns</h3>
  563. <div class="subelement response"><code>string</code></div>
  564. </div></div>
  565. </div>
  566. <a id="method_DECTOHEX"></a><div class="element clickable method public method_DECTOHEX" data-toggle="collapse" data-target=".method_DECTOHEX .collapse">
  567. <h2>DECTOHEX</h2>
  568. <pre>DECTOHEX(string $x, integer $places) : string</pre>
  569. <div class="labels"><span class="label">Static</span></div>
  570. <div class="row collapse"><div class="detail-description">
  571. <div class="long_description"><p>Return a decimal value as hex.</p>
  572. <p>Excel Function:
  573. DEC2HEX(x[,places])</p></div>
  574. <table class="table table-bordered">
  575. <tr>
  576. <th>access</th>
  577. <td>public</td>
  578. </tr>
  579. <tr>
  580. <th>category</th>
  581. <td>Engineering Functions</td>
  582. </tr>
  583. </table>
  584. <h3>Parameters</h3>
  585. <div class="subelement argument">
  586. <h4>$x</h4>
  587. <code>string</code><p>The decimal integer you want to convert. If number is negative,
  588. places is ignored and DEC2HEX returns a 10-character (40-bit)
  589. hexadecimal number in which the most significant bit is the sign
  590. bit. The remaining 39 bits are magnitude bits. Negative numbers
  591. are represented using two's-complement notation.
  592. If number < -549,755,813,888 or if number > 549,755,813,887,
  593. DEC2HEX returns the #NUM! error value.
  594. If number is nonnumeric, DEC2HEX returns the #VALUE! error value.
  595. If DEC2HEX requires more than places characters, it returns the
  596. #NUM! error value.</p>
  597. </div>
  598. <div class="subelement argument">
  599. <h4>$places</h4>
  600. <code>integer</code><p>The number of characters to use. If places is omitted, DEC2HEX uses
  601. the minimum number of characters necessary. Places is useful for
  602. padding the return value with leading 0s (zeros).
  603. If places is not an integer, it is truncated.
  604. If places is nonnumeric, DEC2HEX returns the #VALUE! error value.
  605. If places is zero or negative, DEC2HEX returns the #NUM! error value.</p>
  606. </div>
  607. <h3>Returns</h3>
  608. <div class="subelement response"><code>string</code></div>
  609. </div></div>
  610. </div>
  611. <a id="method_DECTOOCT"></a><div class="element clickable method public method_DECTOOCT" data-toggle="collapse" data-target=".method_DECTOOCT .collapse">
  612. <h2>DECTOOCT</h2>
  613. <pre>DECTOOCT(string $x, integer $places) : string</pre>
  614. <div class="labels"><span class="label">Static</span></div>
  615. <div class="row collapse"><div class="detail-description">
  616. <div class="long_description"><p>Return an decimal value as octal.</p>
  617. <p>Excel Function:
  618. DEC2OCT(x[,places])</p></div>
  619. <table class="table table-bordered">
  620. <tr>
  621. <th>access</th>
  622. <td>public</td>
  623. </tr>
  624. <tr>
  625. <th>category</th>
  626. <td>Engineering Functions</td>
  627. </tr>
  628. </table>
  629. <h3>Parameters</h3>
  630. <div class="subelement argument">
  631. <h4>$x</h4>
  632. <code>string</code><p>The decimal integer you want to convert. If number is negative,
  633. places is ignored and DEC2OCT returns a 10-character (30-bit)
  634. octal number in which the most significant bit is the sign bit.
  635. The remaining 29 bits are magnitude bits. Negative numbers are
  636. represented using two's-complement notation.
  637. If number < -536,870,912 or if number > 536,870,911, DEC2OCT
  638. returns the #NUM! error value.
  639. If number is nonnumeric, DEC2OCT returns the #VALUE! error value.
  640. If DEC2OCT requires more than places characters, it returns the
  641. #NUM! error value.</p>
  642. </div>
  643. <div class="subelement argument">
  644. <h4>$places</h4>
  645. <code>integer</code><p>The number of characters to use. If places is omitted, DEC2OCT uses
  646. the minimum number of characters necessary. Places is useful for
  647. padding the return value with leading 0s (zeros).
  648. If places is not an integer, it is truncated.
  649. If places is nonnumeric, DEC2OCT returns the #VALUE! error value.
  650. If places is zero or negative, DEC2OCT returns the #NUM! error value.</p>
  651. </div>
  652. <h3>Returns</h3>
  653. <div class="subelement response"><code>string</code></div>
  654. </div></div>
  655. </div>
  656. <a id="method_DELTA"></a><div class="element clickable method public method_DELTA" data-toggle="collapse" data-target=".method_DELTA .collapse">
  657. <h2>DELTA</h2>
  658. <pre>DELTA(float $a, float $b) : int</pre>
  659. <div class="labels"><span class="label">Static</span></div>
  660. <div class="row collapse"><div class="detail-description">
  661. <div class="long_description"><p>Tests whether two values are equal. Returns 1 if number1 = number2; returns 0 otherwise.
  662. Use this function to filter a set of values. For example, by summing several DELTA
  663. functions you calculate the count of equal pairs. This function is also known as the
  664. Kronecker Delta function.</p>
  665. <p>Excel Function:
  666. DELTA(a[,b])</p></div>
  667. <h3>Parameters</h3>
  668. <div class="subelement argument">
  669. <h4>$a</h4>
  670. <code>float</code><p>The first number.</p></div>
  671. <div class="subelement argument">
  672. <h4>$b</h4>
  673. <code>float</code><p>The second number. If omitted, b is assumed to be zero.</p></div>
  674. <h3>Returns</h3>
  675. <div class="subelement response"><code>int</code></div>
  676. </div></div>
  677. </div>
  678. <a id="method_ERF"></a><div class="element clickable method public method_ERF" data-toggle="collapse" data-target=".method_ERF .collapse">
  679. <h2>ERF</h2>
  680. <pre>ERF(float $lower, float $upper) : float</pre>
  681. <div class="labels"><span class="label">Static</span></div>
  682. <div class="row collapse"><div class="detail-description">
  683. <div class="long_description"><p>Returns the error function integrated between the lower and upper bound arguments.</p>
  684. <p>Note: In Excel 2007 or earlier, if you input a negative value for the upper or lower bound arguments,
  685. the function would return a #NUM! error. However, in Excel 2010, the function algorithm was
  686. improved, so that it can now calculate the function for both positive and negative ranges.
  687. PHPExcel follows Excel 2010 behaviour, and accepts nagative arguments.</p>
  688. <p>Excel Function:
  689. ERF(lower[,upper])</p></div>
  690. <h3>Parameters</h3>
  691. <div class="subelement argument">
  692. <h4>$lower</h4>
  693. <code>float</code><p>lower bound for integrating ERF</p></div>
  694. <div class="subelement argument">
  695. <h4>$upper</h4>
  696. <code>float</code><p>upper bound for integrating ERF.
  697. If omitted, ERF integrates between zero and lower_limit</p></div>
  698. <h3>Returns</h3>
  699. <div class="subelement response"><code>float</code></div>
  700. </div></div>
  701. </div>
  702. <a id="method_ERFC"></a><div class="element clickable method public method_ERFC" data-toggle="collapse" data-target=".method_ERFC .collapse">
  703. <h2>ERFC</h2>
  704. <pre>ERFC(float $x) : float</pre>
  705. <div class="labels"><span class="label">Static</span></div>
  706. <div class="row collapse"><div class="detail-description">
  707. <div class="long_description"><p>Returns the complementary ERF function integrated between x and infinity</p>
  708. <p>Note: In Excel 2007 or earlier, if you input a negative value for the lower bound argument,
  709. the function would return a #NUM! error. However, in Excel 2010, the function algorithm was
  710. improved, so that it can now calculate the function for both positive and negative x values.
  711. PHPExcel follows Excel 2010 behaviour, and accepts nagative arguments.</p>
  712. <p>Excel Function:
  713. ERFC(x)</p></div>
  714. <h3>Parameters</h3>
  715. <div class="subelement argument">
  716. <h4>$x</h4>
  717. <code>float</code><p>The lower bound for integrating ERFC</p></div>
  718. <h3>Returns</h3>
  719. <div class="subelement response"><code>float</code></div>
  720. </div></div>
  721. </div>
  722. <a id="method_GESTEP"></a><div class="element clickable method public method_GESTEP" data-toggle="collapse" data-target=".method_GESTEP .collapse">
  723. <h2>GESTEP</h2>
  724. <pre>GESTEP(float $number, float $step) : int</pre>
  725. <div class="labels"><span class="label">Static</span></div>
  726. <div class="row collapse"><div class="detail-description">
  727. <div class="long_description"><p>Excel Function:
  728. GESTEP(number[,step])</p>
  729. <p>Returns 1 if number >= step; returns 0 (zero) otherwise
  730. Use this function to filter a set of values. For example, by summing several GESTEP
  731. functions you calculate the count of values that exceed a threshold.</p></div>
  732. <h3>Parameters</h3>
  733. <div class="subelement argument">
  734. <h4>$number</h4>
  735. <code>float</code><p>The value to test against step.</p></div>
  736. <div class="subelement argument">
  737. <h4>$step</h4>
  738. <code>float</code><p>The threshold value.
  739. If you omit a value for step, GESTEP uses zero.</p></div>
  740. <h3>Returns</h3>
  741. <div class="subelement response"><code>int</code></div>
  742. </div></div>
  743. </div>
  744. <a id="method_HEXTOBIN"></a><div class="element clickable method public method_HEXTOBIN" data-toggle="collapse" data-target=".method_HEXTOBIN .collapse">
  745. <h2>HEXTOBIN</h2>
  746. <pre>HEXTOBIN(string $x, integer $places) : string</pre>
  747. <div class="labels"><span class="label">Static</span></div>
  748. <div class="row collapse"><div class="detail-description">
  749. <div class="long_description"><p>Return a hex value as binary.</p>
  750. <p>Excel Function:
  751. HEX2BIN(x[,places])</p></div>
  752. <table class="table table-bordered">
  753. <tr>
  754. <th>access</th>
  755. <td>public</td>
  756. </tr>
  757. <tr>
  758. <th>category</th>
  759. <td>Engineering Functions</td>
  760. </tr>
  761. </table>
  762. <h3>Parameters</h3>
  763. <div class="subelement argument">
  764. <h4>$x</h4>
  765. <code>string</code><p>the hexadecimal number you want to convert. Number cannot
  766. contain more than 10 characters. The most significant bit of
  767. number is the sign bit (40th bit from the right). The remaining
  768. 9 bits are magnitude bits. Negative numbers are represented
  769. using two's-complement notation.
  770. If number is negative, HEX2BIN ignores places and returns a
  771. 10-character binary number.
  772. If number is negative, it cannot be less than FFFFFFFE00, and
  773. if number is positive, it cannot be greater than 1FF.
  774. If number is not a valid hexadecimal number, HEX2BIN returns
  775. the #NUM! error value.
  776. If HEX2BIN requires more than places characters, it returns
  777. the #NUM! error value.</p>
  778. </div>
  779. <div class="subelement argument">
  780. <h4>$places</h4>
  781. <code>integer</code><p>The number of characters to use. If places is omitted,
  782. HEX2BIN uses the minimum number of characters necessary. Places
  783. is useful for padding the return value with leading 0s (zeros).
  784. If places is not an integer, it is truncated.
  785. If places is nonnumeric, HEX2BIN returns the #VALUE! error value.
  786. If places is negative, HEX2BIN returns the #NUM! error value.</p>
  787. </div>
  788. <h3>Returns</h3>
  789. <div class="subelement response"><code>string</code></div>
  790. </div></div>
  791. </div>
  792. <a id="method_HEXTODEC"></a><div class="element clickable method public method_HEXTODEC" data-toggle="collapse" data-target=".method_HEXTODEC .collapse">
  793. <h2>HEXTODEC</h2>
  794. <pre>HEXTODEC(string $x) : string</pre>
  795. <div class="labels"><span class="label">Static</span></div>
  796. <div class="row collapse"><div class="detail-description">
  797. <div class="long_description"><p>Return a hex value as decimal.</p>
  798. <p>Excel Function:
  799. HEX2DEC(x)</p></div>
  800. <table class="table table-bordered">
  801. <tr>
  802. <th>access</th>
  803. <td>public</td>
  804. </tr>
  805. <tr>
  806. <th>category</th>
  807. <td>Engineering Functions</td>
  808. </tr>
  809. </table>
  810. <h3>Parameters</h3>
  811. <div class="subelement argument">
  812. <h4>$x</h4>
  813. <code>string</code><p>The hexadecimal number you want to convert. This number cannot
  814. contain more than 10 characters (40 bits). The most significant
  815. bit of number is the sign bit. The remaining 39 bits are magnitude
  816. bits. Negative numbers are represented using two's-complement
  817. notation.
  818. If number is not a valid hexadecimal number, HEX2DEC returns the
  819. #NUM! error value.</p>
  820. </div>
  821. <h3>Returns</h3>
  822. <div class="subelement response"><code>string</code></div>
  823. </div></div>
  824. </div>
  825. <a id="method_HEXTOOCT"></a><div class="element clickable method public method_HEXTOOCT" data-toggle="collapse" data-target=".method_HEXTOOCT .collapse">
  826. <h2>HEXTOOCT</h2>
  827. <pre>HEXTOOCT(string $x, integer $places) : string</pre>
  828. <div class="labels"><span class="label">Static</span></div>
  829. <div class="row collapse"><div class="detail-description">
  830. <div class="long_description"><p>Return a hex value as octal.</p>
  831. <p>Excel Function:
  832. HEX2OCT(x[,places])</p></div>
  833. <table class="table table-bordered">
  834. <tr>
  835. <th>access</th>
  836. <td>public</td>
  837. </tr>
  838. <tr>
  839. <th>category</th>
  840. <td>Engineering Functions</td>
  841. </tr>
  842. </table>
  843. <h3>Parameters</h3>
  844. <div class="subelement argument">
  845. <h4>$x</h4>
  846. <code>string</code><p>The hexadecimal number you want to convert. Number cannot
  847. contain more than 10 characters. The most significant bit of
  848. number is the sign bit. The remaining 39 bits are magnitude
  849. bits. Negative numbers are represented using two's-complement
  850. notation.
  851. If number is negative, HEX2OCT ignores places and returns a
  852. 10-character octal number.
  853. If number is negative, it cannot be less than FFE0000000, and
  854. if number is positive, it cannot be greater than 1FFFFFFF.
  855. If number is not a valid hexadecimal number, HEX2OCT returns
  856. the #NUM! error value.
  857. If HEX2OCT requires more than places characters, it returns
  858. the #NUM! error value.</p>
  859. </div>
  860. <div class="subelement argument">
  861. <h4>$places</h4>
  862. <code>integer</code><p>The number of characters to use. If places is omitted, HEX2OCT
  863. uses the minimum number of characters necessary. Places is
  864. useful for padding the return value with leading 0s (zeros).
  865. If places is not an integer, it is truncated.
  866. If places is nonnumeric, HEX2OCT returns the #VALUE! error
  867. value.
  868. If places is negative, HEX2OCT returns the #NUM! error value.</p>
  869. </div>
  870. <h3>Returns</h3>
  871. <div class="subelement response"><code>string</code></div>
  872. </div></div>
  873. </div>
  874. <a id="method_IMABS"></a><div class="element clickable method public method_IMABS" data-toggle="collapse" data-target=".method_IMABS .collapse">
  875. <h2>IMABS</h2>
  876. <pre>IMABS(string $complexNumber) : float</pre>
  877. <div class="labels"><span class="label">Static</span></div>
  878. <div class="row collapse"><div class="detail-description">
  879. <div class="long_description"><p>Returns the absolute value (modulus) of a complex number in x + yi or x + yj text format.</p>
  880. <p>Excel Function:
  881. IMABS(complexNumber)</p></div>
  882. <h3>Parameters</h3>
  883. <div class="subelement argument">
  884. <h4>$complexNumber</h4>
  885. <code>string</code><p>The complex number for which you want the absolute value.</p></div>
  886. <h3>Returns</h3>
  887. <div class="subelement response"><code>float</code></div>
  888. </div></div>
  889. </div>
  890. <a id="method_IMAGINARY"></a><div class="element clickable method public method_IMAGINARY" data-toggle="collapse" data-target=".method_IMAGINARY .collapse">
  891. <h2>IMAGINARY</h2>
  892. <pre>IMAGINARY(string $complexNumber) : float</pre>
  893. <div class="labels"><span class="label">Static</span></div>
  894. <div class="row collapse"><div class="detail-description">
  895. <div class="long_description"><p>Returns the imaginary coefficient of a complex number in x + yi or x + yj text format.</p>
  896. <p>Excel Function:
  897. IMAGINARY(complexNumber)</p></div>
  898. <table class="table table-bordered">
  899. <tr>
  900. <th>access</th>
  901. <td>public</td>
  902. </tr>
  903. <tr>
  904. <th>category</th>
  905. <td>Engineering Functions</td>
  906. </tr>
  907. </table>
  908. <h3>Parameters</h3>
  909. <div class="subelement argument">
  910. <h4>$complexNumber</h4>
  911. <code>string</code><p>The complex number for which you want the imaginary
  912. coefficient.</p></div>
  913. <h3>Returns</h3>
  914. <div class="subelement response"><code>float</code></div>
  915. </div></div>
  916. </div>
  917. <a id="method_IMARGUMENT"></a><div class="element clickable method public method_IMARGUMENT" data-toggle="collapse" data-target=".method_IMARGUMENT .collapse">
  918. <h2>IMARGUMENT</h2>
  919. <pre>IMARGUMENT(string $complexNumber) : float</pre>
  920. <div class="labels"><span class="label">Static</span></div>
  921. <div class="row collapse"><div class="detail-description">
  922. <div class="long_description"><p>Returns the argument theta of a complex number, i.e. the angle in radians from the real
  923. axis to the representation of the number in polar coordinates.</p>
  924. <p>Excel Function:
  925. IMARGUMENT(complexNumber)</p></div>
  926. <h3>Parameters</h3>
  927. <div class="subelement argument">
  928. <h4>$complexNumber</h4>
  929. <code>string</code><p>The complex number for which you want the argument theta.</p></div>
  930. <h3>Returns</h3>
  931. <div class="subelement response"><code>float</code></div>
  932. </div></div>
  933. </div>
  934. <a id="method_IMCONJUGATE"></a><div class="element clickable method public method_IMCONJUGATE" data-toggle="collapse" data-target=".method_IMCONJUGATE .collapse">
  935. <h2>IMCONJUGATE</h2>
  936. <pre>IMCONJUGATE(string $complexNumber) : string</pre>
  937. <div class="labels"><span class="label">Static</span></div>
  938. <div class="row collapse"><div class="detail-description">
  939. <div class="long_description"><p>Returns the complex conjugate of a complex number in x + yi or x + yj text format.</p>
  940. <p>Excel Function:
  941. IMCONJUGATE(complexNumber)</p></div>
  942. <h3>Parameters</h3>
  943. <div class="subelement argument">
  944. <h4>$complexNumber</h4>
  945. <code>string</code><p>The complex number for which you want the conjugate.</p></div>
  946. <h3>Returns</h3>
  947. <div class="subelement response"><code>string</code></div>
  948. </div></div>
  949. </div>
  950. <a id="method_IMCOS"></a><div class="element clickable method public method_IMCOS" data-toggle="collapse" data-target=".method_IMCOS .collapse">
  951. <h2>IMCOS</h2>
  952. <pre>IMCOS(string $complexNumber) : string | float</pre>
  953. <div class="labels"><span class="label">Static</span></div>
  954. <div class="row collapse"><div class="detail-description">
  955. <div class="long_description"><p>Returns the cosine of a complex number in x + yi or x + yj text format.</p>
  956. <p>Excel Function:
  957. IMCOS(complexNumber)</p></div>
  958. <h3>Parameters</h3>
  959. <div class="subelement argument">
  960. <h4>$complexNumber</h4>
  961. <code>string</code><p>The complex number for which you want the cosine.</p></div>
  962. <h3>Returns</h3>
  963. <div class="subelement response">
  964. <code>string</code><code>float</code>
  965. </div>
  966. </div></div>
  967. </div>
  968. <a id="method_IMDIV"></a><div class="element clickable method public method_IMDIV" data-toggle="collapse" data-target=".method_IMDIV .collapse">
  969. <h2>IMDIV</h2>
  970. <pre>IMDIV(string $complexDividend, string $complexDivisor) : string</pre>
  971. <div class="labels"><span class="label">Static</span></div>
  972. <div class="row collapse"><div class="detail-description">
  973. <div class="long_description"><p>Returns the quotient of two complex numbers in x + yi or x + yj text format.</p>
  974. <p>Excel Function:
  975. IMDIV(complexDividend,complexDivisor)</p></div>
  976. <h3>Parameters</h3>
  977. <div class="subelement argument">
  978. <h4>$complexDividend</h4>
  979. <code>string</code><p>The complex numerator or dividend.</p></div>
  980. <div class="subelement argument">
  981. <h4>$complexDivisor</h4>
  982. <code>string</code><p>The complex denominator or divisor.</p></div>
  983. <h3>Returns</h3>
  984. <div class="subelement response"><code>string</code></div>
  985. </div></div>
  986. </div>
  987. <a id="method_IMEXP"></a><div class="element clickable method public method_IMEXP" data-toggle="collapse" data-target=".method_IMEXP .collapse">
  988. <h2>IMEXP</h2>
  989. <pre>IMEXP(string $complexNumber) : string</pre>
  990. <div class="labels"><span class="label">Static</span></div>
  991. <div class="row collapse"><div class="detail-description">
  992. <div class="long_description"><p>Returns the exponential of a complex number in x + yi or x + yj text format.</p>
  993. <p>Excel Function:
  994. IMEXP(complexNumber)</p></div>
  995. <h3>Parameters</h3>
  996. <div class="subelement argument">
  997. <h4>$complexNumber</h4>
  998. <code>string</code><p>The complex number for which you want the exponential.</p></div>
  999. <h3>Returns</h3>
  1000. <div class="subelement response"><code>string</code></div>
  1001. </div></div>
  1002. </div>
  1003. <a id="method_IMLN"></a><div class="element clickable method public method_IMLN" data-toggle="collapse" data-target=".method_IMLN .collapse">
  1004. <h2>IMLN</h2>
  1005. <pre>IMLN(string $complexNumber) : string</pre>
  1006. <div class="labels"><span class="label">Static</span></div>
  1007. <div class="row collapse"><div class="detail-description">
  1008. <div class="long_description"><p>Returns the natural logarithm of a complex number in x + yi or x + yj text format.</p>
  1009. <p>Excel Function:
  1010. IMLN(complexNumber)</p></div>
  1011. <h3>Parameters</h3>
  1012. <div class="subelement argument">
  1013. <h4>$complexNumber</h4>
  1014. <code>string</code><p>The complex number for which you want the natural logarithm.</p></div>
  1015. <h3>Returns</h3>
  1016. <div class="subelement response"><code>string</code></div>
  1017. </div></div>
  1018. </div>
  1019. <a id="method_IMLOG10"></a><div class="element clickable method public method_IMLOG10" data-toggle="collapse" data-target=".method_IMLOG10 .collapse">
  1020. <h2>IMLOG10</h2>
  1021. <pre>IMLOG10(string $complexNumber) : string</pre>
  1022. <div class="labels"><span class="label">Static</span></div>
  1023. <div class="row collapse"><div class="detail-description">
  1024. <div class="long_description"><p>Returns the common logarithm (base 10) of a complex number in x + yi or x + yj text format.</p>
  1025. <p>Excel Function:
  1026. IMLOG10(complexNumber)</p></div>
  1027. <h3>Parameters</h3>
  1028. <div class="subelement argument">
  1029. <h4>$complexNumber</h4>
  1030. <code>string</code><p>The complex number for which you want the common logarithm.</p></div>
  1031. <h3>Returns</h3>
  1032. <div class="subelement response"><code>string</code></div>
  1033. </div></div>
  1034. </div>
  1035. <a id="method_IMLOG2"></a><div class="element clickable method public method_IMLOG2" data-toggle="collapse" data-target=".method_IMLOG2 .collapse">
  1036. <h2>IMLOG2</h2>
  1037. <pre>IMLOG2(string $complexNumber) : string</pre>
  1038. <div class="labels"><span class="label">Static</span></div>
  1039. <div class="row collapse"><div class="detail-description">
  1040. <div class="long_description"><p>Returns the base-2 logarithm of a complex number in x + yi or x + yj text format.</p>
  1041. <p>Excel Function:
  1042. IMLOG2(complexNumber)</p></div>
  1043. <h3>Parameters</h3>
  1044. <div class="subelement argument">
  1045. <h4>$complexNumber</h4>
  1046. <code>string</code><p>The complex number for which you want the base-2 logarithm.</p>
  1047. </div>
  1048. <h3>Returns</h3>
  1049. <div class="subelement response"><code>string</code></div>
  1050. </div></div>
  1051. </div>
  1052. <a id="method_IMPOWER"></a><div class="element clickable method public method_IMPOWER" data-toggle="collapse" data-target=".method_IMPOWER .collapse">
  1053. <h2>IMPOWER</h2>
  1054. <pre>IMPOWER(string $complexNumber, float $realNumber) : string</pre>
  1055. <div class="labels"><span class="label">Static</span></div>
  1056. <div class="row collapse"><div class="detail-description">
  1057. <div class="long_description"><p>Returns a complex number in x + yi or x + yj text format raised to a power.</p>
  1058. <p>Excel Function:
  1059. IMPOWER(complexNumber,realNumber)</p></div>
  1060. <h3>Parameters</h3>
  1061. <div class="subelement argument">
  1062. <h4>$complexNumber</h4>
  1063. <code>string</code><p>The complex number you want to raise to a power.</p></div>
  1064. <div class="subelement argument">
  1065. <h4>$realNumber</h4>
  1066. <code>float</code><p>The power to which you want to raise the complex number.</p></div>
  1067. <h3>Returns</h3>
  1068. <div class="subelement response"><code>string</code></div>
  1069. </div></div>
  1070. </div>
  1071. <a id="method_IMPRODUCT"></a><div class="element clickable method public method_IMPRODUCT" data-toggle="collapse" data-target=".method_IMPRODUCT .collapse">
  1072. <h2>IMPRODUCT</h2>
  1073. <pre>IMPRODUCT() : string</pre>
  1074. <div class="labels"><span class="label">Static</span></div>
  1075. <div class="row collapse"><div class="detail-description">
  1076. <div class="long_description"><p>Returns the product of two or more complex numbers in x + yi or x + yj text format.</p>
  1077. <p>Excel Function:
  1078. IMPRODUCT(complexNumber[,complexNumber[,...]])</p></div>
  1079. <h3>Returns</h3>
  1080. <div class="subelement response"><code>string</code></div>
  1081. </div></div>
  1082. </div>
  1083. <a id="method_IMREAL"></a><div class="element clickable method public method_IMREAL" data-toggle="collapse" data-target=".method_IMREAL .collapse">
  1084. <h2>IMREAL</h2>
  1085. <pre>IMREAL(string $complexNumber) : float</pre>
  1086. <div class="labels"><span class="label">Static</span></div>
  1087. <div class="row collapse"><div class="detail-description">
  1088. <div class="long_description"><p>Returns the real coefficient of a complex number in x + yi or x + yj text format.</p>
  1089. <p>Excel Function:
  1090. IMREAL(complexNumber)</p></div>
  1091. <table class="table table-bordered">
  1092. <tr>
  1093. <th>access</th>
  1094. <td>public</td>
  1095. </tr>
  1096. <tr>
  1097. <th>category</th>
  1098. <td>Engineering Functions</td>
  1099. </tr>
  1100. </table>
  1101. <h3>Parameters</h3>
  1102. <div class="subelement argument">
  1103. <h4>$complexNumber</h4>
  1104. <code>string</code><p>The complex number for which you want the real coefficient.</p></div>
  1105. <h3>Returns</h3>
  1106. <div class="subelement response"><code>float</code></div>
  1107. </div></div>
  1108. </div>
  1109. <a id="method_IMSIN"></a><div class="element clickable method public method_IMSIN" data-toggle="collapse" data-target=".method_IMSIN .collapse">
  1110. <h2>IMSIN</h2>
  1111. <pre>IMSIN(string $complexNumber) : string | float</pre>
  1112. <div class="labels"><span class="label">Static</span></div>
  1113. <div class="row collapse"><div class="detail-description">
  1114. <div class="long_description"><p>Returns the sine of a complex number in x + yi or x + yj text format.</p>
  1115. <p>Excel Function:
  1116. IMSIN(complexNumber)</p></div>
  1117. <h3>Parameters</h3>
  1118. <div class="subelement argument">
  1119. <h4>$complexNumber</h4>
  1120. <code>string</code><p>The complex number for which you want the sine.</p></div>
  1121. <h3>Returns</h3>
  1122. <div class="subelement response">
  1123. <code>string</code><code>float</code>
  1124. </div>
  1125. </div></div>
  1126. </div>
  1127. <a id="method_IMSQRT"></a><div class="element clickable method public method_IMSQRT" data-toggle="collapse" data-target=".method_IMSQRT .collapse">
  1128. <h2>IMSQRT</h2>
  1129. <pre>IMSQRT(string $complexNumber) : string</pre>
  1130. <div class="labels"><span class="label">Static</span></div>
  1131. <div class="row collapse"><div class="detail-description">
  1132. <div class="long_description"><p>Returns the square root of a complex number in x + yi or x + yj text format.</p>
  1133. <p>Excel Function:
  1134. IMSQRT(complexNumber)</p></div>
  1135. <h3>Parameters</h3>
  1136. <div class="subelement argument">
  1137. <h4>$complexNumber</h4>
  1138. <code>string</code><p>The complex number for which you want the square root.</p></div>
  1139. <h3>Returns</h3>
  1140. <div class="subelement response"><code>string</code></div>
  1141. </div></div>
  1142. </div>
  1143. <a id="method_IMSUB"></a><div class="element clickable method public method_IMSUB" data-toggle="collapse" data-target=".method_IMSUB .collapse">
  1144. <h2>IMSUB</h2>
  1145. <pre>IMSUB(string $complexNumber1, string $complexNumber2) : string</pre>
  1146. <div class="labels"><span class="label">Static</span></div>
  1147. <div class="row collapse"><div class="detail-description">
  1148. <div class="long_description"><p>Returns the difference of two complex numbers in x + yi or x + yj text format.</p>
  1149. <p>Excel Function:
  1150. IMSUB(complexNumber1,complexNumber2)</p></div>
  1151. <h3>Parameters</h3>
  1152. <div class="subelement argument">
  1153. <h4>$complexNumber1</h4>
  1154. <code>string</code><p>The complex number from which to subtract complexNumber2.</p></div>
  1155. <div class="subelement argument">
  1156. <h4>$complexNumber2</h4>
  1157. <code>string</code><p>The complex number to subtract from complexNumber1.</p></div>
  1158. <h3>Returns</h3>
  1159. <div class="subelement response"><code>string</code></div>
  1160. </div></div>
  1161. </div>
  1162. <a id="method_IMSUM"></a><div class="element clickable method public method_IMSUM" data-toggle="collapse" data-target=".method_IMSUM .collapse">
  1163. <h2>IMSUM</h2>
  1164. <pre>IMSUM() : string</pre>
  1165. <div class="labels"><span class="label">Static</span></div>
  1166. <div class="row collapse"><div class="detail-description">
  1167. <div class="long_description"><p>Returns the sum of two or more complex numbers in x + yi or x + yj text format.</p>
  1168. <p>Excel Function:
  1169. IMSUM(complexNumber[,complexNumber[,...]])</p></div>
  1170. <h3>Returns</h3>
  1171. <div class="subelement response"><code>string</code></div>
  1172. </div></div>
  1173. </div>
  1174. <a id="method_OCTTOBIN"></a><div class="element clickable method public method_OCTTOBIN" data-toggle="collapse" data-target=".method_OCTTOBIN .collapse">
  1175. <h2>OCTTOBIN</h2>
  1176. <pre>OCTTOBIN(string $x, integer $places) : string</pre>
  1177. <div class="labels"><span class="label">Static</span></div>
  1178. <div class="row collapse"><div class="detail-description">
  1179. <div class="long_description"><p>Return an octal value as binary.</p>
  1180. <p>Excel Function:
  1181. OCT2BIN(x[,places])</p></div>
  1182. <table class="table table-bordered">
  1183. <tr>
  1184. <th>access</th>
  1185. <td>public</td>
  1186. </tr>
  1187. <tr>
  1188. <th>category</th>
  1189. <td>Engineering Functions</td>
  1190. </tr>
  1191. </table>
  1192. <h3>Parameters</h3>
  1193. <div class="subelement argument">
  1194. <h4>$x</h4>
  1195. <code>string</code><p>The octal number you want to convert. Number may not
  1196. contain more than 10 characters. The most significant
  1197. bit of number is the sign bit. The remaining 29 bits
  1198. are magnitude bits. Negative numbers are represented
  1199. using two's-complement notation.
  1200. If number is negative, OCT2BIN ignores places and returns
  1201. a 10-character binary number.
  1202. If number is negative, it cannot be less than 7777777000,
  1203. and if number is positive, it cannot be greater than 777.
  1204. If number is not a valid octal number, OCT2BIN returns
  1205. the #NUM! error value.
  1206. If OCT2BIN requires more than places characters, it
  1207. returns the #NUM! error value.</p>
  1208. </div>
  1209. <div class="subelement argument">
  1210. <h4>$places</h4>
  1211. <code>integer</code><p>The number of characters to use. If places is omitted,
  1212. OCT2BIN uses the minimum number of characters necessary.
  1213. Places is useful for padding the return value with
  1214. leading 0s (zeros).
  1215. If places is not an integer, it is truncated.
  1216. If places is nonnumeric, OCT2BIN returns the #VALUE!
  1217. error value.
  1218. If places is negative, OCT2BIN returns the #NUM! error
  1219. value.</p>
  1220. </div>
  1221. <h3>Returns</h3>
  1222. <div class="subelement response"><code>string</code></div>
  1223. </div></div>
  1224. </div>
  1225. <a id="method_OCTTODEC"></a><div class="element clickable method public method_OCTTODEC" data-toggle="collapse" data-target=".method_OCTTODEC .collapse">
  1226. <h2>OCTTODEC</h2>
  1227. <pre>OCTTODEC(string $x) : string</pre>
  1228. <div class="labels"><span class="label">Static</span></div>
  1229. <div class="row collapse"><div class="detail-description">
  1230. <div class="long_description"><p>Return an octal value as decimal.</p>
  1231. <p>Excel Function:
  1232. OCT2DEC(x)</p></div>
  1233. <table class="table table-bordered">
  1234. <tr>
  1235. <th>access</th>
  1236. <td>public</td>
  1237. </tr>
  1238. <tr>
  1239. <th>category</th>
  1240. <td>Engineering Functions</td>
  1241. </tr>
  1242. </table>
  1243. <h3>Parameters</h3>
  1244. <div class="subelement argument">
  1245. <h4>$x</h4>
  1246. <code>string</code><p>The octal number you want to convert. Number may not contain
  1247. more than 10 octal characters (30 bits). The most significant
  1248. bit of number is the sign bit. The remaining 29 bits are
  1249. magnitude bits. Negative numbers are represented using
  1250. two's-complement notation.
  1251. If number is not a valid octal number, OCT2DEC returns the
  1252. #NUM! error value.</p>
  1253. </div>
  1254. <h3>Returns</h3>
  1255. <div class="subelement response"><code>string</code></div>
  1256. </div></div>
  1257. </div>
  1258. <a id="method_OCTTOHEX"></a><div class="element clickable method public method_OCTTOHEX" data-toggle="collapse" data-target=".method_OCTTOHEX .collapse">
  1259. <h2>OCTTOHEX</h2>
  1260. <pre>OCTTOHEX(string $x, integer $places) : string</pre>
  1261. <div class="labels"><span class="label">Static</span></div>
  1262. <div class="row collapse"><div class="detail-description">
  1263. <div class="long_description"><p>Return an octal value as hex.</p>
  1264. <p>Excel Function:
  1265. OCT2HEX(x[,places])</p></div>
  1266. <table class="table table-bordered">
  1267. <tr>
  1268. <th>access</th>
  1269. <td>public</td>
  1270. </tr>
  1271. <tr>
  1272. <th>category</th>
  1273. <td>Engineering Functions</td>
  1274. </tr>
  1275. </table>
  1276. <h3>Parameters</h3>
  1277. <div class="subelement argument">
  1278. <h4>$x</h4>
  1279. <code>string</code><p>The octal number you want to convert. Number may not contain
  1280. more than 10 octal characters (30 bits). The most significant
  1281. bit of number is the sign bit. The remaining 29 bits are
  1282. magnitude bits. Negative numbers are represented using
  1283. two's-complement notation.
  1284. If number is negative, OCT2HEX ignores places and returns a
  1285. 10-character hexadecimal number.
  1286. If number is not a valid octal number, OCT2HEX returns the
  1287. #NUM! error value.
  1288. If OCT2HEX requires more than places characters, it returns
  1289. the #NUM! error value.</p>
  1290. </div>
  1291. <div class="subelement argument">
  1292. <h4>$places</h4>
  1293. <code>integer</code><p>The number of characters to use. If places is omitted, OCT2HEX
  1294. uses the minimum number of characters necessary. Places is useful
  1295. for padding the return value with leading 0s (zeros).
  1296. If places is not an integer, it is truncated.
  1297. If places is nonnumeric, OCT2HEX returns the #VALUE! error value.
  1298. If places is negative, OCT2HEX returns the #NUM! error value.</p>
  1299. </div>
  1300. <h3>Returns</h3>
  1301. <div class="subelement response"><code>string</code></div>
  1302. </div></div>
  1303. </div>
  1304. <a id="method__erfVal"></a><div class="element clickable method public method__erfVal" data-toggle="collapse" data-target=".method__erfVal .collapse">
  1305. <h2>_erfVal()
  1306. </h2>
  1307. <pre>_erfVal($x) </pre>
  1308. <div class="labels"><span class="label">Static</span></div>
  1309. <div class="row collapse"><div class="detail-description">
  1310. <div class="long_description"></div>
  1311. <h3>Parameters</h3>
  1312. <div class="subelement argument"><h4>$x</h4></div>
  1313. </div></div>
  1314. </div>
  1315. <a id="method__parseComplex"></a><div class="element clickable method public method__parseComplex" data-toggle="collapse" data-target=".method__parseComplex .collapse">
  1316. <h2>_parseComplex</h2>
  1317. <pre>_parseComplex(string $complexNumber) : string[]</pre>
  1318. <div class="labels"><span class="label">Static</span></div>
  1319. <div class="row collapse"><div class="detail-description">
  1320. <div class="long_description"><p>Parses a complex number into its real and imaginary parts, and an I or J suffix</p></div>
  1321. <h3>Parameters</h3>
  1322. <div class="subelement argument">
  1323. <h4>$complexNumber</h4>
  1324. <code>string</code><p>The complex number</p></div>
  1325. <h3>Returns</h3>
  1326. <div class="subelement response">
  1327. <code>string[]</code>Indexed on "real", "imaginary" and "suffix"</div>
  1328. </div></div>
  1329. </div>
  1330. <a id="method_getConversionGroupUnitDetails"></a><div class="element clickable method public method_getConversionGroupUnitDetails" data-toggle="collapse" data-target=".method_getConversionGroupUnitDetails .collapse">
  1331. <h2>getConversionGroupUnitDetails</h2>
  1332. <pre>getConversionGroupUnitDetails(string $group) : array</pre>
  1333. <div class="labels"><span class="label">Static</span></div>
  1334. <div class="row collapse"><div class="detail-description">
  1335. <div class="long_description"></div>
  1336. <h3>Parameters</h3>
  1337. <div class="subelement argument">
  1338. <h4>$group</h4>
  1339. <code>string</code><p>The group whose units of measure you want to retrieve</p></div>
  1340. <h3>Returns</h3>
  1341. <div class="subelement response"><code>array</code></div>
  1342. </div></div>
  1343. </div>
  1344. <a id="method_getConversionGroupUnits"></a><div class="element clickable method public method_getConversionGroupUnits" data-toggle="collapse" data-target=".method_getConversionGroupUnits .collapse">
  1345. <h2>getConversionGroupUnits
  1346. Returns an array of units of measure, for a specified conversion group, or for all groups</h2>
  1347. <pre>getConversionGroupUnits(string $group) : array</pre>
  1348. <div class="labels"><span class="label">Static</span></div>
  1349. <div class="row collapse"><div class="detail-description">
  1350. <div class="long_description"></div>
  1351. <h3>Parameters</h3>
  1352. <div class="subelement argument">
  1353. <h4>$group</h4>
  1354. <code>string</code><p>The group whose units of measure you want to retrieve</p></div>
  1355. <h3>Returns</h3>
  1356. <div class="subelement response"><code>array</code></div>
  1357. </div></div>
  1358. </div>
  1359. <a id="method_getConversionGroups"></a><div class="element clickable method public method_getConversionGroups" data-toggle="collapse" data-target=".method_getConversionGroups .collapse">
  1360. <h2>getConversionGroups
  1361. Returns a list of the different conversion groups for UOM conversions</h2>
  1362. <pre>getConversionGroups() : array</pre>
  1363. <div class="labels"><span class="label">Static</span></div>
  1364. <div class="row collapse"><div class="detail-description">
  1365. <div class="long_description"></div>
  1366. <h3>Returns</h3>
  1367. <div class="subelement response"><code>array</code></div>
  1368. </div></div>
  1369. </div>
  1370. <a id="method_getConversionMultipliers"></a><div class="element clickable method public method_getConversionMultipliers" data-toggle="collapse" data-target=".method_getConversionMultipliers .collapse">
  1371. <h2>getConversionMultipliers
  1372. Returns an array of the Multiplier prefixes that can be used with Units of Measure in CONVERTUOM()</h2>
  1373. <pre>getConversionMultipliers() : array</pre>
  1374. <div class="labels"><span class="label">Static</span></div>
  1375. <div class="row collapse"><div class="detail-description">
  1376. <div class="long_description"></div>
  1377. <h3>Returns</h3>
  1378. <div class="subelement response">
  1379. <code>array</code>of mixed</div>
  1380. </div></div>
  1381. </div>
  1382. <a id="method__Besselk0"></a><div class="element clickable method private method__Besselk0" data-toggle="collapse" data-target=".method__Besselk0 .collapse">
  1383. <h2>_Besselk0()
  1384. </h2>
  1385. <pre>_Besselk0($fNum) </pre>
  1386. <div class="labels"><span class="label">Static</span></div>
  1387. <div class="row collapse"><div class="detail-description">
  1388. <div class="long_description"></div>
  1389. <h3>Parameters</h3>
  1390. <div class="subelement argument"><h4>$fNum</h4></div>
  1391. </div></div>
  1392. </div>
  1393. <a id="method__Besselk1"></a><div class="element clickable method private method__Besselk1" data-toggle="collapse" data-target=".method__Besselk1 .collapse">
  1394. <h2>_Besselk1()
  1395. </h2>
  1396. <pre>_Besselk1($fNum) </pre>
  1397. <div class="labels"><span class="label">Static</span></div>
  1398. <div class="row collapse"><div class="detail-description">
  1399. <div class="long_description"></div>
  1400. <h3>Parameters</h3>
  1401. <div class="subelement argument"><h4>$fNum</h4></div>
  1402. </div></div>
  1403. </div>
  1404. <a id="method__Bessely0"></a><div class="element clickable method private method__Bessely0" data-toggle="collapse" data-target=".method__Bessely0 .collapse">
  1405. <h2>_Bessely0()
  1406. </h2>
  1407. <pre>_Bessely0($fNum) </pre>
  1408. <div class="labels"><span class="label">Static</span></div>
  1409. <div class="row collapse"><div class="detail-description">
  1410. <div class="long_description"></div>
  1411. <h3>Parameters</h3>
  1412. <div class="subelement argument"><h4>$fNum</h4></div>
  1413. </div></div>
  1414. </div>
  1415. <a id="method__Bessely1"></a><div class="element clickable method private method__Bessely1" data-toggle="collapse" data-target=".method__Bessely1 .collapse">
  1416. <h2>_Bessely1()
  1417. </h2>
  1418. <pre>_Bessely1($fNum) </pre>
  1419. <div class="labels"><span class="label">Static</span></div>
  1420. <div class="row collapse"><div class="detail-description">
  1421. <div class="long_description"></div>
  1422. <h3>Parameters</h3>
  1423. <div class="subelement argument"><h4>$fNum</h4></div>
  1424. </div></div>
  1425. </div>
  1426. <a id="method__cleanComplex"></a><div class="element clickable method private method__cleanComplex" data-toggle="collapse" data-target=".method__cleanComplex .collapse">
  1427. <h2>Cleans the leading characters in a complex number string</h2>
  1428. <pre>_cleanComplex(string $complexNumber) : string</pre>
  1429. <div class="labels"><span class="label">Static</span></div>
  1430. <div class="row collapse"><div class="detail-description">
  1431. <div class="long_description"></div>
  1432. <h3>Parameters</h3>
  1433. <div class="subelement argument">
  1434. <h4>$complexNumber</h4>
  1435. <code>string</code><p>The complex number to clean</p></div>
  1436. <h3>Returns</h3>
  1437. <div class="subelement response">
  1438. <code>string</code>The "cleaned" complex number</div>
  1439. </div></div>
  1440. </div>
  1441. <a id="method__erfcVal"></a><div class="element clickable method private method__erfcVal" data-toggle="collapse" data-target=".method__erfcVal .collapse">
  1442. <h2>_erfcVal()
  1443. </h2>
  1444. <pre>_erfcVal($x) </pre>
  1445. <div class="labels"><span class="label">Static</span></div>
  1446. <div class="row collapse"><div class="detail-description">
  1447. <div class="long_description"></div>
  1448. <h3>Parameters</h3>
  1449. <div class="subelement argument"><h4>$x</h4></div>
  1450. </div></div>
  1451. </div>
  1452. <a id="method__nbrConversionFormat"></a><div class="element clickable method private method__nbrConversionFormat" data-toggle="collapse" data-target=".method__nbrConversionFormat .collapse">
  1453. <h2>Formats a number base string value with leading zeroes</h2>
  1454. <pre>_nbrConversionFormat(string $xVal, integer $places) : string</pre>
  1455. <div class="labels"><span class="label">Static</span></div>
  1456. <div class="row collapse"><div class="detail-description">
  1457. <div class="long_description"></div>
  1458. <h3>Parameters</h3>
  1459. <div class="subelement argument">
  1460. <h4>$xVal</h4>
  1461. <code>string</code><p>The "number" to pad</p>
  1462. </div>
  1463. <div class="subelement argument">
  1464. <h4>$places</h4>
  1465. <code>integer</code><p>The length that we want to pad this value</p></div>
  1466. <h3>Returns</h3>
  1467. <div class="subelement response">
  1468. <code>string</code>The padded "number"</div>
  1469. </div></div>
  1470. </div>
  1471. <h3>
  1472. <i class="icon-custom icon-property"></i> Properties</h3>
  1473. <a id="property__conversionMultipliers"> </a><div class="element clickable property private property__conversionMultipliers" data-toggle="collapse" data-target=".property__conversionMultipliers .collapse">
  1474. <h2></h2>
  1475. <pre>$_conversionMultipliers : mixed[]</pre>
  1476. <div class="labels"></div>
  1477. <div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
  1478. </div>
  1479. <a id="property__conversionUnits"> </a><div class="element clickable property private property__conversionUnits" data-toggle="collapse" data-target=".property__conversionUnits .collapse">
  1480. <h2></h2>
  1481. <pre>$_conversionUnits : mixed[]</pre>
  1482. <div class="labels"></div>
  1483. <div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
  1484. </div>
  1485. <a id="property__one_sqrtpi"> </a><div class="element clickable property private property__one_sqrtpi" data-toggle="collapse" data-target=".property__one_sqrtpi .collapse">
  1486. <h2></h2>
  1487. <pre>$_one_sqrtpi </pre>
  1488. <div class="labels"></div>
  1489. <div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
  1490. </div>
  1491. <a id="property__two_sqrtpi"> </a><div class="element clickable property private property__two_sqrtpi" data-toggle="collapse" data-target=".property__two_sqrtpi .collapse">
  1492. <h2></h2>
  1493. <pre>$_two_sqrtpi </pre>
  1494. <div class="labels"></div>
  1495. <div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
  1496. </div>
  1497. <a id="property__unitConversions"> </a><div class="element clickable property private property__unitConversions" data-toggle="collapse" data-target=".property__unitConversions .collapse">
  1498. <h2></h2>
  1499. <pre>$_unitConversions : mixed[]</pre>
  1500. <div class="labels"></div>
  1501. <div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
  1502. </div>
  1503. </div>
  1504. </div>
  1505. </div>
  1506. </div>
  1507. <div class="row"><footer class="span12">
  1508. Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
  1509. Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a12</a> and<br>
  1510. generated on 2014-03-02T15:27:33Z.<br></footer></div>
  1511. </div>
  1512. </body>
  1513. </html>