profectus-docs/assets/api_classes_game_formulas_formulas.default.md.7bbe151c.js

1 line
484 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import{_ as e,c as t,o as a,N as r}from"./chunks/framework.0799945b.js";const p=JSON.parse('{"title":"Class: default<T>","description":"","frontmatter":{"editLink":false},"headers":[],"relativePath":"api/classes/game/formulas/formulas.default.md","lastUpdated":null}'),o={name:"api/classes/game/formulas/formulas.default.md"},l=r('<h1 id="class-default-t" tabindex="-1">Class: default&lt;T&gt; <a class="header-anchor" href="#class-default-t" aria-label="Permalink to &quot;Class: default&lt;T\\&gt;&quot;"></a></h1><p><a href="./../../../modules/game/formulas/formulas">game/formulas/formulas</a>.default</p><p>A class that can be used for cost/goal functions. It can be evaluated similar to a cost function, but also provides extra features for supported formulas. For example, a lot of math functions can be inverted. Typically, the use of these extra features is to support cost/goal functions that have multiple levels purchased/completed at once efficiently.</p><p><strong><code>See</code></strong></p><ul><li><a href="./../../../modules/game/formulas/formulas#calculatemaxaffordable">calculateMaxAffordable</a></li><li><a href="./../../../modules/game/requirements#createcostrequirement">createCostRequirement</a></li></ul><h2 id="type-parameters" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters" aria-label="Permalink to &quot;Type parameters&quot;"></a></h2><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends [<a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>] | <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>[]</td></tr></tbody></table><h2 id="constructors" tabindex="-1">Constructors <a class="header-anchor" href="#constructors" aria-label="Permalink to &quot;Constructors&quot;"></a></h2><h3 id="constructor" tabindex="-1">constructor <a class="header-anchor" href="#constructor" aria-label="Permalink to &quot;constructor&quot;"></a></h3><p> <strong>new default</strong>&lt;<code>T</code>&gt;(<code>options</code>)</p><h4 id="type-parameters-1" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-1" aria-label="Permalink to &quot;Type parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends [<a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>] | <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>[]</td></tr></tbody></table><h4 id="parameters" tabindex="-1">Parameters <a class="header-anchor" href="#parameters" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>options</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulaoptions"><code>FormulaOptions</code></a>&lt;<code>T</code>&gt;</td></tr></tbody></table><h4 id="defined-in" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L59" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:59</a></p><h2 id="properties" tabindex="-1">Properties <a class="header-anchor" href="#properties" aria-label="Permalink to &quot;Properties&quot;"></a></h2><h3 id="applysubstitution" tabindex="-1">applySubstitution <a class="header-anchor" href="#applysubstitution" aria-label="Permalink to &quot;applySubstitution&quot;"></a></h3><p> <code>Private</code> <code>Readonly</code> <strong>applySubstitution</strong>: <code>undefined</code> | <a href="./../../../modules/game/formulas/types#substitutionfunction"><code>SubstitutionFunction</code></a>&lt;<code>T</code>&gt;</p><h4 id="defined-in-1" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-1" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L52" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:52</a></p><hr><h3 id="divide" tabindex="-1">divide <a class="header-anchor" href="#divide" aria-label="Permalink to &quot;divide&quot;"></a></h3><p> <strong>divide</strong>: &lt;T&gt;(<code>this</code>: <code>T</code>, <code>value</code>: <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>) =&gt; <code>T</code>&lt;T&gt;(<code>this</code>: <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a>, <code>value</code>: <code>T</code>) =&gt; <code>T</code>(<code>this</code>: <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a>, <code>value</code>: <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>) =&gt; <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="type-declaration" tabindex="-1">Type declaration <a class="header-anchor" href="#type-declaration" aria-label="Permalink to &quot;Type declaration&quot;"></a></h4><p> &lt;<code>T</code>&gt;(<code>this</code>, <code>value</code>): <code>T</code></p><h5 id="type-parameters-2" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-2" aria-label="Permalink to &quot;Type parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h5 id="parameters-1" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-1" aria-label="Permalink to &quot;Parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><code>T</code></td></tr><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h5 id="returns" tabindex="-1">Returns <a class="header-anchor" href="#returns" aria-label="Permalink to &quot;Returns&quot;"></a></h5><p><code>T</code></p><p> &lt;<code>T</code>&gt;(<code>this</code>, <code>value</code>): <code>T</code></p><h5 id="type-parameters-3" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-3" aria-label="Permalink to &quot;Type parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h5 id="parameters-2" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-2" aria-label="Permalink to &quot;Parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></td></tr><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h5 id="returns-1" tabindex="-1">Returns <a class="header-anchor" href="#returns-1" aria-label="Permalink to &quot;Returns&quot;"></a></h5><p><code>T</code></p><p> (<code>this</code>, <code>value</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h5 id="parameters-3" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-3" aria-label="Permalink to &quot;Parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></td></tr><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h5 id="returns-2" tabindex="-1">Returns <a class="header-anchor" href="#returns-2" aria-label="Permalink to &quot;Returns&quot;"></a></h5><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-2" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-2" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1025" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1025</a></p><hr><h3 id="divideby" tabindex="-1">divideBy <a class="header-anchor" href="#divideby" aria-label="Permalink to &quot;divideBy&quot;"></a></h3><p> <strong>divideBy</strong>: &lt;T&gt;(<code>this</code>: <code>T</code>, <code>value</code>: <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>) =&gt; <code>T</code>&lt;T&gt;(<code>this</code>: <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a>, <code>value</code>: <code>T</code>) =&gt; <code>T</code>(<code>this</code>: <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a>, <code>value</code>: <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>) =&gt; <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="type-declaration-1" tabindex="-1">Type declaration <a class="header-anchor" href="#type-declaration-1" aria-label="Permalink to &quot;Type declaration&quot;"></a></h4><p> &lt;<code>T</code>&gt;(<code>this</code>, <code>value</code>): <code>T</code></p><h5 id="type-parameters-4" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-4" aria-label="Permalink to &quot;Type parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h5 id="parameters-4" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-4" aria-label="Permalink to &quot;Parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><code>T</code></td></tr><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h5 id="returns-3" tabindex="-1">Returns <a class="header-anchor" href="#returns-3" aria-label="Permalink to &quot;Returns&quot;"></a></h5><p><code>T</code></p><p> &lt;<code>T</code>&gt;(<code>this</code>, <code>value</code>): <code>T</code></p><h5 id="type-parameters-5" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-5" aria-label="Permalink to &quot;Type parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h5 id="parameters-5" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-5" aria-label="Permalink to &quot;Parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></td></tr><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h5 id="returns-4" tabindex="-1">Returns <a class="header-anchor" href="#returns-4" aria-label="Permalink to &quot;Returns&quot;"></a></h5><p><code>T</code></p><p> (<code>this</code>, <code>value</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h5 id="parameters-6" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-6" aria-label="Permalink to &quot;Parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></td></tr><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h5 id="returns-5" tabindex="-1">Returns <a class="header-anchor" href="#returns-5" aria-label="Permalink to &quot;Returns&quot;"></a></h5><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-3" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-3" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1026" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1026</a></p><hr><h3 id="dividedby" tabindex="-1">dividedBy <a class="header-anchor" href="#dividedby" aria-label="Permalink to &quot;dividedBy&quot;"></a></h3><p> <strong>dividedBy</strong>: &lt;T&gt;(<code>this</code>: <code>T</code>, <code>value</code>: <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>) =&gt; <code>T</code>&lt;T&gt;(<code>this</code>: <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a>, <code>value</code>: <code>T</code>) =&gt; <code>T</code>(<code>this</code>: <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a>, <code>value</code>: <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>) =&gt; <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="type-declaration-2" tabindex="-1">Type declaration <a class="header-anchor" href="#type-declaration-2" aria-label="Permalink to &quot;Type declaration&quot;"></a></h4><p> &lt;<code>T</code>&gt;(<code>this</code>, <code>value</code>): <code>T</code></p><h5 id="type-parameters-6" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-6" aria-label="Permalink to &quot;Type parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h5 id="parameters-7" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-7" aria-label="Permalink to &quot;Parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><code>T</code></td></tr><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h5 id="returns-6" tabindex="-1">Returns <a class="header-anchor" href="#returns-6" aria-label="Permalink to &quot;Returns&quot;"></a></h5><p><code>T</code></p><p> &lt;<code>T</code>&gt;(<code>this</code>, <code>value</code>): <code>T</code></p><h5 id="type-parameters-7" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-7" aria-label="Permalink to &quot;Type parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h5 id="parameters-8" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-8" aria-label="Permalink to &quot;Parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></td></tr><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h5 id="returns-7" tabindex="-1">Returns <a class="header-anchor" href="#returns-7" aria-label="Permalink to &quot;Returns&quot;"></a></h5><p><code>T</code></p><p> (<code>this</code>, <code>value</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h5 id="parameters-9" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-9" aria-label="Permalink to &quot;Parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></td></tr><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h5 id="returns-8" tabindex="-1">Returns <a class="header-anchor" href="#returns-8" aria-label="Permalink to &quot;Returns&quot;"></a></h5><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-4" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-4" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1027" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1027</a></p><hr><h3 id="innermostvariable" tabindex="-1">innermostVariable <a class="header-anchor" href="#innermostvariable" aria-label="Permalink to &quot;innermostVariable&quot;"></a></h3><p> <code>Readonly</code> <strong>innermostVariable</strong>: <code>undefined</code> | <a href="./../../../modules/util/computed#processedcomputable"><code>ProcessedComputable</code></a>&lt;<a href="./../../../modules/lib/break_eternity#decimalsource"><code>DecimalSource</code></a>&gt;</p><h4 id="defined-in-5" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-5" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L55" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:55</a></p><hr><h3 id="inputs" tabindex="-1">inputs <a class="header-anchor" href="#inputs" aria-label="Permalink to &quot;inputs&quot;"></a></h3><p> <code>Readonly</code> <strong>inputs</strong>: <code>T</code></p><h4 id="defined-in-6" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-6" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L46" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:46</a></p><hr><h3 id="integralformula" tabindex="-1">integralFormula <a class="header-anchor" href="#integralformula" aria-label="Permalink to &quot;integralFormula&quot;"></a></h3><p> <code>Private</code> <strong>integralFormula</strong>: <code>undefined</code> | <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-7" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-7" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L57" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:57</a></p><hr><h3 id="internalevaluate" tabindex="-1">internalEvaluate <a class="header-anchor" href="#internalevaluate" aria-label="Permalink to &quot;internalEvaluate&quot;"></a></h3><p> <code>Private</code> <code>Readonly</code> <strong>internalEvaluate</strong>: <code>undefined</code> | <a href="./../../../modules/game/formulas/types#evaluatefunction"><code>EvaluateFunction</code></a>&lt;<code>T</code>&gt;</p><h4 id="defined-in-8" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-8" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L48" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:48</a></p><hr><h3 id="internalintegrate" tabindex="-1">internalIntegrate <a class="header-anchor" href="#internalintegrate" aria-label="Permalink to &quot;internalIntegrate&quot;"></a></h3><p> <code>Private</code> <code>Readonly</code> <strong>internalIntegrate</strong>: <code>undefined</code> | <a href="./../../../modules/game/formulas/types#integratefunction"><code>IntegrateFunction</code></a>&lt;<code>T</code>&gt;</p><h4 id="defined-in-9" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-9" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L50" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:50</a></p><hr><h3 id="internalintegrateinner" tabindex="-1">internalIntegrateInner <a class="header-anchor" href="#internalintegrateinner" aria-label="Permalink to &quot;internalIntegrateInner&quot;"></a></h3><p> <code>Private</code> <code>Readonly</code> <strong>internalIntegrateInner</strong>: <code>undefined</code> | <a href="./../../../modules/game/formulas/types#integratefunction"><code>IntegrateFunction</code></a>&lt;<code>T</code>&gt;</p><h4 id="defined-in-10" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-10" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L51" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:51</a></p><hr><h3 id="internalinvert" tabindex="-1">internalInvert <a class="header-anchor" href="#internalinvert" aria-label="Permalink to &quot;internalInvert&quot;"></a></h3><p> <code>Private</code> <code>Readonly</code> <strong>internalInvert</strong>: <code>undefined</code> | <a href="./../../../modules/game/formulas/types#invertfunction"><code>InvertFunction</code></a>&lt;<code>T</code>&gt;</p><h4 id="defined-in-11" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-11" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L49" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:49</a></p><hr><h3 id="internalvariables" tabindex="-1">internalVariables <a class="header-anchor" href="#internalvariables" aria-label="Permalink to &quot;internalVariables&quot;"></a></h3><p> <code>Private</code> <code>Readonly</code> <strong>internalVariables</strong>: <code>number</code></p><h4 id="defined-in-12" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-12" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L53" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:53</a></p><hr><h3 id="logarithm" tabindex="-1">logarithm <a class="header-anchor" href="#logarithm" aria-label="Permalink to &quot;logarithm&quot;"></a></h3><p> <strong>logarithm</strong>: &lt;T&gt;(<code>this</code>: <code>T</code>, <code>value</code>: <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>) =&gt; <code>T</code>&lt;T&gt;(<code>this</code>: <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>, <code>value</code>: <code>T</code>) =&gt; <code>T</code>(<code>this</code>: <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>, <code>value</code>: <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>) =&gt; <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="type-declaration-3" tabindex="-1">Type declaration <a class="header-anchor" href="#type-declaration-3" aria-label="Permalink to &quot;Type declaration&quot;"></a></h4><p> &lt;<code>T</code>&gt;(<code>this</code>, <code>value</code>): <code>T</code></p><h5 id="type-parameters-8" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-8" aria-label="Permalink to &quot;Type parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h5 id="parameters-10" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-10" aria-label="Permalink to &quot;Parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><code>T</code></td></tr><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h5 id="returns-9" tabindex="-1">Returns <a class="header-anchor" href="#returns-9" aria-label="Permalink to &quot;Returns&quot;"></a></h5><p><code>T</code></p><p> &lt;<code>T</code>&gt;(<code>this</code>, <code>value</code>): <code>T</code></p><h5 id="type-parameters-9" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-9" aria-label="Permalink to &quot;Type parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h5 id="parameters-11" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-11" aria-label="Permalink to &quot;Parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h5 id="returns-10" tabindex="-1">Returns <a class="header-anchor" href="#returns-10" aria-label="Permalink to &quot;Returns&quot;"></a></h5><p><code>T</code></p><p> (<code>this</code>, <code>value</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h5 id="parameters-12" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-12" aria-label="Permalink to &quot;Parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h5 id="returns-11" tabindex="-1">Returns <a class="header-anchor" href="#returns-11" aria-label="Permalink to &quot;Returns&quot;"></a></h5><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-13" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-13" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1085" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1085</a></p><hr><h3 id="minus" tabindex="-1">minus <a class="header-anchor" href="#minus" aria-label="Permalink to &quot;minus&quot;"></a></h3><p> <strong>minus</strong>: &lt;T&gt;(<code>this</code>: <code>T</code>, <code>value</code>: <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>) =&gt; <code>T</code>&lt;T&gt;(<code>this</code>: <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a>, <code>value</code>: <code>T</code>) =&gt; <code>T</code>(<code>this</code>: <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a>, <code>value</code>: <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>) =&gt; <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="type-declaration-4" tabindex="-1">Type declaration <a class="header-anchor" href="#type-declaration-4" aria-label="Permalink to &quot;Type declaration&quot;"></a></h4><p> &lt;<code>T</code>&gt;(<code>this</code>, <code>value</code>): <code>T</code></p><h5 id="type-parameters-10" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-10" aria-label="Permalink to &quot;Type parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h5 id="parameters-13" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-13" aria-label="Permalink to &quot;Parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><code>T</code></td></tr><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h5 id="returns-12" tabindex="-1">Returns <a class="header-anchor" href="#returns-12" aria-label="Permalink to &quot;Returns&quot;"></a></h5><p><code>T</code></p><p> &lt;<code>T</code>&gt;(<code>this</code>, <code>value</code>): <code>T</code></p><h5 id="type-parameters-11" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-11" aria-label="Permalink to &quot;Type parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h5 id="parameters-14" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-14" aria-label="Permalink to &quot;Parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></td></tr><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h5 id="returns-13" tabindex="-1">Returns <a class="header-anchor" href="#returns-13" aria-label="Permalink to &quot;Returns&quot;"></a></h5><p><code>T</code></p><p> (<code>this</code>, <code>value</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h5 id="parameters-15" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-15" aria-label="Permalink to &quot;Parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></td></tr><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h5 id="returns-14" tabindex="-1">Returns <a class="header-anchor" href="#returns-14" aria-label="Permalink to &quot;Returns&quot;"></a></h5><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-14" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-14" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1008" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1008</a></p><hr><h3 id="multiply" tabindex="-1">multiply <a class="header-anchor" href="#multiply" aria-label="Permalink to &quot;multiply&quot;"></a></h3><p> <strong>multiply</strong>: &lt;T&gt;(<code>this</code>: <code>T</code>, <code>value</code>: <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>) =&gt; <code>T</code>&lt;T&gt;(<code>this</code>: <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a>, <code>value</code>: <code>T</code>) =&gt; <code>T</code>(<code>this</code>: <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a>, <code>value</code>: <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>) =&gt; <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="type-declaration-5" tabindex="-1">Type declaration <a class="header-anchor" href="#type-declaration-5" aria-label="Permalink to &quot;Type declaration&quot;"></a></h4><p> &lt;<code>T</code>&gt;(<code>this</code>, <code>value</code>): <code>T</code></p><h5 id="type-parameters-12" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-12" aria-label="Permalink to &quot;Type parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h5 id="parameters-16" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-16" aria-label="Permalink to &quot;Parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><code>T</code></td></tr><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h5 id="returns-15" tabindex="-1">Returns <a class="header-anchor" href="#returns-15" aria-label="Permalink to &quot;Returns&quot;"></a></h5><p><code>T</code></p><p> &lt;<code>T</code>&gt;(<code>this</code>, <code>value</code>): <code>T</code></p><h5 id="type-parameters-13" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-13" aria-label="Permalink to &quot;Type parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h5 id="parameters-17" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-17" aria-label="Permalink to &quot;Parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></td></tr><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h5 id="returns-16" tabindex="-1">Returns <a class="header-anchor" href="#returns-16" aria-label="Permalink to &quot;Returns&quot;"></a></h5><p><code>T</code></p><p> (<code>this</code>, <code>value</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h5 id="parameters-18" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-18" aria-label="Permalink to &quot;Parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></td></tr><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h5 id="returns-17" tabindex="-1">Returns <a class="header-anchor" href="#returns-17" aria-label="Permalink to &quot;Returns&quot;"></a></h5><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-15" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-15" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1016" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1016</a></p><hr><h3 id="negate" tabindex="-1">negate <a class="header-anchor" href="#negate" aria-label="Permalink to &quot;negate&quot;"></a></h3><p> <strong>negate</strong>: &lt;T&gt;(<code>this</code>: <code>T</code>) =&gt; <code>T</code>(<code>this</code>: <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a>) =&gt; <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="type-declaration-6" tabindex="-1">Type declaration <a class="header-anchor" href="#type-declaration-6" aria-label="Permalink to &quot;Type declaration&quot;"></a></h4><p> &lt;<code>T</code>&gt;(<code>this</code>): <code>T</code></p><h5 id="type-parameters-14" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-14" aria-label="Permalink to &quot;Type parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h5 id="parameters-19" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-19" aria-label="Permalink to &quot;Parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h5 id="returns-18" tabindex="-1">Returns <a class="header-anchor" href="#returns-18" aria-label="Permalink to &quot;Returns&quot;"></a></h5><p><code>T</code></p><p> (<code>this</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h5 id="parameters-20" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-20" aria-label="Permalink to &quot;Parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></td></tr></tbody></table><h5 id="returns-19" tabindex="-1">Returns <a class="header-anchor" href="#returns-19" aria-label="Permalink to &quot;Returns&quot;"></a></h5><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-16" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-16" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L969" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:969</a></p><hr><h3 id="negated" tabindex="-1">negated <a class="header-anchor" href="#negated" aria-label="Permalink to &quot;negated&quot;"></a></h3><p> <strong>negated</strong>: &lt;T&gt;(<code>this</code>: <code>T</code>) =&gt; <code>T</code>(<code>this</code>: <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a>) =&gt; <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="type-declaration-7" tabindex="-1">Type declaration <a class="header-anchor" href="#type-declaration-7" aria-label="Permalink to &quot;Type declaration&quot;"></a></h4><p> &lt;<code>T</code>&gt;(<code>this</code>): <code>T</code></p><h5 id="type-parameters-15" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-15" aria-label="Permalink to &quot;Type parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h5 id="parameters-21" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-21" aria-label="Permalink to &quot;Parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h5 id="returns-20" tabindex="-1">Returns <a class="header-anchor" href="#returns-20" aria-label="Permalink to &quot;Returns&quot;"></a></h5><p><code>T</code></p><p> (<code>this</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h5 id="parameters-22" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-22" aria-label="Permalink to &quot;Parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></td></tr></tbody></table><h5 id="returns-21" tabindex="-1">Returns <a class="header-anchor" href="#returns-21" aria-label="Permalink to &quot;Returns&quot;"></a></h5><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-17" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-17" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L970" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:970</a></p><hr><h3 id="plus" tabindex="-1">plus <a class="header-anchor" href="#plus" aria-label="Permalink to &quot;plus&quot;"></a></h3><p> <strong>plus</strong>: &lt;T&gt;(<code>this</code>: <code>T</code>, <code>value</code>: <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>) =&gt; <code>T</code>&lt;T&gt;(<code>this</code>: <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a>, <code>value</code>: <code>T</code>) =&gt; <code>T</code>(<code>this</code>: <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a>, <code>value</code>: <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>) =&gt; <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="type-declaration-8" tabindex="-1">Type declaration <a class="header-anchor" href="#type-declaration-8" aria-label="Permalink to &quot;Type declaration&quot;"></a></h4><p> &lt;<code>T</code>&gt;(<code>this</code>, <code>value</code>): <code>T</code></p><h5 id="type-parameters-16" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-16" aria-label="Permalink to &quot;Type parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h5 id="parameters-23" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-23" aria-label="Permalink to &quot;Parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><code>T</code></td></tr><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h5 id="returns-22" tabindex="-1">Returns <a class="header-anchor" href="#returns-22" aria-label="Permalink to &quot;Returns&quot;"></a></h5><p><code>T</code></p><p> &lt;<code>T</code>&gt;(<code>this</code>, <code>value</code>): <code>T</code></p><h5 id="type-parameters-17" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-17" aria-label="Permalink to &quot;Type parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h5 id="parameters-24" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-24" aria-label="Permalink to &quot;Parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></td></tr><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h5 id="returns-23" tabindex="-1">Returns <a class="header-anchor" href="#returns-23" aria-label="Permalink to &quot;Returns&quot;"></a></h5><p><code>T</code></p><p> (<code>this</code>, <code>value</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h5 id="parameters-25" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-25" aria-label="Permalink to &quot;Parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></td></tr><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h5 id="returns-24" tabindex="-1">Returns <a class="header-anchor" href="#returns-24" aria-label="Permalink to &quot;Returns&quot;"></a></h5><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-18" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-18" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L999" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:999</a></p><hr><h3 id="reciprocal" tabindex="-1">reciprocal <a class="header-anchor" href="#reciprocal" aria-label="Permalink to &quot;reciprocal&quot;"></a></h3><p> <strong>reciprocal</strong>: &lt;T&gt;(<code>this</code>: <code>T</code>) =&gt; <code>T</code>(<code>this</code>: <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>) =&gt; <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="type-declaration-9" tabindex="-1">Type declaration <a class="header-anchor" href="#type-declaration-9" aria-label="Permalink to &quot;Type declaration&quot;"></a></h4><p> &lt;<code>T</code>&gt;(<code>this</code>): <code>T</code></p><h5 id="type-parameters-18" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-18" aria-label="Permalink to &quot;Type parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h5 id="parameters-26" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-26" aria-label="Permalink to &quot;Parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h5 id="returns-25" tabindex="-1">Returns <a class="header-anchor" href="#returns-25" aria-label="Permalink to &quot;Returns&quot;"></a></h5><p><code>T</code></p><p> (<code>this</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h5 id="parameters-27" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-27" aria-label="Permalink to &quot;Parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h5 id="returns-26" tabindex="-1">Returns <a class="header-anchor" href="#returns-26" aria-label="Permalink to &quot;Returns&quot;"></a></h5><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-19" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-19" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1034" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1034</a></p><hr><h3 id="reciprocate" tabindex="-1">reciprocate <a class="header-anchor" href="#reciprocate" aria-label="Permalink to &quot;reciprocate&quot;"></a></h3><p> <strong>reciprocate</strong>: &lt;T&gt;(<code>this</code>: <code>T</code>) =&gt; <code>T</code>(<code>this</code>: <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>) =&gt; <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="type-declaration-10" tabindex="-1">Type declaration <a class="header-anchor" href="#type-declaration-10" aria-label="Permalink to &quot;Type declaration&quot;"></a></h4><p> &lt;<code>T</code>&gt;(<code>this</code>): <code>T</code></p><h5 id="type-parameters-19" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-19" aria-label="Permalink to &quot;Type parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h5 id="parameters-28" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-28" aria-label="Permalink to &quot;Parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h5 id="returns-27" tabindex="-1">Returns <a class="header-anchor" href="#returns-27" aria-label="Permalink to &quot;Returns&quot;"></a></h5><p><code>T</code></p><p> (<code>this</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h5 id="parameters-29" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-29" aria-label="Permalink to &quot;Parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h5 id="returns-28" tabindex="-1">Returns <a class="header-anchor" href="#returns-28" aria-label="Permalink to &quot;Returns&quot;"></a></h5><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-20" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-20" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1035" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1035</a></p><hr><h3 id="sgn" tabindex="-1">sgn <a class="header-anchor" href="#sgn" aria-label="Permalink to &quot;sgn&quot;"></a></h3><p> <strong>sgn</strong>: () =&gt; <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="type-declaration-11" tabindex="-1">Type declaration <a class="header-anchor" href="#type-declaration-11" aria-label="Permalink to &quot;Type declaration&quot;"></a></h4><p> (): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h5 id="returns-29" tabindex="-1">Returns <a class="header-anchor" href="#returns-29" aria-label="Permalink to &quot;Returns&quot;"></a></h5><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-21" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-21" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L975" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:975</a></p><hr><h3 id="subtract" tabindex="-1">subtract <a class="header-anchor" href="#subtract" aria-label="Permalink to &quot;subtract&quot;"></a></h3><p> <strong>subtract</strong>: &lt;T&gt;(<code>this</code>: <code>T</code>, <code>value</code>: <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>) =&gt; <code>T</code>&lt;T&gt;(<code>this</code>: <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a>, <code>value</code>: <code>T</code>) =&gt; <code>T</code>(<code>this</code>: <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a>, <code>value</code>: <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>) =&gt; <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="type-declaration-12" tabindex="-1">Type declaration <a class="header-anchor" href="#type-declaration-12" aria-label="Permalink to &quot;Type declaration&quot;"></a></h4><p> &lt;<code>T</code>&gt;(<code>this</code>, <code>value</code>): <code>T</code></p><h5 id="type-parameters-20" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-20" aria-label="Permalink to &quot;Type parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h5 id="parameters-30" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-30" aria-label="Permalink to &quot;Parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><code>T</code></td></tr><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h5 id="returns-30" tabindex="-1">Returns <a class="header-anchor" href="#returns-30" aria-label="Permalink to &quot;Returns&quot;"></a></h5><p><code>T</code></p><p> &lt;<code>T</code>&gt;(<code>this</code>, <code>value</code>): <code>T</code></p><h5 id="type-parameters-21" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-21" aria-label="Permalink to &quot;Type parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h5 id="parameters-31" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-31" aria-label="Permalink to &quot;Parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></td></tr><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h5 id="returns-31" tabindex="-1">Returns <a class="header-anchor" href="#returns-31" aria-label="Permalink to &quot;Returns&quot;"></a></h5><p><code>T</code></p><p> (<code>this</code>, <code>value</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h5 id="parameters-32" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-32" aria-label="Permalink to &quot;Parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></td></tr><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h5 id="returns-32" tabindex="-1">Returns <a class="header-anchor" href="#returns-32" aria-label="Permalink to &quot;Returns&quot;"></a></h5><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-22" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-22" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1007" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1007</a></p><hr><h3 id="times" tabindex="-1">times <a class="header-anchor" href="#times" aria-label="Permalink to &quot;times&quot;"></a></h3><p> <strong>times</strong>: &lt;T&gt;(<code>this</code>: <code>T</code>, <code>value</code>: <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>) =&gt; <code>T</code>&lt;T&gt;(<code>this</code>: <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a>, <code>value</code>: <code>T</code>) =&gt; <code>T</code>(<code>this</code>: <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a>, <code>value</code>: <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>) =&gt; <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="type-declaration-13" tabindex="-1">Type declaration <a class="header-anchor" href="#type-declaration-13" aria-label="Permalink to &quot;Type declaration&quot;"></a></h4><p> &lt;<code>T</code>&gt;(<code>this</code>, <code>value</code>): <code>T</code></p><h5 id="type-parameters-22" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-22" aria-label="Permalink to &quot;Type parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h5 id="parameters-33" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-33" aria-label="Permalink to &quot;Parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><code>T</code></td></tr><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h5 id="returns-33" tabindex="-1">Returns <a class="header-anchor" href="#returns-33" aria-label="Permalink to &quot;Returns&quot;"></a></h5><p><code>T</code></p><p> &lt;<code>T</code>&gt;(<code>this</code>, <code>value</code>): <code>T</code></p><h5 id="type-parameters-23" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-23" aria-label="Permalink to &quot;Type parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h5 id="parameters-34" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-34" aria-label="Permalink to &quot;Parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></td></tr><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h5 id="returns-34" tabindex="-1">Returns <a class="header-anchor" href="#returns-34" aria-label="Permalink to &quot;Returns&quot;"></a></h5><p><code>T</code></p><p> (<code>this</code>, <code>value</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h5 id="parameters-35" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-35" aria-label="Permalink to &quot;Parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></td></tr><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h5 id="returns-35" tabindex="-1">Returns <a class="header-anchor" href="#returns-35" aria-label="Permalink to &quot;Returns&quot;"></a></h5><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-23" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-23" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1017" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1017</a></p><hr><h3 id="clampmax" tabindex="-1">clampMax <a class="header-anchor" href="#clampmax" aria-label="Permalink to &quot;clampMax&quot;"></a></h3><p> <code>Static</code> <strong>clampMax</strong>: (<code>value</code>: <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>, <code>other</code>: <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>) =&gt; <a href="./formulas.default"><code>default</code></a>&lt;[<a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>, <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>]&gt;</p><h4 id="type-declaration-14" tabindex="-1">Type declaration <a class="header-anchor" href="#type-declaration-14" aria-label="Permalink to &quot;Type declaration&quot;"></a></h4><p> (<code>value</code>, <code>other</code>): <a href="./formulas.default"><code>default</code></a>&lt;[<a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>, <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>]&gt;</p><h5 id="parameters-36" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-36" aria-label="Permalink to &quot;Parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr><tr><td style="text-align:left;"><code>other</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h5 id="returns-36" tabindex="-1">Returns <a class="header-anchor" href="#returns-36" aria-label="Permalink to &quot;Returns&quot;"></a></h5><p><a href="./formulas.default"><code>default</code></a>&lt;[<a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>, <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>]&gt;</p><h4 id="defined-in-24" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-24" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L533" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:533</a></p><hr><h3 id="clampmin" tabindex="-1">clampMin <a class="header-anchor" href="#clampmin" aria-label="Permalink to &quot;clampMin&quot;"></a></h3><p> <code>Static</code> <strong>clampMin</strong>: (<code>value</code>: <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>, <code>other</code>: <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>) =&gt; <a href="./formulas.default"><code>default</code></a>&lt;[<a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>, <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>]&gt;</p><h4 id="type-declaration-15" tabindex="-1">Type declaration <a class="header-anchor" href="#type-declaration-15" aria-label="Permalink to &quot;Type declaration&quot;"></a></h4><p> (<code>value</code>, <code>other</code>): <a href="./formulas.default"><code>default</code></a>&lt;[<a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>, <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>]&gt;</p><h5 id="parameters-37" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-37" aria-label="Permalink to &quot;Parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr><tr><td style="text-align:left;"><code>other</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h5 id="returns-37" tabindex="-1">Returns <a class="header-anchor" href="#returns-37" aria-label="Permalink to &quot;Returns&quot;"></a></h5><p><a href="./formulas.default"><code>default</code></a>&lt;[<a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>, <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>]&gt;</p><h4 id="defined-in-25" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-25" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L532" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:532</a></p><hr><h3 id="divide-1" tabindex="-1">divide <a class="header-anchor" href="#divide-1" aria-label="Permalink to &quot;divide&quot;"></a></h3><p> <code>Static</code> <strong>divide</strong>: &lt;T&gt;(<code>value</code>: <code>T</code>, <code>other</code>: <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>) =&gt; <code>T</code>&lt;T&gt;(<code>value</code>: <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>, <code>other</code>: <code>T</code>) =&gt; <code>T</code>(<code>value</code>: <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>, <code>other</code>: <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>) =&gt; <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a> = <code>Formula.div</code></p><h4 id="type-declaration-16" tabindex="-1">Type declaration <a class="header-anchor" href="#type-declaration-16" aria-label="Permalink to &quot;Type declaration&quot;"></a></h4><p> &lt;<code>T</code>&gt;(<code>value</code>, <code>other</code>): <code>T</code></p><h5 id="type-parameters-24" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-24" aria-label="Permalink to &quot;Type parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h5 id="parameters-38" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-38" aria-label="Permalink to &quot;Parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><code>T</code></td></tr><tr><td style="text-align:left;"><code>other</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h5 id="returns-38" tabindex="-1">Returns <a class="header-anchor" href="#returns-38" aria-label="Permalink to &quot;Returns&quot;"></a></h5><p><code>T</code></p><p> &lt;<code>T</code>&gt;(<code>value</code>, <code>other</code>): <code>T</code></p><h5 id="type-parameters-25" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-25" aria-label="Permalink to &quot;Type parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h5 id="parameters-39" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-39" aria-label="Permalink to &quot;Parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr><tr><td style="text-align:left;"><code>other</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h5 id="returns-39" tabindex="-1">Returns <a class="header-anchor" href="#returns-39" aria-label="Permalink to &quot;Returns&quot;"></a></h5><p><code>T</code></p><p> (<code>value</code>, <code>other</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h5 id="parameters-40" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-40" aria-label="Permalink to &quot;Parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr><tr><td style="text-align:left;"><code>other</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h5 id="returns-40" tabindex="-1">Returns <a class="header-anchor" href="#returns-40" aria-label="Permalink to &quot;Returns&quot;"></a></h5><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-26" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-26" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L510" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:510</a></p><hr><h3 id="divideby-1" tabindex="-1">divideBy <a class="header-anchor" href="#divideby-1" aria-label="Permalink to &quot;divideBy&quot;"></a></h3><p> <code>Static</code> <strong>divideBy</strong>: &lt;T&gt;(<code>value</code>: <code>T</code>, <code>other</code>: <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>) =&gt; <code>T</code>&lt;T&gt;(<code>value</code>: <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>, <code>other</code>: <code>T</code>) =&gt; <code>T</code>(<code>value</code>: <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>, <code>other</code>: <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>) =&gt; <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a> = <code>Formula.div</code></p><h4 id="type-declaration-17" tabindex="-1">Type declaration <a class="header-anchor" href="#type-declaration-17" aria-label="Permalink to &quot;Type declaration&quot;"></a></h4><p> &lt;<code>T</code>&gt;(<code>value</code>, <code>other</code>): <code>T</code></p><h5 id="type-parameters-26" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-26" aria-label="Permalink to &quot;Type parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h5 id="parameters-41" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-41" aria-label="Permalink to &quot;Parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><code>T</code></td></tr><tr><td style="text-align:left;"><code>other</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h5 id="returns-41" tabindex="-1">Returns <a class="header-anchor" href="#returns-41" aria-label="Permalink to &quot;Returns&quot;"></a></h5><p><code>T</code></p><p> &lt;<code>T</code>&gt;(<code>value</code>, <code>other</code>): <code>T</code></p><h5 id="type-parameters-27" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-27" aria-label="Permalink to &quot;Type parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h5 id="parameters-42" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-42" aria-label="Permalink to &quot;Parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr><tr><td style="text-align:left;"><code>other</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h5 id="returns-42" tabindex="-1">Returns <a class="header-anchor" href="#returns-42" aria-label="Permalink to &quot;Returns&quot;"></a></h5><p><code>T</code></p><p> (<code>value</code>, <code>other</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h5 id="parameters-43" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-43" aria-label="Permalink to &quot;Parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr><tr><td style="text-align:left;"><code>other</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h5 id="returns-43" tabindex="-1">Returns <a class="header-anchor" href="#returns-43" aria-label="Permalink to &quot;Returns&quot;"></a></h5><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-27" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-27" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L511" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:511</a></p><hr><h3 id="dividedby-1" tabindex="-1">dividedBy <a class="header-anchor" href="#dividedby-1" aria-label="Permalink to &quot;dividedBy&quot;"></a></h3><p> <code>Static</code> <strong>dividedBy</strong>: &lt;T&gt;(<code>value</code>: <code>T</code>, <code>other</code>: <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>) =&gt; <code>T</code>&lt;T&gt;(<code>value</code>: <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>, <code>other</code>: <code>T</code>) =&gt; <code>T</code>(<code>value</code>: <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>, <code>other</code>: <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>) =&gt; <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a> = <code>Formula.div</code></p><h4 id="type-declaration-18" tabindex="-1">Type declaration <a class="header-anchor" href="#type-declaration-18" aria-label="Permalink to &quot;Type declaration&quot;"></a></h4><p> &lt;<code>T</code>&gt;(<code>value</code>, <code>other</code>): <code>T</code></p><h5 id="type-parameters-28" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-28" aria-label="Permalink to &quot;Type parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h5 id="parameters-44" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-44" aria-label="Permalink to &quot;Parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><code>T</code></td></tr><tr><td style="text-align:left;"><code>other</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h5 id="returns-44" tabindex="-1">Returns <a class="header-anchor" href="#returns-44" aria-label="Permalink to &quot;Returns&quot;"></a></h5><p><code>T</code></p><p> &lt;<code>T</code>&gt;(<code>value</code>, <code>other</code>): <code>T</code></p><h5 id="type-parameters-29" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-29" aria-label="Permalink to &quot;Type parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h5 id="parameters-45" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-45" aria-label="Permalink to &quot;Parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr><tr><td style="text-align:left;"><code>other</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h5 id="returns-45" tabindex="-1">Returns <a class="header-anchor" href="#returns-45" aria-label="Permalink to &quot;Returns&quot;"></a></h5><p><code>T</code></p><p> (<code>value</code>, <code>other</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h5 id="parameters-46" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-46" aria-label="Permalink to &quot;Parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr><tr><td style="text-align:left;"><code>other</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h5 id="returns-46" tabindex="-1">Returns <a class="header-anchor" href="#returns-46" aria-label="Permalink to &quot;Returns&quot;"></a></h5><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-28" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-28" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L512" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:512</a></p><hr><h3 id="logarithm-1" tabindex="-1">logarithm <a class="header-anchor" href="#logarithm-1" aria-label="Permalink to &quot;logarithm&quot;"></a></h3><p> <code>Static</code> <strong>logarithm</strong>: &lt;T&gt;(<code>value</code>: <code>T</code>, <code>base</code>: <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>) =&gt; <code>T</code>&lt;T&gt;(<code>value</code>: <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>, <code>base</code>: <code>T</code>) =&gt; <code>T</code>(<code>value</code>: <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>, <code>base</code>: <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>) =&gt; <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a> = <code>Formula.log</code></p><h4 id="type-declaration-19" tabindex="-1">Type declaration <a class="header-anchor" href="#type-declaration-19" aria-label="Permalink to &quot;Type declaration&quot;"></a></h4><p> &lt;<code>T</code>&gt;(<code>value</code>, <code>base</code>): <code>T</code></p><h5 id="type-parameters-30" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-30" aria-label="Permalink to &quot;Type parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h5 id="parameters-47" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-47" aria-label="Permalink to &quot;Parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><code>T</code></td></tr><tr><td style="text-align:left;"><code>base</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h5 id="returns-47" tabindex="-1">Returns <a class="header-anchor" href="#returns-47" aria-label="Permalink to &quot;Returns&quot;"></a></h5><p><code>T</code></p><p> &lt;<code>T</code>&gt;(<code>value</code>, <code>base</code>): <code>T</code></p><h5 id="type-parameters-31" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-31" aria-label="Permalink to &quot;Type parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h5 id="parameters-48" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-48" aria-label="Permalink to &quot;Parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr><tr><td style="text-align:left;"><code>base</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h5 id="returns-48" tabindex="-1">Returns <a class="header-anchor" href="#returns-48" aria-label="Permalink to &quot;Returns&quot;"></a></h5><p><code>T</code></p><p> (<code>value</code>, <code>base</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h5 id="parameters-49" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-49" aria-label="Permalink to &quot;Parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr><tr><td style="text-align:left;"><code>base</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h5 id="returns-49" tabindex="-1">Returns <a class="header-anchor" href="#returns-49" aria-label="Permalink to &quot;Returns&quot;"></a></h5><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-29" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-29" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L577" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:577</a></p><hr><h3 id="max" tabindex="-1">max <a class="header-anchor" href="#max" aria-label="Permalink to &quot;max&quot;"></a></h3><p> <code>Static</code> <strong>max</strong>: (<code>value</code>: <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>, <code>other</code>: <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>) =&gt; <a href="./formulas.default"><code>default</code></a>&lt;[<a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>, <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>]&gt;</p><h4 id="type-declaration-20" tabindex="-1">Type declaration <a class="header-anchor" href="#type-declaration-20" aria-label="Permalink to &quot;Type declaration&quot;"></a></h4><p> (<code>value</code>, <code>other</code>): <a href="./formulas.default"><code>default</code></a>&lt;[<a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>, <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>]&gt;</p><h5 id="parameters-50" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-50" aria-label="Permalink to &quot;Parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr><tr><td style="text-align:left;"><code>other</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h5 id="returns-50" tabindex="-1">Returns <a class="header-anchor" href="#returns-50" aria-label="Permalink to &quot;Returns&quot;"></a></h5><p><a href="./formulas.default"><code>default</code></a>&lt;[<a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>, <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>]&gt;</p><h4 id="defined-in-30" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-30" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L528" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:528</a></p><hr><h3 id="maxabs" tabindex="-1">maxabs <a class="header-anchor" href="#maxabs" aria-label="Permalink to &quot;maxabs&quot;"></a></h3><p> <code>Static</code> <strong>maxabs</strong>: (<code>value</code>: <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>, <code>other</code>: <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>) =&gt; <a href="./formulas.default"><code>default</code></a>&lt;[<a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>, <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>]&gt;</p><h4 id="type-declaration-21" tabindex="-1">Type declaration <a class="header-anchor" href="#type-declaration-21" aria-label="Permalink to &quot;Type declaration&quot;"></a></h4><p> (<code>value</code>, <code>other</code>): <a href="./formulas.default"><code>default</code></a>&lt;[<a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>, <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>]&gt;</p><h5 id="parameters-51" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-51" aria-label="Permalink to &quot;Parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr><tr><td style="text-align:left;"><code>other</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h5 id="returns-51" tabindex="-1">Returns <a class="header-anchor" href="#returns-51" aria-label="Permalink to &quot;Returns&quot;"></a></h5><p><a href="./formulas.default"><code>default</code></a>&lt;[<a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>, <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>]&gt;</p><h4 id="defined-in-31" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-31" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L531" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:531</a></p><hr><h3 id="min" tabindex="-1">min <a class="header-anchor" href="#min" aria-label="Permalink to &quot;min&quot;"></a></h3><p> <code>Static</code> <strong>min</strong>: (<code>value</code>: <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>, <code>other</code>: <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>) =&gt; <a href="./formulas.default"><code>default</code></a>&lt;[<a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>, <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>]&gt;</p><h4 id="type-declaration-22" tabindex="-1">Type declaration <a class="header-anchor" href="#type-declaration-22" aria-label="Permalink to &quot;Type declaration&quot;"></a></h4><p> (<code>value</code>, <code>other</code>): <a href="./formulas.default"><code>default</code></a>&lt;[<a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>, <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>]&gt;</p><h5 id="parameters-52" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-52" aria-label="Permalink to &quot;Parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr><tr><td style="text-align:left;"><code>other</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h5 id="returns-52" tabindex="-1">Returns <a class="header-anchor" href="#returns-52" aria-label="Permalink to &quot;Returns&quot;"></a></h5><p><a href="./formulas.default"><code>default</code></a>&lt;[<a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>, <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>]&gt;</p><h4 id="defined-in-32" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-32" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L529" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:529</a></p><hr><h3 id="minabs" tabindex="-1">minabs <a class="header-anchor" href="#minabs" aria-label="Permalink to &quot;minabs&quot;"></a></h3><p> <code>Static</code> <strong>minabs</strong>: (<code>value</code>: <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>, <code>other</code>: <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>) =&gt; <a href="./formulas.default"><code>default</code></a>&lt;[<a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>, <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>]&gt;</p><h4 id="type-declaration-23" tabindex="-1">Type declaration <a class="header-anchor" href="#type-declaration-23" aria-label="Permalink to &quot;Type declaration&quot;"></a></h4><p> (<code>value</code>, <code>other</code>): <a href="./formulas.default"><code>default</code></a>&lt;[<a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>, <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>]&gt;</p><h5 id="parameters-53" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-53" aria-label="Permalink to &quot;Parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr><tr><td style="text-align:left;"><code>other</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h5 id="returns-53" tabindex="-1">Returns <a class="header-anchor" href="#returns-53" aria-label="Permalink to &quot;Returns&quot;"></a></h5><p><a href="./formulas.default"><code>default</code></a>&lt;[<a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>, <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>]&gt;</p><h4 id="defined-in-33" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-33" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L530" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:530</a></p><hr><h3 id="minus-1" tabindex="-1">minus <a class="header-anchor" href="#minus-1" aria-label="Permalink to &quot;minus&quot;"></a></h3><p> <code>Static</code> <strong>minus</strong>: &lt;T&gt;(<code>value</code>: <code>T</code>, <code>other</code>: <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>) =&gt; <code>T</code>&lt;T&gt;(<code>value</code>: <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>, <code>other</code>: <code>T</code>) =&gt; <code>T</code>(<code>value</code>: <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>, <code>other</code>: <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>) =&gt; <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a> = <code>Formula.sub</code></p><h4 id="type-declaration-24" tabindex="-1">Type declaration <a class="header-anchor" href="#type-declaration-24" aria-label="Permalink to &quot;Type declaration&quot;"></a></h4><p> &lt;<code>T</code>&gt;(<code>value</code>, <code>other</code>): <code>T</code></p><h5 id="type-parameters-32" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-32" aria-label="Permalink to &quot;Type parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h5 id="parameters-54" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-54" aria-label="Permalink to &quot;Parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><code>T</code></td></tr><tr><td style="text-align:left;"><code>other</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h5 id="returns-54" tabindex="-1">Returns <a class="header-anchor" href="#returns-54" aria-label="Permalink to &quot;Returns&quot;"></a></h5><p><code>T</code></p><p> &lt;<code>T</code>&gt;(<code>value</code>, <code>other</code>): <code>T</code></p><h5 id="type-parameters-33" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-33" aria-label="Permalink to &quot;Type parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h5 id="parameters-55" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-55" aria-label="Permalink to &quot;Parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr><tr><td style="text-align:left;"><code>other</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h5 id="returns-55" tabindex="-1">Returns <a class="header-anchor" href="#returns-55" aria-label="Permalink to &quot;Returns&quot;"></a></h5><p><code>T</code></p><p> (<code>value</code>, <code>other</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h5 id="parameters-56" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-56" aria-label="Permalink to &quot;Parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr><tr><td style="text-align:left;"><code>other</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h5 id="returns-56" tabindex="-1">Returns <a class="header-anchor" href="#returns-56" aria-label="Permalink to &quot;Returns&quot;"></a></h5><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-34" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-34" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L481" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:481</a></p><hr><h3 id="multiply-1" tabindex="-1">multiply <a class="header-anchor" href="#multiply-1" aria-label="Permalink to &quot;multiply&quot;"></a></h3><p> <code>Static</code> <strong>multiply</strong>: &lt;T&gt;(<code>value</code>: <code>T</code>, <code>other</code>: <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>) =&gt; <code>T</code>&lt;T&gt;(<code>value</code>: <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>, <code>other</code>: <code>T</code>) =&gt; <code>T</code>(<code>value</code>: <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>, <code>other</code>: <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>) =&gt; <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a> = <code>Formula.mul</code></p><h4 id="type-declaration-25" tabindex="-1">Type declaration <a class="header-anchor" href="#type-declaration-25" aria-label="Permalink to &quot;Type declaration&quot;"></a></h4><p> &lt;<code>T</code>&gt;(<code>value</code>, <code>other</code>): <code>T</code></p><h5 id="type-parameters-34" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-34" aria-label="Permalink to &quot;Type parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h5 id="parameters-57" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-57" aria-label="Permalink to &quot;Parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><code>T</code></td></tr><tr><td style="text-align:left;"><code>other</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h5 id="returns-57" tabindex="-1">Returns <a class="header-anchor" href="#returns-57" aria-label="Permalink to &quot;Returns&quot;"></a></h5><p><code>T</code></p><p> &lt;<code>T</code>&gt;(<code>value</code>, <code>other</code>): <code>T</code></p><h5 id="type-parameters-35" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-35" aria-label="Permalink to &quot;Type parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h5 id="parameters-58" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-58" aria-label="Permalink to &quot;Parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr><tr><td style="text-align:left;"><code>other</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h5 id="returns-58" tabindex="-1">Returns <a class="header-anchor" href="#returns-58" aria-label="Permalink to &quot;Returns&quot;"></a></h5><p><code>T</code></p><p> (<code>value</code>, <code>other</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h5 id="parameters-59" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-59" aria-label="Permalink to &quot;Parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr><tr><td style="text-align:left;"><code>other</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h5 id="returns-59" tabindex="-1">Returns <a class="header-anchor" href="#returns-59" aria-label="Permalink to &quot;Returns&quot;"></a></h5><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-35" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-35" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L495" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:495</a></p><hr><h3 id="negate-1" tabindex="-1">negate <a class="header-anchor" href="#negate-1" aria-label="Permalink to &quot;negate&quot;"></a></h3><p> <code>Static</code> <strong>negate</strong>: &lt;T&gt;(<code>value</code>: <code>T</code>) =&gt; <code>T</code>(<code>value</code>: <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>) =&gt; <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a> = <code>Formula.neg</code></p><h4 id="type-declaration-26" tabindex="-1">Type declaration <a class="header-anchor" href="#type-declaration-26" aria-label="Permalink to &quot;Type declaration&quot;"></a></h4><p> &lt;<code>T</code>&gt;(<code>value</code>): <code>T</code></p><h5 id="type-parameters-36" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-36" aria-label="Permalink to &quot;Type parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h5 id="parameters-60" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-60" aria-label="Permalink to &quot;Parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h5 id="returns-60" tabindex="-1">Returns <a class="header-anchor" href="#returns-60" aria-label="Permalink to &quot;Returns&quot;"></a></h5><p><code>T</code></p><p> (<code>value</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h5 id="parameters-61" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-61" aria-label="Permalink to &quot;Parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h5 id="returns-61" tabindex="-1">Returns <a class="header-anchor" href="#returns-61" aria-label="Permalink to &quot;Returns&quot;"></a></h5><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-36" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-36" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L428" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:428</a></p><hr><h3 id="negated-1" tabindex="-1">negated <a class="header-anchor" href="#negated-1" aria-label="Permalink to &quot;negated&quot;"></a></h3><p> <code>Static</code> <strong>negated</strong>: &lt;T&gt;(<code>value</code>: <code>T</code>) =&gt; <code>T</code>(<code>value</code>: <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>) =&gt; <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a> = <code>Formula.neg</code></p><h4 id="type-declaration-27" tabindex="-1">Type declaration <a class="header-anchor" href="#type-declaration-27" aria-label="Permalink to &quot;Type declaration&quot;"></a></h4><p> &lt;<code>T</code>&gt;(<code>value</code>): <code>T</code></p><h5 id="type-parameters-37" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-37" aria-label="Permalink to &quot;Type parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h5 id="parameters-62" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-62" aria-label="Permalink to &quot;Parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h5 id="returns-62" tabindex="-1">Returns <a class="header-anchor" href="#returns-62" aria-label="Permalink to &quot;Returns&quot;"></a></h5><p><code>T</code></p><p> (<code>value</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h5 id="parameters-63" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-63" aria-label="Permalink to &quot;Parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h5 id="returns-63" tabindex="-1">Returns <a class="header-anchor" href="#returns-63" aria-label="Permalink to &quot;Returns&quot;"></a></h5><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-37" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-37" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L429" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:429</a></p><hr><h3 id="plus-1" tabindex="-1">plus <a class="header-anchor" href="#plus-1" aria-label="Permalink to &quot;plus&quot;"></a></h3><p> <code>Static</code> <strong>plus</strong>: &lt;T&gt;(<code>value</code>: <code>T</code>, <code>other</code>: <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>) =&gt; <code>T</code>&lt;T&gt;(<code>value</code>: <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>, <code>other</code>: <code>T</code>) =&gt; <code>T</code>(<code>value</code>: <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>, <code>other</code>: <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>) =&gt; <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a> = <code>Formula.add</code></p><h4 id="type-declaration-28" tabindex="-1">Type declaration <a class="header-anchor" href="#type-declaration-28" aria-label="Permalink to &quot;Type declaration&quot;"></a></h4><p> &lt;<code>T</code>&gt;(<code>value</code>, <code>other</code>): <code>T</code></p><h5 id="type-parameters-38" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-38" aria-label="Permalink to &quot;Type parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h5 id="parameters-64" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-64" aria-label="Permalink to &quot;Parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><code>T</code></td></tr><tr><td style="text-align:left;"><code>other</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h5 id="returns-64" tabindex="-1">Returns <a class="header-anchor" href="#returns-64" aria-label="Permalink to &quot;Returns&quot;"></a></h5><p><code>T</code></p><p> &lt;<code>T</code>&gt;(<code>value</code>, <code>other</code>): <code>T</code></p><h5 id="type-parameters-39" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-39" aria-label="Permalink to &quot;Type parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h5 id="parameters-65" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-65" aria-label="Permalink to &quot;Parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr><tr><td style="text-align:left;"><code>other</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h5 id="returns-65" tabindex="-1">Returns <a class="header-anchor" href="#returns-65" aria-label="Permalink to &quot;Returns&quot;"></a></h5><p><code>T</code></p><p> (<code>value</code>, <code>other</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h5 id="parameters-66" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-66" aria-label="Permalink to &quot;Parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr><tr><td style="text-align:left;"><code>other</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h5 id="returns-66" tabindex="-1">Returns <a class="header-anchor" href="#returns-66" aria-label="Permalink to &quot;Returns&quot;"></a></h5><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-38" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-38" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L465" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:465</a></p><hr><h3 id="reciprocal-1" tabindex="-1">reciprocal <a class="header-anchor" href="#reciprocal-1" aria-label="Permalink to &quot;reciprocal&quot;"></a></h3><p> <code>Static</code> <strong>reciprocal</strong>: &lt;T&gt;(<code>value</code>: <code>T</code>) =&gt; <code>T</code>(<code>value</code>: <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>) =&gt; <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a> = <code>Formula.recip</code></p><h4 id="type-declaration-29" tabindex="-1">Type declaration <a class="header-anchor" href="#type-declaration-29" aria-label="Permalink to &quot;Type declaration&quot;"></a></h4><p> &lt;<code>T</code>&gt;(<code>value</code>): <code>T</code></p><h5 id="type-parameters-40" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-40" aria-label="Permalink to &quot;Type parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h5 id="parameters-67" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-67" aria-label="Permalink to &quot;Parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h5 id="returns-67" tabindex="-1">Returns <a class="header-anchor" href="#returns-67" aria-label="Permalink to &quot;Returns&quot;"></a></h5><p><code>T</code></p><p> (<code>value</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h5 id="parameters-68" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-68" aria-label="Permalink to &quot;Parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h5 id="returns-68" tabindex="-1">Returns <a class="header-anchor" href="#returns-68" aria-label="Permalink to &quot;Returns&quot;"></a></h5><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-39" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-39" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L524" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:524</a></p><hr><h3 id="reciprocate-1" tabindex="-1">reciprocate <a class="header-anchor" href="#reciprocate-1" aria-label="Permalink to &quot;reciprocate&quot;"></a></h3><p> <code>Static</code> <strong>reciprocate</strong>: &lt;T&gt;(<code>value</code>: <code>T</code>) =&gt; <code>T</code>(<code>value</code>: <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>) =&gt; <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a> = <code>Formula.recip</code></p><h4 id="type-declaration-30" tabindex="-1">Type declaration <a class="header-anchor" href="#type-declaration-30" aria-label="Permalink to &quot;Type declaration&quot;"></a></h4><p> &lt;<code>T</code>&gt;(<code>value</code>): <code>T</code></p><h5 id="type-parameters-41" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-41" aria-label="Permalink to &quot;Type parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h5 id="parameters-69" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-69" aria-label="Permalink to &quot;Parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h5 id="returns-69" tabindex="-1">Returns <a class="header-anchor" href="#returns-69" aria-label="Permalink to &quot;Returns&quot;"></a></h5><p><code>T</code></p><p> (<code>value</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h5 id="parameters-70" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-70" aria-label="Permalink to &quot;Parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h5 id="returns-70" tabindex="-1">Returns <a class="header-anchor" href="#returns-70" aria-label="Permalink to &quot;Returns&quot;"></a></h5><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-40" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-40" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L525" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:525</a></p><hr><h3 id="sgn-1" tabindex="-1">sgn <a class="header-anchor" href="#sgn-1" aria-label="Permalink to &quot;sgn&quot;"></a></h3><p> <code>Static</code> <strong>sgn</strong>: (<code>value</code>: <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>) =&gt; <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a> = <code>Formula.sign</code></p><h4 id="type-declaration-31" tabindex="-1">Type declaration <a class="header-anchor" href="#type-declaration-31" aria-label="Permalink to &quot;Type declaration&quot;"></a></h4><p> (<code>value</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h5 id="parameters-71" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-71" aria-label="Permalink to &quot;Parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h5 id="returns-71" tabindex="-1">Returns <a class="header-anchor" href="#returns-71" aria-label="Permalink to &quot;Returns&quot;"></a></h5><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-41" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-41" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L434" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:434</a></p><hr><h3 id="subtract-1" tabindex="-1">subtract <a class="header-anchor" href="#subtract-1" aria-label="Permalink to &quot;subtract&quot;"></a></h3><p> <code>Static</code> <strong>subtract</strong>: &lt;T&gt;(<code>value</code>: <code>T</code>, <code>other</code>: <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>) =&gt; <code>T</code>&lt;T&gt;(<code>value</code>: <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>, <code>other</code>: <code>T</code>) =&gt; <code>T</code>(<code>value</code>: <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>, <code>other</code>: <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>) =&gt; <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a> = <code>Formula.sub</code></p><h4 id="type-declaration-32" tabindex="-1">Type declaration <a class="header-anchor" href="#type-declaration-32" aria-label="Permalink to &quot;Type declaration&quot;"></a></h4><p> &lt;<code>T</code>&gt;(<code>value</code>, <code>other</code>): <code>T</code></p><h5 id="type-parameters-42" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-42" aria-label="Permalink to &quot;Type parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h5 id="parameters-72" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-72" aria-label="Permalink to &quot;Parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><code>T</code></td></tr><tr><td style="text-align:left;"><code>other</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h5 id="returns-72" tabindex="-1">Returns <a class="header-anchor" href="#returns-72" aria-label="Permalink to &quot;Returns&quot;"></a></h5><p><code>T</code></p><p> &lt;<code>T</code>&gt;(<code>value</code>, <code>other</code>): <code>T</code></p><h5 id="type-parameters-43" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-43" aria-label="Permalink to &quot;Type parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h5 id="parameters-73" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-73" aria-label="Permalink to &quot;Parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr><tr><td style="text-align:left;"><code>other</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h5 id="returns-73" tabindex="-1">Returns <a class="header-anchor" href="#returns-73" aria-label="Permalink to &quot;Returns&quot;"></a></h5><p><code>T</code></p><p> (<code>value</code>, <code>other</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h5 id="parameters-74" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-74" aria-label="Permalink to &quot;Parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr><tr><td style="text-align:left;"><code>other</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h5 id="returns-74" tabindex="-1">Returns <a class="header-anchor" href="#returns-74" aria-label="Permalink to &quot;Returns&quot;"></a></h5><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-42" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-42" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L480" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:480</a></p><hr><h3 id="times-1" tabindex="-1">times <a class="header-anchor" href="#times-1" aria-label="Permalink to &quot;times&quot;"></a></h3><p> <code>Static</code> <strong>times</strong>: &lt;T&gt;(<code>value</code>: <code>T</code>, <code>other</code>: <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>) =&gt; <code>T</code>&lt;T&gt;(<code>value</code>: <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>, <code>other</code>: <code>T</code>) =&gt; <code>T</code>(<code>value</code>: <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>, <code>other</code>: <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>) =&gt; <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a> = <code>Formula.mul</code></p><h4 id="type-declaration-33" tabindex="-1">Type declaration <a class="header-anchor" href="#type-declaration-33" aria-label="Permalink to &quot;Type declaration&quot;"></a></h4><p> &lt;<code>T</code>&gt;(<code>value</code>, <code>other</code>): <code>T</code></p><h5 id="type-parameters-44" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-44" aria-label="Permalink to &quot;Type parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h5 id="parameters-75" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-75" aria-label="Permalink to &quot;Parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><code>T</code></td></tr><tr><td style="text-align:left;"><code>other</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h5 id="returns-75" tabindex="-1">Returns <a class="header-anchor" href="#returns-75" aria-label="Permalink to &quot;Returns&quot;"></a></h5><p><code>T</code></p><p> &lt;<code>T</code>&gt;(<code>value</code>, <code>other</code>): <code>T</code></p><h5 id="type-parameters-45" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-45" aria-label="Permalink to &quot;Type parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h5 id="parameters-76" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-76" aria-label="Permalink to &quot;Parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr><tr><td style="text-align:left;"><code>other</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h5 id="returns-76" tabindex="-1">Returns <a class="header-anchor" href="#returns-76" aria-label="Permalink to &quot;Returns&quot;"></a></h5><p><code>T</code></p><p> (<code>value</code>, <code>other</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h5 id="parameters-77" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-77" aria-label="Permalink to &quot;Parameters&quot;"></a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr><tr><td style="text-align:left;"><code>other</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h5 id="returns-77" tabindex="-1">Returns <a class="header-anchor" href="#returns-77" aria-label="Permalink to &quot;Returns&quot;"></a></h5><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-43" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-43" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L496" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:496</a></p><h2 id="methods" tabindex="-1">Methods <a class="header-anchor" href="#methods" aria-label="Permalink to &quot;Methods&quot;"></a></h2><h3 id="abs" tabindex="-1">abs <a class="header-anchor" href="#abs" aria-label="Permalink to &quot;abs&quot;"></a></h3><p> <strong>abs</strong>(): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="returns-78" tabindex="-1">Returns <a class="header-anchor" href="#returns-78" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-44" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-44" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L960" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:960</a></p><hr><h3 id="abslog10" tabindex="-1">absLog10 <a class="header-anchor" href="#abslog10" aria-label="Permalink to &quot;absLog10&quot;"></a></h3><p> <strong>absLog10</strong>(): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="returns-79" tabindex="-1">Returns <a class="header-anchor" href="#returns-79" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-45" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-45" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1069" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1069</a></p><hr><h3 id="acos" tabindex="-1">acos <a class="header-anchor" href="#acos" aria-label="Permalink to &quot;acos&quot;"></a></h3><p> <strong>acos</strong>&lt;<code>T</code>&gt;(<code>this</code>): <code>T</code></p><h4 id="type-parameters-46" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-46" aria-label="Permalink to &quot;Type parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h4 id="parameters-78" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-78" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h4 id="returns-80" tabindex="-1">Returns <a class="header-anchor" href="#returns-80" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><code>T</code></p><h4 id="defined-in-46" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-46" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1269" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1269</a></p><p> <strong>acos</strong>(<code>this</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="parameters-79" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-79" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-81" tabindex="-1">Returns <a class="header-anchor" href="#returns-81" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-47" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-47" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1270" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1270</a></p><hr><h3 id="acosh" tabindex="-1">acosh <a class="header-anchor" href="#acosh" aria-label="Permalink to &quot;acosh&quot;"></a></h3><p> <strong>acosh</strong>&lt;<code>T</code>&gt;(<code>this</code>): <code>T</code></p><h4 id="type-parameters-47" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-47" aria-label="Permalink to &quot;Type parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h4 id="parameters-80" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-80" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h4 id="returns-82" tabindex="-1">Returns <a class="header-anchor" href="#returns-82" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><code>T</code></p><h4 id="defined-in-48" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-48" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1305" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1305</a></p><p> <strong>acosh</strong>(<code>this</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="parameters-81" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-81" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-83" tabindex="-1">Returns <a class="header-anchor" href="#returns-83" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-49" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-49" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1306" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1306</a></p><hr><h3 id="add" tabindex="-1">add <a class="header-anchor" href="#add" aria-label="Permalink to &quot;add&quot;"></a></h3><p> <strong>add</strong>&lt;<code>T</code>&gt;(<code>this</code>, <code>value</code>): <code>T</code></p><h4 id="type-parameters-48" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-48" aria-label="Permalink to &quot;Type parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h4 id="parameters-82" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-82" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><code>T</code></td></tr><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-84" tabindex="-1">Returns <a class="header-anchor" href="#returns-84" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><code>T</code></p><h4 id="defined-in-50" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-50" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L993" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:993</a></p><p> <strong>add</strong>&lt;<code>T</code>&gt;(<code>this</code>, <code>value</code>): <code>T</code></p><h4 id="type-parameters-49" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-49" aria-label="Permalink to &quot;Type parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h4 id="parameters-83" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-83" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></td></tr><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h4 id="returns-85" tabindex="-1">Returns <a class="header-anchor" href="#returns-85" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><code>T</code></p><h4 id="defined-in-51" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-51" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L994" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:994</a></p><p> <strong>add</strong>(<code>this</code>, <code>value</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="parameters-84" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-84" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></td></tr><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-86" tabindex="-1">Returns <a class="header-anchor" href="#returns-86" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-52" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-52" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L995" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:995</a></p><hr><h3 id="asin" tabindex="-1">asin <a class="header-anchor" href="#asin" aria-label="Permalink to &quot;asin&quot;"></a></h3><p> <strong>asin</strong>&lt;<code>T</code>&gt;(<code>this</code>): <code>T</code></p><h4 id="type-parameters-50" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-50" aria-label="Permalink to &quot;Type parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h4 id="parameters-85" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-85" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h4 id="returns-87" tabindex="-1">Returns <a class="header-anchor" href="#returns-87" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><code>T</code></p><h4 id="defined-in-53" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-53" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1263" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1263</a></p><p> <strong>asin</strong>(<code>this</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="parameters-86" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-86" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-88" tabindex="-1">Returns <a class="header-anchor" href="#returns-88" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-54" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-54" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1264" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1264</a></p><hr><h3 id="asinh" tabindex="-1">asinh <a class="header-anchor" href="#asinh" aria-label="Permalink to &quot;asinh&quot;"></a></h3><p> <strong>asinh</strong>&lt;<code>T</code>&gt;(<code>this</code>): <code>T</code></p><h4 id="type-parameters-51" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-51" aria-label="Permalink to &quot;Type parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h4 id="parameters-87" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-87" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h4 id="returns-89" tabindex="-1">Returns <a class="header-anchor" href="#returns-89" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><code>T</code></p><h4 id="defined-in-55" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-55" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1299" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1299</a></p><p> <strong>asinh</strong>(<code>this</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="parameters-88" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-88" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-90" tabindex="-1">Returns <a class="header-anchor" href="#returns-90" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-56" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-56" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1300" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1300</a></p><hr><h3 id="atan" tabindex="-1">atan <a class="header-anchor" href="#atan" aria-label="Permalink to &quot;atan&quot;"></a></h3><p> <strong>atan</strong>&lt;<code>T</code>&gt;(<code>this</code>): <code>T</code></p><h4 id="type-parameters-52" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-52" aria-label="Permalink to &quot;Type parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h4 id="parameters-89" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-89" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h4 id="returns-91" tabindex="-1">Returns <a class="header-anchor" href="#returns-91" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><code>T</code></p><h4 id="defined-in-57" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-57" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1275" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1275</a></p><p> <strong>atan</strong>(<code>this</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="parameters-90" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-90" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-92" tabindex="-1">Returns <a class="header-anchor" href="#returns-92" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-58" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-58" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1276" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1276</a></p><hr><h3 id="atanh" tabindex="-1">atanh <a class="header-anchor" href="#atanh" aria-label="Permalink to &quot;atanh&quot;"></a></h3><p> <strong>atanh</strong>&lt;<code>T</code>&gt;(<code>this</code>): <code>T</code></p><h4 id="type-parameters-53" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-53" aria-label="Permalink to &quot;Type parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h4 id="parameters-91" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-91" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h4 id="returns-93" tabindex="-1">Returns <a class="header-anchor" href="#returns-93" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><code>T</code></p><h4 id="defined-in-59" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-59" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1311" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1311</a></p><p> <strong>atanh</strong>(<code>this</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="parameters-92" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-92" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-94" tabindex="-1">Returns <a class="header-anchor" href="#returns-94" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-60" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-60" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1312" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1312</a></p><hr><h3 id="calculateconstantofintegration" tabindex="-1">calculateConstantOfIntegration <a class="header-anchor" href="#calculateconstantofintegration" aria-label="Permalink to &quot;calculateConstantOfIntegration&quot;"></a></h3><p> <strong>calculateConstantOfIntegration</strong>(): <a href="../../lib/break_eternity.default"><code>default</code></a></p><p>Calculates C for the implementation of the integral formula for this formula.</p><h4 id="returns-95" tabindex="-1">Returns <a class="header-anchor" href="#returns-95" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="../../lib/break_eternity.default"><code>default</code></a></p><h4 id="defined-in-61" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-61" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L128" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:128</a></p><hr><h3 id="cbrt" tabindex="-1">cbrt <a class="header-anchor" href="#cbrt" aria-label="Permalink to &quot;cbrt&quot;"></a></h3><p> <strong>cbrt</strong>&lt;<code>T</code>&gt;(<code>this</code>): <code>T</code></p><h4 id="type-parameters-54" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-54" aria-label="Permalink to &quot;Type parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h4 id="parameters-93" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-93" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h4 id="returns-96" tabindex="-1">Returns <a class="header-anchor" href="#returns-96" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><code>T</code></p><h4 id="defined-in-62" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-62" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1160" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1160</a></p><p> <strong>cbrt</strong>(<code>this</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="parameters-94" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-94" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-97" tabindex="-1">Returns <a class="header-anchor" href="#returns-97" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-63" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-63" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1161" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1161</a></p><hr><h3 id="ceil" tabindex="-1">ceil <a class="header-anchor" href="#ceil" aria-label="Permalink to &quot;ceil&quot;"></a></h3><p> <strong>ceil</strong>(): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="returns-98" tabindex="-1">Returns <a class="header-anchor" href="#returns-98" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-64" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-64" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L985" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:985</a></p><hr><h3 id="clamp" tabindex="-1">clamp <a class="header-anchor" href="#clamp" aria-label="Permalink to &quot;clamp&quot;"></a></h3><p> <strong>clamp</strong>(<code>min</code>, <code>max</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="parameters-95" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-95" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>min</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr><tr><td style="text-align:left;"><code>max</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-99" tabindex="-1">Returns <a class="header-anchor" href="#returns-99" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-65" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-65" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1053" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1053</a></p><hr><h3 id="clampmax-1" tabindex="-1">clampMax <a class="header-anchor" href="#clampmax-1" aria-label="Permalink to &quot;clampMax&quot;"></a></h3><p> <strong>clampMax</strong>(<code>value</code>): <a href="./formulas.default"><code>default</code></a>&lt;[<a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>, <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>]&gt;</p><h4 id="parameters-96" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-96" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-100" tabindex="-1">Returns <a class="header-anchor" href="#returns-100" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./formulas.default"><code>default</code></a>&lt;[<a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>, <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>]&gt;</p><h4 id="defined-in-66" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-66" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1061" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1061</a></p><hr><h3 id="clampmin-1" tabindex="-1">clampMin <a class="header-anchor" href="#clampmin-1" aria-label="Permalink to &quot;clampMin&quot;"></a></h3><p> <strong>clampMin</strong>(<code>value</code>): <a href="./formulas.default"><code>default</code></a>&lt;[<a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>, <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>]&gt;</p><h4 id="parameters-97" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-97" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-101" tabindex="-1">Returns <a class="header-anchor" href="#returns-101" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./formulas.default"><code>default</code></a>&lt;[<a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>, <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>]&gt;</p><h4 id="defined-in-67" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-67" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1057" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1057</a></p><hr><h3 id="conditional" tabindex="-1">conditional <a class="header-anchor" href="#conditional" aria-label="Permalink to &quot;conditional&quot;"></a></h3><p> <strong>conditional</strong>(<code>condition</code>, <code>formulaModifier</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="parameters-98" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-98" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>condition</code></td><td style="text-align:left;"><a href="./../../../modules/util/computed#computable"><code>Computable</code></a>&lt;<code>boolean</code>&gt;</td></tr><tr><td style="text-align:left;"><code>formulaModifier</code></td><td style="text-align:left;">(<code>value</code>: <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a> &amp; { <code>invert</code>: (<code>value</code>: <a href="./../../../modules/lib/break_eternity#decimalsource"><code>DecimalSource</code></a>) =&gt; <a href="./../../../modules/lib/break_eternity#decimalsource"><code>DecimalSource</code></a> } &amp; { <code>evaluateIntegral</code>: (<code>variable?</code>: <a href="./../../../modules/lib/break_eternity#decimalsource"><code>DecimalSource</code></a>) =&gt; <a href="./../../../modules/lib/break_eternity#decimalsource"><code>DecimalSource</code></a> } &amp; { <code>invertIntegral</code>: (<code>value</code>: <a href="./../../../modules/lib/break_eternity#decimalsource"><code>DecimalSource</code></a>) =&gt; <a href="./../../../modules/lib/break_eternity#decimalsource"><code>DecimalSource</code></a> }) =&gt; <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></td></tr></tbody></table><h4 id="returns-102" tabindex="-1">Returns <a class="header-anchor" href="#returns-102" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-68" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-68" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L951" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:951</a></p><hr><h3 id="cos" tabindex="-1">cos <a class="header-anchor" href="#cos" aria-label="Permalink to &quot;cos&quot;"></a></h3><p> <strong>cos</strong>&lt;<code>T</code>&gt;(<code>this</code>): <code>T</code></p><h4 id="type-parameters-55" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-55" aria-label="Permalink to &quot;Type parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h4 id="parameters-99" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-99" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h4 id="returns-103" tabindex="-1">Returns <a class="header-anchor" href="#returns-103" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><code>T</code></p><h4 id="defined-in-69" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-69" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1251" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1251</a></p><p> <strong>cos</strong>(<code>this</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="parameters-100" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-100" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-104" tabindex="-1">Returns <a class="header-anchor" href="#returns-104" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-70" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-70" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1252" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1252</a></p><hr><h3 id="cosh" tabindex="-1">cosh <a class="header-anchor" href="#cosh" aria-label="Permalink to &quot;cosh&quot;"></a></h3><p> <strong>cosh</strong>&lt;<code>T</code>&gt;(<code>this</code>): <code>T</code></p><h4 id="type-parameters-56" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-56" aria-label="Permalink to &quot;Type parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h4 id="parameters-101" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-101" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h4 id="returns-105" tabindex="-1">Returns <a class="header-anchor" href="#returns-105" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><code>T</code></p><h4 id="defined-in-71" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-71" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1287" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1287</a></p><p> <strong>cosh</strong>(<code>this</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="parameters-102" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-102" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-106" tabindex="-1">Returns <a class="header-anchor" href="#returns-106" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-72" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-72" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1288" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1288</a></p><hr><h3 id="cube" tabindex="-1">cube <a class="header-anchor" href="#cube" aria-label="Permalink to &quot;cube&quot;"></a></h3><p> <strong>cube</strong>&lt;<code>T</code>&gt;(<code>this</code>): <code>T</code></p><h4 id="type-parameters-57" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-57" aria-label="Permalink to &quot;Type parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h4 id="parameters-103" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-103" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h4 id="returns-107" tabindex="-1">Returns <a class="header-anchor" href="#returns-107" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><code>T</code></p><h4 id="defined-in-73" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-73" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1154" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1154</a></p><p> <strong>cube</strong>(<code>this</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="parameters-104" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-104" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-108" tabindex="-1">Returns <a class="header-anchor" href="#returns-108" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-74" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-74" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1155" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1155</a></p><hr><h3 id="div" tabindex="-1">div <a class="header-anchor" href="#div" aria-label="Permalink to &quot;div&quot;"></a></h3><p> <strong>div</strong>&lt;<code>T</code>&gt;(<code>this</code>, <code>value</code>): <code>T</code></p><h4 id="type-parameters-58" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-58" aria-label="Permalink to &quot;Type parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h4 id="parameters-105" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-105" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><code>T</code></td></tr><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-109" tabindex="-1">Returns <a class="header-anchor" href="#returns-109" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><code>T</code></p><h4 id="defined-in-75" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-75" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1019" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1019</a></p><p> <strong>div</strong>&lt;<code>T</code>&gt;(<code>this</code>, <code>value</code>): <code>T</code></p><h4 id="type-parameters-59" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-59" aria-label="Permalink to &quot;Type parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h4 id="parameters-106" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-106" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></td></tr><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h4 id="returns-110" tabindex="-1">Returns <a class="header-anchor" href="#returns-110" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><code>T</code></p><h4 id="defined-in-76" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-76" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1020" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1020</a></p><p> <strong>div</strong>(<code>this</code>, <code>value</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="parameters-107" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-107" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></td></tr><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-111" tabindex="-1">Returns <a class="header-anchor" href="#returns-111" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-77" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-77" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1021" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1021</a></p><hr><h3 id="equals" tabindex="-1">equals <a class="header-anchor" href="#equals" aria-label="Permalink to &quot;equals&quot;"></a></h3><p> <strong>equals</strong>(<code>other</code>): <code>boolean</code></p><p>Compares if two formulas are equivalent to each other. Note that function contexts can lead to false negatives.</p><h4 id="parameters-108" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-108" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th><th style="text-align:left;">Description</th></tr></thead><tbody><tr><td style="text-align:left;"><code>other</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></td><td style="text-align:left;">The formula to compare to this one.</td></tr></tbody></table><h4 id="returns-112" tabindex="-1">Returns <a class="header-anchor" href="#returns-112" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><code>boolean</code></p><h4 id="defined-in-78" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-78" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L281" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:281</a></p><hr><h3 id="evaluate" tabindex="-1">evaluate <a class="header-anchor" href="#evaluate" aria-label="Permalink to &quot;evaluate&quot;"></a></h3><p> <strong>evaluate</strong>(<code>variable?</code>): <a href="./../../../modules/lib/break_eternity#decimalsource"><code>DecimalSource</code></a></p><p>Evaluate the current result of the formula</p><h4 id="parameters-109" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-109" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th><th style="text-align:left;">Description</th></tr></thead><tbody><tr><td style="text-align:left;"><code>variable?</code></td><td style="text-align:left;"><a href="./../../../modules/lib/break_eternity#decimalsource"><code>DecimalSource</code></a></td><td style="text-align:left;">Optionally override the value of the variable while evaluating. Ignored if there is not variable</td></tr></tbody></table><h4 id="returns-113" tabindex="-1">Returns <a class="header-anchor" href="#returns-113" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/lib/break_eternity#decimalsource"><code>DecimalSource</code></a></p><h4 id="defined-in-79" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-79" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L162" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:162</a></p><hr><h3 id="evaluateintegral" tabindex="-1">evaluateIntegral <a class="header-anchor" href="#evaluateintegral" aria-label="Permalink to &quot;evaluateIntegral&quot;"></a></h3><p> <strong>evaluateIntegral</strong>(<code>variable?</code>): <a href="./../../../modules/lib/break_eternity#decimalsource"><code>DecimalSource</code></a></p><p>Evaluate the result of the indefinite integral (sans the constant of integration). Only works if there&#39;s a single variable and the formula is integrable. The formula can only have one &quot;complex&quot; operation (anything besides +,-,*,/).</p><p><strong><code>See</code></strong></p><p><a href="./formulas.default#isintegrable">isIntegrable</a></p><h4 id="parameters-110" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-110" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th><th style="text-align:left;">Description</th></tr></thead><tbody><tr><td style="text-align:left;"><code>variable?</code></td><td style="text-align:left;"><a href="./../../../modules/lib/break_eternity#decimalsource"><code>DecimalSource</code></a></td><td style="text-align:left;">Optionally override the value of the variable while evaluating</td></tr></tbody></table><h4 id="returns-114" tabindex="-1">Returns <a class="header-anchor" href="#returns-114" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/lib/break_eternity#decimalsource"><code>DecimalSource</code></a></p><h4 id="defined-in-80" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-80" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L194" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:194</a></p><hr><h3 id="exp" tabindex="-1">exp <a class="header-anchor" href="#exp" aria-label="Permalink to &quot;exp&quot;"></a></h3><p> <strong>exp</strong>&lt;<code>T</code>&gt;(<code>this</code>): <code>T</code></p><h4 id="type-parameters-60" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-60" aria-label="Permalink to &quot;Type parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h4 id="parameters-111" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-111" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h4 id="returns-115" tabindex="-1">Returns <a class="header-anchor" href="#returns-115" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><code>T</code></p><h4 id="defined-in-81" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-81" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1137" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1137</a></p><p> <strong>exp</strong>(<code>this</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="parameters-112" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-112" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-116" tabindex="-1">Returns <a class="header-anchor" href="#returns-116" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-82" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-82" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1138" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1138</a></p><hr><h3 id="factorial" tabindex="-1">factorial <a class="header-anchor" href="#factorial" aria-label="Permalink to &quot;factorial&quot;"></a></h3><p> <strong>factorial</strong>(): <a href="./formulas.default"><code>default</code></a>&lt;[<a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>]&gt;</p><h4 id="returns-117" tabindex="-1">Returns <a class="header-anchor" href="#returns-117" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./formulas.default"><code>default</code></a>&lt;[<a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>]&gt;</p><h4 id="defined-in-83" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-83" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1126" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1126</a></p><hr><h3 id="floor" tabindex="-1">floor <a class="header-anchor" href="#floor" aria-label="Permalink to &quot;floor&quot;"></a></h3><p> <strong>floor</strong>(): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="returns-118" tabindex="-1">Returns <a class="header-anchor" href="#returns-118" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-84" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-84" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L981" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:981</a></p><hr><h3 id="gamma" tabindex="-1">gamma <a class="header-anchor" href="#gamma" aria-label="Permalink to &quot;gamma&quot;"></a></h3><p> <strong>gamma</strong>(): <a href="./formulas.default"><code>default</code></a>&lt;[<a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>]&gt;</p><h4 id="returns-119" tabindex="-1">Returns <a class="header-anchor" href="#returns-119" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./formulas.default"><code>default</code></a>&lt;[<a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>]&gt;</p><h4 id="defined-in-85" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-85" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1130" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1130</a></p><hr><h3 id="getintegralformula" tabindex="-1">getIntegralFormula <a class="header-anchor" href="#getintegralformula" aria-label="Permalink to &quot;getIntegralFormula&quot;"></a></h3><p> <strong>getIntegralFormula</strong>(<code>stack?</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><p>Get a formula that will evaluate to the integral of this formula. May also be invertible.</p><h4 id="parameters-113" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-113" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th><th style="text-align:left;">Description</th></tr></thead><tbody><tr><td style="text-align:left;"><code>stack?</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#substitutionstack"><code>SubstitutionStack</code></a></td><td style="text-align:left;">For nested formulas, a stack of operations that occur outside the complex operation.</td></tr></tbody></table><h4 id="returns-120" tabindex="-1">Returns <a class="header-anchor" href="#returns-120" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-86" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-86" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L217" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:217</a></p><hr><h3 id="hasvariable" tabindex="-1">hasVariable <a class="header-anchor" href="#hasvariable" aria-label="Permalink to &quot;hasVariable&quot;"></a></h3><p> <strong>hasVariable</strong>(): <code>boolean</code></p><p>Whether or not this formula has a singular variable inside it, which can be accessed via <a href="./formulas.default#innermostvariable">innermostVariable</a>.</p><h4 id="returns-121" tabindex="-1">Returns <a class="header-anchor" href="#returns-121" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><code>boolean</code></p><h4 id="defined-in-87" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-87" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L154" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:154</a></p><hr><h3 id="if" tabindex="-1">if <a class="header-anchor" href="#if" aria-label="Permalink to &quot;if&quot;"></a></h3><p> <strong>if</strong>(<code>condition</code>, <code>formulaModifier</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="parameters-114" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-114" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>condition</code></td><td style="text-align:left;"><a href="./../../../modules/util/computed#computable"><code>Computable</code></a>&lt;<code>boolean</code>&gt;</td></tr><tr><td style="text-align:left;"><code>formulaModifier</code></td><td style="text-align:left;">(<code>value</code>: <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a> &amp; { <code>invert</code>: (<code>value</code>: <a href="./../../../modules/lib/break_eternity#decimalsource"><code>DecimalSource</code></a>) =&gt; <a href="./../../../modules/lib/break_eternity#decimalsource"><code>DecimalSource</code></a> } &amp; { <code>evaluateIntegral</code>: (<code>variable?</code>: <a href="./../../../modules/lib/break_eternity#decimalsource"><code>DecimalSource</code></a>) =&gt; <a href="./../../../modules/lib/break_eternity#decimalsource"><code>DecimalSource</code></a> } &amp; { <code>invertIntegral</code>: (<code>value</code>: <a href="./../../../modules/lib/break_eternity#decimalsource"><code>DecimalSource</code></a>) =&gt; <a href="./../../../modules/lib/break_eternity#decimalsource"><code>DecimalSource</code></a> }) =&gt; <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></td></tr></tbody></table><h4 id="returns-122" tabindex="-1">Returns <a class="header-anchor" href="#returns-122" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-88" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-88" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L943" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:943</a></p><hr><h3 id="invert" tabindex="-1">invert <a class="header-anchor" href="#invert" aria-label="Permalink to &quot;invert&quot;"></a></h3><p> <strong>invert</strong>(<code>value</code>): <a href="./../../../modules/lib/break_eternity#decimalsource"><code>DecimalSource</code></a></p><p>Takes a potential result of the formula, and calculates what value the variable inside the formula would have to be for that result to occur. Only works if there&#39;s a single variable and if the formula is invertible.</p><p><strong><code>See</code></strong></p><p><a href="./formulas.default#isinvertible">isInvertible</a></p><h4 id="parameters-115" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-115" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th><th style="text-align:left;">Description</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/lib/break_eternity#decimalsource"><code>DecimalSource</code></a></td><td style="text-align:left;">The result of the formula</td></tr></tbody></table><h4 id="returns-123" tabindex="-1">Returns <a class="header-anchor" href="#returns-123" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/lib/break_eternity#decimalsource"><code>DecimalSource</code></a></p><h4 id="defined-in-89" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-89" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L180" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:180</a></p><hr><h3 id="invertintegral" tabindex="-1">invertIntegral <a class="header-anchor" href="#invertintegral" aria-label="Permalink to &quot;invertIntegral&quot;"></a></h3><p> <strong>invertIntegral</strong>(<code>value</code>): <a href="./../../../modules/lib/break_eternity#decimalsource"><code>DecimalSource</code></a></p><p>Given the potential result of the formula&#39;s integral (and the constant of integration), calculate what value the variable inside the formula would have to be for that result to occur. Only works if there&#39;s a single variable and if the formula&#39;s integral is invertible.</p><p><strong><code>See</code></strong></p><p><a href="./formulas.default#isintegralinvertible">isIntegralInvertible</a></p><h4 id="parameters-116" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-116" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th><th style="text-align:left;">Description</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/lib/break_eternity#decimalsource"><code>DecimalSource</code></a></td><td style="text-align:left;">The result of the integral.</td></tr></tbody></table><h4 id="returns-124" tabindex="-1">Returns <a class="header-anchor" href="#returns-124" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/lib/break_eternity#decimalsource"><code>DecimalSource</code></a></p><h4 id="defined-in-90" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-90" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L206" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:206</a></p><hr><h3 id="isintegrable" tabindex="-1">isIntegrable <a class="header-anchor" href="#isintegrable" aria-label="Permalink to &quot;isIntegrable&quot;"></a></h3><p> <strong>isIntegrable</strong>(): this is IntegrableFormula</p><p>Type predicate that this formula can be integrated.</p><h4 id="returns-125" tabindex="-1">Returns <a class="header-anchor" href="#returns-125" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p>this is IntegrableFormula</p><h4 id="defined-in-91" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-91" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L141" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:141</a></p><hr><h3 id="isintegralinvertible" tabindex="-1">isIntegralInvertible <a class="header-anchor" href="#isintegralinvertible" aria-label="Permalink to &quot;isIntegralInvertible&quot;"></a></h3><p> <strong>isIntegralInvertible</strong>(): this is InvertibleIntegralFormula</p><p>Type predicate that this formula has an integral function that can be inverted.</p><h4 id="returns-126" tabindex="-1">Returns <a class="header-anchor" href="#returns-126" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p>this is InvertibleIntegralFormula</p><h4 id="defined-in-92" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-92" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L146" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:146</a></p><hr><h3 id="isinvertible" tabindex="-1">isInvertible <a class="header-anchor" href="#isinvertible" aria-label="Permalink to &quot;isInvertible&quot;"></a></h3><p> <strong>isInvertible</strong>(): this is InvertibleFormula</p><p>Type predicate that this formula can be inverted.</p><h4 id="returns-127" tabindex="-1">Returns <a class="header-anchor" href="#returns-127" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p>this is InvertibleFormula</p><h4 id="defined-in-93" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-93" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L136" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:136</a></p><hr><h3 id="iteratedexp" tabindex="-1">iteratedexp <a class="header-anchor" href="#iteratedexp" aria-label="Permalink to &quot;iteratedexp&quot;"></a></h3><p> <strong>iteratedexp</strong>&lt;<code>T</code>&gt;(<code>this</code>, <code>height?</code>, <code>payload?</code>): <a href="https://www.typescriptlang.org/docs/handbook/utility-types.html#omittype-keys" target="_blank" rel="noreferrer"><code>Omit</code></a>&lt;<code>T</code>, <code>&quot;integrate&quot;</code>&gt;</p><h4 id="type-parameters-61" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-61" aria-label="Permalink to &quot;Type parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h4 id="parameters-117" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-117" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><code>T</code></td></tr><tr><td style="text-align:left;"><code>height?</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr><tr><td style="text-align:left;"><code>payload?</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-128" tabindex="-1">Returns <a class="header-anchor" href="#returns-128" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="https://www.typescriptlang.org/docs/handbook/utility-types.html#omittype-keys" target="_blank" rel="noreferrer"><code>Omit</code></a>&lt;<code>T</code>, <code>&quot;integrate&quot;</code>&gt;</p><h4 id="defined-in-94" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-94" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1184" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1184</a></p><p> <strong>iteratedexp</strong>(<code>this</code>, <code>height?</code>, <code>payload?</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="parameters-118" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-118" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr><tr><td style="text-align:left;"><code>height?</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr><tr><td style="text-align:left;"><code>payload?</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-129" tabindex="-1">Returns <a class="header-anchor" href="#returns-129" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-95" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-95" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1189" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1189</a></p><hr><h3 id="iteratedlog" tabindex="-1">iteratedlog <a class="header-anchor" href="#iteratedlog" aria-label="Permalink to &quot;iteratedlog&quot;"></a></h3><p> <strong>iteratedlog</strong>(<code>base?</code>, <code>times?</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="parameters-119" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-119" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th><th style="text-align:left;">Default value</th></tr></thead><tbody><tr><td style="text-align:left;"><code>base</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td><td style="text-align:left;"><code>10</code></td></tr><tr><td style="text-align:left;"><code>times</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td><td style="text-align:left;"><code>1</code></td></tr></tbody></table><h4 id="returns-130" tabindex="-1">Returns <a class="header-anchor" href="#returns-130" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-96" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-96" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1202" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1202</a></p><hr><h3 id="lambertw" tabindex="-1">lambertw <a class="header-anchor" href="#lambertw" aria-label="Permalink to &quot;lambertw&quot;"></a></h3><p> <strong>lambertw</strong>&lt;<code>T</code>&gt;(<code>this</code>): <a href="https://www.typescriptlang.org/docs/handbook/utility-types.html#omittype-keys" target="_blank" rel="noreferrer"><code>Omit</code></a>&lt;<code>T</code>, <code>&quot;integrate&quot;</code>&gt;</p><h4 id="type-parameters-62" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-62" aria-label="Permalink to &quot;Type parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h4 id="parameters-120" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-120" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h4 id="returns-131" tabindex="-1">Returns <a class="header-anchor" href="#returns-131" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="https://www.typescriptlang.org/docs/handbook/utility-types.html#omittype-keys" target="_blank" rel="noreferrer"><code>Omit</code></a>&lt;<code>T</code>, <code>&quot;integrate&quot;</code>&gt;</p><h4 id="defined-in-97" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-97" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1226" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1226</a></p><p> <strong>lambertw</strong>(<code>this</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="parameters-121" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-121" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-132" tabindex="-1">Returns <a class="header-anchor" href="#returns-132" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-98" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-98" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1227" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1227</a></p><hr><h3 id="layeradd" tabindex="-1">layeradd <a class="header-anchor" href="#layeradd" aria-label="Permalink to &quot;layeradd&quot;"></a></h3><p> <strong>layeradd</strong>&lt;<code>T</code>&gt;(<code>this</code>, <code>diff</code>, <code>base?</code>): <a href="https://www.typescriptlang.org/docs/handbook/utility-types.html#omittype-keys" target="_blank" rel="noreferrer"><code>Omit</code></a>&lt;<code>T</code>, <code>&quot;integrate&quot;</code>&gt;</p><h4 id="type-parameters-63" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-63" aria-label="Permalink to &quot;Type parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h4 id="parameters-122" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-122" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><code>T</code></td></tr><tr><td style="text-align:left;"><code>diff</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr><tr><td style="text-align:left;"><code>base?</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-133" tabindex="-1">Returns <a class="header-anchor" href="#returns-133" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="https://www.typescriptlang.org/docs/handbook/utility-types.html#omittype-keys" target="_blank" rel="noreferrer"><code>Omit</code></a>&lt;<code>T</code>, <code>&quot;integrate&quot;</code>&gt;</p><h4 id="defined-in-99" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-99" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1216" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1216</a></p><p> <strong>layeradd</strong>(<code>this</code>, <code>diff</code>, <code>base?</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="parameters-123" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-123" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr><tr><td style="text-align:left;"><code>diff</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr><tr><td style="text-align:left;"><code>base?</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-134" tabindex="-1">Returns <a class="header-anchor" href="#returns-134" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-100" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-100" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1221" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1221</a></p><hr><h3 id="layeradd10" tabindex="-1">layeradd10 <a class="header-anchor" href="#layeradd10" aria-label="Permalink to &quot;layeradd10&quot;"></a></h3><p> <strong>layeradd10</strong>(<code>diff</code>): <a href="./formulas.default"><code>default</code></a>&lt;[<a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>, <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>]&gt;</p><h4 id="parameters-124" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-124" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>diff</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-135" tabindex="-1">Returns <a class="header-anchor" href="#returns-135" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./formulas.default"><code>default</code></a>&lt;[<a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>, <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>]&gt;</p><h4 id="defined-in-101" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-101" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1212" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1212</a></p><hr><h3 id="ln" tabindex="-1">ln <a class="header-anchor" href="#ln" aria-label="Permalink to &quot;ln&quot;"></a></h3><p> <strong>ln</strong>&lt;<code>T</code>&gt;(<code>this</code>): <code>T</code></p><h4 id="type-parameters-64" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-64" aria-label="Permalink to &quot;Type parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h4 id="parameters-125" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-125" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h4 id="returns-136" tabindex="-1">Returns <a class="header-anchor" href="#returns-136" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><code>T</code></p><h4 id="defined-in-102" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-102" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1093" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1093</a></p><p> <strong>ln</strong>(<code>this</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="parameters-126" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-126" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-137" tabindex="-1">Returns <a class="header-anchor" href="#returns-137" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-103" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-103" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1094" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1094</a></p><hr><h3 id="lngamma" tabindex="-1">lngamma <a class="header-anchor" href="#lngamma" aria-label="Permalink to &quot;lngamma&quot;"></a></h3><p> <strong>lngamma</strong>(): <a href="./formulas.default"><code>default</code></a>&lt;[<a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>]&gt;</p><h4 id="returns-138" tabindex="-1">Returns <a class="header-anchor" href="#returns-138" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./formulas.default"><code>default</code></a>&lt;[<a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>]&gt;</p><h4 id="defined-in-104" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-104" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1133" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1133</a></p><hr><h3 id="log" tabindex="-1">log <a class="header-anchor" href="#log" aria-label="Permalink to &quot;log&quot;"></a></h3><p> <strong>log</strong>&lt;<code>T</code>&gt;(<code>this</code>, <code>value</code>): <code>T</code></p><h4 id="type-parameters-65" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-65" aria-label="Permalink to &quot;Type parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h4 id="parameters-127" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-127" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><code>T</code></td></tr><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-139" tabindex="-1">Returns <a class="header-anchor" href="#returns-139" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><code>T</code></p><h4 id="defined-in-105" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-105" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1079" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1079</a></p><p> <strong>log</strong>&lt;<code>T</code>&gt;(<code>this</code>, <code>value</code>): <code>T</code></p><h4 id="type-parameters-66" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-66" aria-label="Permalink to &quot;Type parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h4 id="parameters-128" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-128" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h4 id="returns-140" tabindex="-1">Returns <a class="header-anchor" href="#returns-140" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><code>T</code></p><h4 id="defined-in-106" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-106" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1080" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1080</a></p><p> <strong>log</strong>(<code>this</code>, <code>value</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="parameters-129" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-129" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-141" tabindex="-1">Returns <a class="header-anchor" href="#returns-141" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-107" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-107" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1081" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1081</a></p><hr><h3 id="log10" tabindex="-1">log10 <a class="header-anchor" href="#log10" aria-label="Permalink to &quot;log10&quot;"></a></h3><p> <strong>log10</strong>&lt;<code>T</code>&gt;(<code>this</code>): <code>T</code></p><h4 id="type-parameters-67" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-67" aria-label="Permalink to &quot;Type parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h4 id="parameters-130" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-130" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h4 id="returns-142" tabindex="-1">Returns <a class="header-anchor" href="#returns-142" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><code>T</code></p><h4 id="defined-in-108" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-108" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1073" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1073</a></p><p> <strong>log10</strong>(<code>this</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="parameters-131" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-131" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-143" tabindex="-1">Returns <a class="header-anchor" href="#returns-143" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-109" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-109" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1074" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1074</a></p><hr><h3 id="log2" tabindex="-1">log2 <a class="header-anchor" href="#log2" aria-label="Permalink to &quot;log2&quot;"></a></h3><p> <strong>log2</strong>&lt;<code>T</code>&gt;(<code>this</code>): <code>T</code></p><h4 id="type-parameters-68" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-68" aria-label="Permalink to &quot;Type parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h4 id="parameters-132" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-132" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h4 id="returns-144" tabindex="-1">Returns <a class="header-anchor" href="#returns-144" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><code>T</code></p><h4 id="defined-in-110" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-110" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1087" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1087</a></p><p> <strong>log2</strong>(<code>this</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="parameters-133" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-133" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-145" tabindex="-1">Returns <a class="header-anchor" href="#returns-145" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-111" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-111" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1088" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1088</a></p><hr><h3 id="max-1" tabindex="-1">max <a class="header-anchor" href="#max-1" aria-label="Permalink to &quot;max&quot;"></a></h3><p> <strong>max</strong>(<code>value</code>): <a href="./formulas.default"><code>default</code></a>&lt;[<a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>, <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>]&gt;</p><h4 id="parameters-134" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-134" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-146" tabindex="-1">Returns <a class="header-anchor" href="#returns-146" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./formulas.default"><code>default</code></a>&lt;[<a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>, <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>]&gt;</p><h4 id="defined-in-112" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-112" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1037" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1037</a></p><hr><h3 id="maxabs-1" tabindex="-1">maxabs <a class="header-anchor" href="#maxabs-1" aria-label="Permalink to &quot;maxabs&quot;"></a></h3><p> <strong>maxabs</strong>(<code>value</code>): <a href="./formulas.default"><code>default</code></a>&lt;[<a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>, <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>]&gt;</p><h4 id="parameters-135" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-135" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-147" tabindex="-1">Returns <a class="header-anchor" href="#returns-147" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./formulas.default"><code>default</code></a>&lt;[<a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>, <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>]&gt;</p><h4 id="defined-in-113" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-113" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1045" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1045</a></p><hr><h3 id="min-1" tabindex="-1">min <a class="header-anchor" href="#min-1" aria-label="Permalink to &quot;min&quot;"></a></h3><p> <strong>min</strong>(<code>value</code>): <a href="./formulas.default"><code>default</code></a>&lt;[<a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>, <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>]&gt;</p><h4 id="parameters-136" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-136" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-148" tabindex="-1">Returns <a class="header-anchor" href="#returns-148" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./formulas.default"><code>default</code></a>&lt;[<a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>, <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>]&gt;</p><h4 id="defined-in-114" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-114" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1041" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1041</a></p><hr><h3 id="minabs-1" tabindex="-1">minabs <a class="header-anchor" href="#minabs-1" aria-label="Permalink to &quot;minabs&quot;"></a></h3><p> <strong>minabs</strong>(<code>value</code>): <a href="./formulas.default"><code>default</code></a>&lt;[<a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>, <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>]&gt;</p><h4 id="parameters-137" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-137" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-149" tabindex="-1">Returns <a class="header-anchor" href="#returns-149" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./formulas.default"><code>default</code></a>&lt;[<a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>, <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>]&gt;</p><h4 id="defined-in-115" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-115" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1049" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1049</a></p><hr><h3 id="mul" tabindex="-1">mul <a class="header-anchor" href="#mul" aria-label="Permalink to &quot;mul&quot;"></a></h3><p> <strong>mul</strong>&lt;<code>T</code>&gt;(<code>this</code>, <code>value</code>): <code>T</code></p><h4 id="type-parameters-69" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-69" aria-label="Permalink to &quot;Type parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h4 id="parameters-138" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-138" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><code>T</code></td></tr><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-150" tabindex="-1">Returns <a class="header-anchor" href="#returns-150" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><code>T</code></p><h4 id="defined-in-116" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-116" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1010" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1010</a></p><p> <strong>mul</strong>&lt;<code>T</code>&gt;(<code>this</code>, <code>value</code>): <code>T</code></p><h4 id="type-parameters-70" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-70" aria-label="Permalink to &quot;Type parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h4 id="parameters-139" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-139" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></td></tr><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h4 id="returns-151" tabindex="-1">Returns <a class="header-anchor" href="#returns-151" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><code>T</code></p><h4 id="defined-in-117" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-117" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1011" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1011</a></p><p> <strong>mul</strong>(<code>this</code>, <code>value</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="parameters-140" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-140" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></td></tr><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-152" tabindex="-1">Returns <a class="header-anchor" href="#returns-152" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-118" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-118" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1012" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1012</a></p><hr><h3 id="neg" tabindex="-1">neg <a class="header-anchor" href="#neg" aria-label="Permalink to &quot;neg&quot;"></a></h3><p> <strong>neg</strong>&lt;<code>T</code>&gt;(<code>this</code>): <code>T</code></p><h4 id="type-parameters-71" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-71" aria-label="Permalink to &quot;Type parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h4 id="parameters-141" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-141" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h4 id="returns-153" tabindex="-1">Returns <a class="header-anchor" href="#returns-153" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><code>T</code></p><h4 id="defined-in-119" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-119" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L964" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:964</a></p><p> <strong>neg</strong>(<code>this</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="parameters-142" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-142" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></td></tr></tbody></table><h4 id="returns-154" tabindex="-1">Returns <a class="header-anchor" href="#returns-154" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-120" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-120" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L965" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:965</a></p><hr><h3 id="plog10" tabindex="-1">pLog10 <a class="header-anchor" href="#plog10" aria-label="Permalink to &quot;pLog10&quot;"></a></h3><p> <strong>pLog10</strong>(): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="returns-155" tabindex="-1">Returns <a class="header-anchor" href="#returns-155" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-121" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-121" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1065" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1065</a></p><hr><h3 id="pentate" tabindex="-1">pentate <a class="header-anchor" href="#pentate" aria-label="Permalink to &quot;pentate&quot;"></a></h3><p> <strong>pentate</strong>(<code>height?</code>, <code>payload?</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="parameters-143" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-143" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th><th style="text-align:left;">Default value</th></tr></thead><tbody><tr><td style="text-align:left;"><code>height</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td><td style="text-align:left;"><code>2</code></td></tr><tr><td style="text-align:left;"><code>payload</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td><td style="text-align:left;"><code>undefined</code></td></tr></tbody></table><h4 id="returns-156" tabindex="-1">Returns <a class="header-anchor" href="#returns-156" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-122" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-122" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1238" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1238</a></p><hr><h3 id="pow" tabindex="-1">pow <a class="header-anchor" href="#pow" aria-label="Permalink to &quot;pow&quot;"></a></h3><p> <strong>pow</strong>&lt;<code>T</code>&gt;(<code>this</code>, <code>value</code>): <code>T</code></p><h4 id="type-parameters-72" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-72" aria-label="Permalink to &quot;Type parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h4 id="parameters-144" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-144" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><code>T</code></td></tr><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-157" tabindex="-1">Returns <a class="header-anchor" href="#returns-157" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><code>T</code></p><h4 id="defined-in-123" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-123" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1099" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1099</a></p><p> <strong>pow</strong>&lt;<code>T</code>&gt;(<code>this</code>, <code>value</code>): <code>T</code></p><h4 id="type-parameters-73" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-73" aria-label="Permalink to &quot;Type parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h4 id="parameters-145" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-145" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h4 id="returns-158" tabindex="-1">Returns <a class="header-anchor" href="#returns-158" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><code>T</code></p><h4 id="defined-in-124" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-124" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1100" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1100</a></p><p> <strong>pow</strong>(<code>this</code>, <code>value</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="parameters-146" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-146" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-159" tabindex="-1">Returns <a class="header-anchor" href="#returns-159" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-125" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-125" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1101" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1101</a></p><hr><h3 id="pow10" tabindex="-1">pow10 <a class="header-anchor" href="#pow10" aria-label="Permalink to &quot;pow10&quot;"></a></h3><p> <strong>pow10</strong>&lt;<code>T</code>&gt;(<code>this</code>): <code>T</code></p><h4 id="type-parameters-74" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-74" aria-label="Permalink to &quot;Type parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h4 id="parameters-147" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-147" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h4 id="returns-160" tabindex="-1">Returns <a class="header-anchor" href="#returns-160" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><code>T</code></p><h4 id="defined-in-126" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-126" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1106" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1106</a></p><p> <strong>pow10</strong>(<code>this</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="parameters-148" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-148" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-161" tabindex="-1">Returns <a class="header-anchor" href="#returns-161" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-127" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-127" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1107" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1107</a></p><hr><h3 id="pow-base" tabindex="-1">pow_base <a class="header-anchor" href="#pow-base" aria-label="Permalink to &quot;pow\\_base&quot;"></a></h3><p> <strong>pow_base</strong>&lt;<code>T</code>&gt;(<code>this</code>, <code>value</code>): <code>T</code></p><h4 id="type-parameters-75" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-75" aria-label="Permalink to &quot;Type parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h4 id="parameters-149" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-149" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><code>T</code></td></tr><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-162" tabindex="-1">Returns <a class="header-anchor" href="#returns-162" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><code>T</code></p><h4 id="defined-in-128" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-128" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1112" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1112</a></p><p> <strong>pow_base</strong>&lt;<code>T</code>&gt;(<code>this</code>, <code>value</code>): <code>T</code></p><h4 id="type-parameters-76" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-76" aria-label="Permalink to &quot;Type parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h4 id="parameters-150" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-150" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h4 id="returns-163" tabindex="-1">Returns <a class="header-anchor" href="#returns-163" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><code>T</code></p><h4 id="defined-in-129" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-129" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1113" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1113</a></p><p> <strong>pow_base</strong>(<code>this</code>, <code>value</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="parameters-151" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-151" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-164" tabindex="-1">Returns <a class="header-anchor" href="#returns-164" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-130" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-130" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1114" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1114</a></p><hr><h3 id="recip" tabindex="-1">recip <a class="header-anchor" href="#recip" aria-label="Permalink to &quot;recip&quot;"></a></h3><p> <strong>recip</strong>&lt;<code>T</code>&gt;(<code>this</code>): <code>T</code></p><h4 id="type-parameters-77" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-77" aria-label="Permalink to &quot;Type parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h4 id="parameters-152" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-152" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h4 id="returns-165" tabindex="-1">Returns <a class="header-anchor" href="#returns-165" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><code>T</code></p><h4 id="defined-in-131" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-131" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1029" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1029</a></p><p> <strong>recip</strong>(<code>this</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="parameters-153" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-153" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-166" tabindex="-1">Returns <a class="header-anchor" href="#returns-166" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-132" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-132" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1030" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1030</a></p><hr><h3 id="root" tabindex="-1">root <a class="header-anchor" href="#root" aria-label="Permalink to &quot;root&quot;"></a></h3><p> <strong>root</strong>&lt;<code>T</code>&gt;(<code>this</code>, <code>value</code>): <code>T</code></p><h4 id="type-parameters-78" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-78" aria-label="Permalink to &quot;Type parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h4 id="parameters-154" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-154" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><code>T</code></td></tr><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-167" tabindex="-1">Returns <a class="header-anchor" href="#returns-167" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><code>T</code></p><h4 id="defined-in-133" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-133" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1119" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1119</a></p><p> <strong>root</strong>&lt;<code>T</code>&gt;(<code>this</code>, <code>value</code>): <code>T</code></p><h4 id="type-parameters-79" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-79" aria-label="Permalink to &quot;Type parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h4 id="parameters-155" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-155" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h4 id="returns-168" tabindex="-1">Returns <a class="header-anchor" href="#returns-168" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><code>T</code></p><h4 id="defined-in-134" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-134" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1120" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1120</a></p><p> <strong>root</strong>(<code>this</code>, <code>value</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="parameters-156" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-156" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-169" tabindex="-1">Returns <a class="header-anchor" href="#returns-169" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-135" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-135" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1121" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1121</a></p><hr><h3 id="round" tabindex="-1">round <a class="header-anchor" href="#round" aria-label="Permalink to &quot;round&quot;"></a></h3><p> <strong>round</strong>(): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="returns-170" tabindex="-1">Returns <a class="header-anchor" href="#returns-170" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-136" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-136" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L977" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:977</a></p><hr><h3 id="setupconstant" tabindex="-1">setupConstant <a class="header-anchor" href="#setupconstant" aria-label="Permalink to &quot;setupConstant&quot;"></a></h3><p> <code>Private</code> <strong>setupConstant</strong>(<code>«destructured»</code>): <a href="./../../../modules/game/formulas/types#internalformulaproperties"><code>InternalFormulaProperties</code></a>&lt;<code>T</code>&gt;</p><h4 id="parameters-157" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-157" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>«destructured»</code></td><td style="text-align:left;"><code>Object</code></td></tr><tr><td style="text-align:left;"> <code>inputs</code></td><td style="text-align:left;">[<a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>]</td></tr></tbody></table><h4 id="returns-171" tabindex="-1">Returns <a class="header-anchor" href="#returns-171" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#internalformulaproperties"><code>InternalFormulaProperties</code></a>&lt;<code>T</code>&gt;</p><h4 id="defined-in-137" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-137" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L93" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:93</a></p><hr><h3 id="setupformula" tabindex="-1">setupFormula <a class="header-anchor" href="#setupformula" aria-label="Permalink to &quot;setupFormula&quot;"></a></h3><p> <code>Private</code> <strong>setupFormula</strong>(<code>options</code>): <a href="./../../../modules/game/formulas/types#internalformulaproperties"><code>InternalFormulaProperties</code></a>&lt;<code>T</code>&gt;</p><h4 id="parameters-158" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-158" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>options</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#generalformulaoptions"><code>GeneralFormulaOptions</code></a>&lt;<code>T</code>&gt;</td></tr></tbody></table><h4 id="returns-172" tabindex="-1">Returns <a class="header-anchor" href="#returns-172" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#internalformulaproperties"><code>InternalFormulaProperties</code></a>&lt;<code>T</code>&gt;</p><h4 id="defined-in-138" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-138" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L103" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:103</a></p><hr><h3 id="setupvariable" tabindex="-1">setupVariable <a class="header-anchor" href="#setupvariable" aria-label="Permalink to &quot;setupVariable&quot;"></a></h3><p> <code>Private</code> <strong>setupVariable</strong>(<code>«destructured»</code>): <a href="./../../../modules/game/formulas/types#internalformulaproperties"><code>InternalFormulaProperties</code></a>&lt;<code>T</code>&gt;</p><h4 id="parameters-159" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-159" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>«destructured»</code></td><td style="text-align:left;"><code>Object</code></td></tr><tr><td style="text-align:left;"> <code>variable</code></td><td style="text-align:left;"><a href="./../../../modules/util/computed#processedcomputable"><code>ProcessedComputable</code></a>&lt;<a href="./../../../modules/lib/break_eternity#decimalsource"><code>DecimalSource</code></a>&gt;</td></tr></tbody></table><h4 id="returns-173" tabindex="-1">Returns <a class="header-anchor" href="#returns-173" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#internalformulaproperties"><code>InternalFormulaProperties</code></a>&lt;<code>T</code>&gt;</p><h4 id="defined-in-139" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-139" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L78" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:78</a></p><hr><h3 id="sign" tabindex="-1">sign <a class="header-anchor" href="#sign" aria-label="Permalink to &quot;sign&quot;"></a></h3><p> <strong>sign</strong>(): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="returns-174" tabindex="-1">Returns <a class="header-anchor" href="#returns-174" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-140" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-140" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L972" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:972</a></p><hr><h3 id="sin" tabindex="-1">sin <a class="header-anchor" href="#sin" aria-label="Permalink to &quot;sin&quot;"></a></h3><p> <strong>sin</strong>&lt;<code>T</code>&gt;(<code>this</code>): <code>T</code></p><h4 id="type-parameters-80" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-80" aria-label="Permalink to &quot;Type parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h4 id="parameters-160" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-160" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h4 id="returns-175" tabindex="-1">Returns <a class="header-anchor" href="#returns-175" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><code>T</code></p><h4 id="defined-in-141" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-141" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1245" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1245</a></p><p> <strong>sin</strong>(<code>this</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="parameters-161" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-161" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-176" tabindex="-1">Returns <a class="header-anchor" href="#returns-176" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-142" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-142" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1246" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1246</a></p><hr><h3 id="sinh" tabindex="-1">sinh <a class="header-anchor" href="#sinh" aria-label="Permalink to &quot;sinh&quot;"></a></h3><p> <strong>sinh</strong>&lt;<code>T</code>&gt;(<code>this</code>): <code>T</code></p><h4 id="type-parameters-81" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-81" aria-label="Permalink to &quot;Type parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h4 id="parameters-162" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-162" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h4 id="returns-177" tabindex="-1">Returns <a class="header-anchor" href="#returns-177" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><code>T</code></p><h4 id="defined-in-143" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-143" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1281" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1281</a></p><p> <strong>sinh</strong>(<code>this</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="parameters-163" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-163" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-178" tabindex="-1">Returns <a class="header-anchor" href="#returns-178" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-144" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-144" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1282" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1282</a></p><hr><h3 id="slog" tabindex="-1">slog <a class="header-anchor" href="#slog" aria-label="Permalink to &quot;slog&quot;"></a></h3><p> <strong>slog</strong>&lt;<code>T</code>&gt;(<code>this</code>, <code>base?</code>): <a href="https://www.typescriptlang.org/docs/handbook/utility-types.html#omittype-keys" target="_blank" rel="noreferrer"><code>Omit</code></a>&lt;<code>T</code>, <code>&quot;integrate&quot;</code>&gt;</p><h4 id="type-parameters-82" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-82" aria-label="Permalink to &quot;Type parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h4 id="parameters-164" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-164" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><code>T</code></td></tr><tr><td style="text-align:left;"><code>base?</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-179" tabindex="-1">Returns <a class="header-anchor" href="#returns-179" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="https://www.typescriptlang.org/docs/handbook/utility-types.html#omittype-keys" target="_blank" rel="noreferrer"><code>Omit</code></a>&lt;<code>T</code>, <code>&quot;integrate&quot;</code>&gt;</p><h4 id="defined-in-145" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-145" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1206" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1206</a></p><p> <strong>slog</strong>(<code>this</code>, <code>base?</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="parameters-165" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-165" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr><tr><td style="text-align:left;"><code>base?</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-180" tabindex="-1">Returns <a class="header-anchor" href="#returns-180" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-146" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-146" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1207" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1207</a></p><hr><h3 id="sqr" tabindex="-1">sqr <a class="header-anchor" href="#sqr" aria-label="Permalink to &quot;sqr&quot;"></a></h3><p> <strong>sqr</strong>&lt;<code>T</code>&gt;(<code>this</code>): <code>T</code></p><h4 id="type-parameters-83" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-83" aria-label="Permalink to &quot;Type parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h4 id="parameters-166" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-166" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h4 id="returns-181" tabindex="-1">Returns <a class="header-anchor" href="#returns-181" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><code>T</code></p><h4 id="defined-in-147" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-147" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1143" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1143</a></p><p> <strong>sqr</strong>(<code>this</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="parameters-167" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-167" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-182" tabindex="-1">Returns <a class="header-anchor" href="#returns-182" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-148" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-148" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1144" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1144</a></p><hr><h3 id="sqrt" tabindex="-1">sqrt <a class="header-anchor" href="#sqrt" aria-label="Permalink to &quot;sqrt&quot;"></a></h3><p> <strong>sqrt</strong>&lt;<code>T</code>&gt;(<code>this</code>): <code>T</code></p><h4 id="type-parameters-84" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-84" aria-label="Permalink to &quot;Type parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h4 id="parameters-168" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-168" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h4 id="returns-183" tabindex="-1">Returns <a class="header-anchor" href="#returns-183" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><code>T</code></p><h4 id="defined-in-149" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-149" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1149" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1149</a></p><p> <strong>sqrt</strong>(<code>this</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="parameters-169" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-169" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-184" tabindex="-1">Returns <a class="header-anchor" href="#returns-184" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-150" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-150" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1150" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1150</a></p><hr><h3 id="ssqrt" tabindex="-1">ssqrt <a class="header-anchor" href="#ssqrt" aria-label="Permalink to &quot;ssqrt&quot;"></a></h3><p> <strong>ssqrt</strong>&lt;<code>T</code>&gt;(<code>this</code>): <a href="https://www.typescriptlang.org/docs/handbook/utility-types.html#omittype-keys" target="_blank" rel="noreferrer"><code>Omit</code></a>&lt;<code>T</code>, <code>&quot;integrate&quot;</code>&gt;</p><h4 id="type-parameters-85" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-85" aria-label="Permalink to &quot;Type parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h4 id="parameters-170" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-170" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h4 id="returns-185" tabindex="-1">Returns <a class="header-anchor" href="#returns-185" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="https://www.typescriptlang.org/docs/handbook/utility-types.html#omittype-keys" target="_blank" rel="noreferrer"><code>Omit</code></a>&lt;<code>T</code>, <code>&quot;integrate&quot;</code>&gt;</p><h4 id="defined-in-151" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-151" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1232" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1232</a></p><p> <strong>ssqrt</strong>(<code>this</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="parameters-171" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-171" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-186" tabindex="-1">Returns <a class="header-anchor" href="#returns-186" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-152" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-152" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1233" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1233</a></p><hr><h3 id="step" tabindex="-1">step <a class="header-anchor" href="#step" aria-label="Permalink to &quot;step&quot;"></a></h3><p> <strong>step</strong>(<code>start</code>, <code>formulaModifier</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="parameters-172" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-172" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>start</code></td><td style="text-align:left;"><a href="./../../../modules/util/computed#computable"><code>Computable</code></a>&lt;<a href="./../../../modules/lib/break_eternity#decimalsource"><code>DecimalSource</code></a>&gt;</td></tr><tr><td style="text-align:left;"><code>formulaModifier</code></td><td style="text-align:left;">(<code>value</code>: <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a> &amp; { <code>invert</code>: (<code>value</code>: <a href="./../../../modules/lib/break_eternity#decimalsource"><code>DecimalSource</code></a>) =&gt; <a href="./../../../modules/lib/break_eternity#decimalsource"><code>DecimalSource</code></a> } &amp; { <code>evaluateIntegral</code>: (<code>variable?</code>: <a href="./../../../modules/lib/break_eternity#decimalsource"><code>DecimalSource</code></a>) =&gt; <a href="./../../../modules/lib/break_eternity#decimalsource"><code>DecimalSource</code></a> } &amp; { <code>invertIntegral</code>: (<code>value</code>: <a href="./../../../modules/lib/break_eternity#decimalsource"><code>DecimalSource</code></a>) =&gt; <a href="./../../../modules/lib/break_eternity#decimalsource"><code>DecimalSource</code></a> }) =&gt; <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></td></tr></tbody></table><h4 id="returns-187" tabindex="-1">Returns <a class="header-anchor" href="#returns-187" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-153" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-153" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L934" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:934</a></p><hr><h3 id="sub" tabindex="-1">sub <a class="header-anchor" href="#sub" aria-label="Permalink to &quot;sub&quot;"></a></h3><p> <strong>sub</strong>&lt;<code>T</code>&gt;(<code>this</code>, <code>value</code>): <code>T</code></p><h4 id="type-parameters-86" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-86" aria-label="Permalink to &quot;Type parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h4 id="parameters-173" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-173" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><code>T</code></td></tr><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-188" tabindex="-1">Returns <a class="header-anchor" href="#returns-188" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><code>T</code></p><h4 id="defined-in-154" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-154" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1001" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1001</a></p><p> <strong>sub</strong>&lt;<code>T</code>&gt;(<code>this</code>, <code>value</code>): <code>T</code></p><h4 id="type-parameters-87" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-87" aria-label="Permalink to &quot;Type parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h4 id="parameters-174" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-174" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></td></tr><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h4 id="returns-189" tabindex="-1">Returns <a class="header-anchor" href="#returns-189" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><code>T</code></p><h4 id="defined-in-155" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-155" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1002" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1002</a></p><p> <strong>sub</strong>(<code>this</code>, <code>value</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="parameters-175" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-175" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></td></tr><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-190" tabindex="-1">Returns <a class="header-anchor" href="#returns-190" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-156" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-156" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1003" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1003</a></p><hr><h3 id="tan" tabindex="-1">tan <a class="header-anchor" href="#tan" aria-label="Permalink to &quot;tan&quot;"></a></h3><p> <strong>tan</strong>&lt;<code>T</code>&gt;(<code>this</code>): <code>T</code></p><h4 id="type-parameters-88" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-88" aria-label="Permalink to &quot;Type parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h4 id="parameters-176" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-176" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h4 id="returns-191" tabindex="-1">Returns <a class="header-anchor" href="#returns-191" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><code>T</code></p><h4 id="defined-in-157" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-157" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1257" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1257</a></p><p> <strong>tan</strong>(<code>this</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="parameters-177" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-177" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-192" tabindex="-1">Returns <a class="header-anchor" href="#returns-192" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-158" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-158" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1258" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1258</a></p><hr><h3 id="tanh" tabindex="-1">tanh <a class="header-anchor" href="#tanh" aria-label="Permalink to &quot;tanh&quot;"></a></h3><p> <strong>tanh</strong>&lt;<code>T</code>&gt;(<code>this</code>): <code>T</code></p><h4 id="type-parameters-89" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-89" aria-label="Permalink to &quot;Type parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h4 id="parameters-178" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-178" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h4 id="returns-193" tabindex="-1">Returns <a class="header-anchor" href="#returns-193" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><code>T</code></p><h4 id="defined-in-159" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-159" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1293" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1293</a></p><p> <strong>tanh</strong>(<code>this</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="parameters-179" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-179" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-194" tabindex="-1">Returns <a class="header-anchor" href="#returns-194" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-160" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-160" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1294" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1294</a></p><hr><h3 id="tetrate" tabindex="-1">tetrate <a class="header-anchor" href="#tetrate" aria-label="Permalink to &quot;tetrate&quot;"></a></h3><p> <strong>tetrate</strong>&lt;<code>T</code>&gt;(<code>this</code>, <code>height?</code>, <code>payload?</code>): <a href="https://www.typescriptlang.org/docs/handbook/utility-types.html#omittype-keys" target="_blank" rel="noreferrer"><code>Omit</code></a>&lt;<code>T</code>, <code>&quot;integrate&quot;</code>&gt;</p><h4 id="type-parameters-90" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-90" aria-label="Permalink to &quot;Type parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h4 id="parameters-180" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-180" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><code>T</code></td></tr><tr><td style="text-align:left;"><code>height?</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr><tr><td style="text-align:left;"><code>payload?</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-195" tabindex="-1">Returns <a class="header-anchor" href="#returns-195" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="https://www.typescriptlang.org/docs/handbook/utility-types.html#omittype-keys" target="_blank" rel="noreferrer"><code>Omit</code></a>&lt;<code>T</code>, <code>&quot;integrate&quot;</code>&gt;</p><h4 id="defined-in-161" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-161" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1166" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1166</a></p><p> <strong>tetrate</strong>(<code>this</code>, <code>height?</code>, <code>payload?</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="parameters-181" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-181" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr><tr><td style="text-align:left;"><code>height?</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr><tr><td style="text-align:left;"><code>payload?</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-196" tabindex="-1">Returns <a class="header-anchor" href="#returns-196" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-162" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-162" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L1171" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:1171</a></p><hr><h3 id="trunc" tabindex="-1">trunc <a class="header-anchor" href="#trunc" aria-label="Permalink to &quot;trunc&quot;"></a></h3><p> <strong>trunc</strong>(): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="returns-197" tabindex="-1">Returns <a class="header-anchor" href="#returns-197" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-163" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-163" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L989" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:989</a></p><hr><h3 id="abs-1" tabindex="-1">abs <a class="header-anchor" href="#abs-1" aria-label="Permalink to &quot;abs&quot;"></a></h3><p> <code>Static</code> <strong>abs</strong>(<code>value</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="parameters-182" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-182" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-198" tabindex="-1">Returns <a class="header-anchor" href="#returns-198" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-164" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-164" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L413" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:413</a></p><hr><h3 id="abslog10-1" tabindex="-1">absLog10 <a class="header-anchor" href="#abslog10-1" aria-label="Permalink to &quot;absLog10&quot;"></a></h3><p> <code>Static</code> <strong>absLog10</strong>(<code>value</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="parameters-183" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-183" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-199" tabindex="-1">Returns <a class="header-anchor" href="#returns-199" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-165" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-165" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L551" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:551</a></p><hr><h3 id="acos-1" tabindex="-1">acos <a class="header-anchor" href="#acos-1" aria-label="Permalink to &quot;acos&quot;"></a></h3><p> <code>Static</code> <strong>acos</strong>&lt;<code>T</code>&gt;(<code>value</code>): <code>T</code></p><h4 id="type-parameters-91" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-91" aria-label="Permalink to &quot;Type parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h4 id="parameters-184" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-184" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h4 id="returns-200" tabindex="-1">Returns <a class="header-anchor" href="#returns-200" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><code>T</code></p><h4 id="defined-in-166" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-166" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L846" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:846</a></p><p> <code>Static</code> <strong>acos</strong>(<code>value</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="parameters-185" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-185" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-201" tabindex="-1">Returns <a class="header-anchor" href="#returns-201" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-167" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-167" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L847" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:847</a></p><hr><h3 id="acosh-1" tabindex="-1">acosh <a class="header-anchor" href="#acosh-1" aria-label="Permalink to &quot;acosh&quot;"></a></h3><p> <code>Static</code> <strong>acosh</strong>&lt;<code>T</code>&gt;(<code>value</code>): <code>T</code></p><h4 id="type-parameters-92" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-92" aria-label="Permalink to &quot;Type parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h4 id="parameters-186" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-186" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h4 id="returns-202" tabindex="-1">Returns <a class="header-anchor" href="#returns-202" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><code>T</code></p><h4 id="defined-in-168" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-168" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L912" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:912</a></p><p> <code>Static</code> <strong>acosh</strong>(<code>value</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="parameters-187" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-187" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-203" tabindex="-1">Returns <a class="header-anchor" href="#returns-203" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-169" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-169" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L913" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:913</a></p><hr><h3 id="add-1" tabindex="-1">add <a class="header-anchor" href="#add-1" aria-label="Permalink to &quot;add&quot;"></a></h3><p> <code>Static</code> <strong>add</strong>&lt;<code>T</code>&gt;(<code>value</code>, <code>other</code>): <code>T</code></p><h4 id="type-parameters-93" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-93" aria-label="Permalink to &quot;Type parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h4 id="parameters-188" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-188" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><code>T</code></td></tr><tr><td style="text-align:left;"><code>other</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-204" tabindex="-1">Returns <a class="header-anchor" href="#returns-204" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><code>T</code></p><h4 id="defined-in-170" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-170" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L452" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:452</a></p><p> <code>Static</code> <strong>add</strong>&lt;<code>T</code>&gt;(<code>value</code>, <code>other</code>): <code>T</code></p><h4 id="type-parameters-94" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-94" aria-label="Permalink to &quot;Type parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h4 id="parameters-189" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-189" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr><tr><td style="text-align:left;"><code>other</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h4 id="returns-205" tabindex="-1">Returns <a class="header-anchor" href="#returns-205" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><code>T</code></p><h4 id="defined-in-171" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-171" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L453" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:453</a></p><p> <code>Static</code> <strong>add</strong>(<code>value</code>, <code>other</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="parameters-190" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-190" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr><tr><td style="text-align:left;"><code>other</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-206" tabindex="-1">Returns <a class="header-anchor" href="#returns-206" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-172" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-172" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L454" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:454</a></p><hr><h3 id="asin-1" tabindex="-1">asin <a class="header-anchor" href="#asin-1" aria-label="Permalink to &quot;asin&quot;"></a></h3><p> <code>Static</code> <strong>asin</strong>&lt;<code>T</code>&gt;(<code>value</code>): <code>T</code></p><h4 id="type-parameters-95" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-95" aria-label="Permalink to &quot;Type parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h4 id="parameters-191" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-191" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h4 id="returns-207" tabindex="-1">Returns <a class="header-anchor" href="#returns-207" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><code>T</code></p><h4 id="defined-in-173" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-173" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L835" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:835</a></p><p> <code>Static</code> <strong>asin</strong>(<code>value</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="parameters-192" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-192" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-208" tabindex="-1">Returns <a class="header-anchor" href="#returns-208" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-174" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-174" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L836" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:836</a></p><hr><h3 id="asinh-1" tabindex="-1">asinh <a class="header-anchor" href="#asinh-1" aria-label="Permalink to &quot;asinh&quot;"></a></h3><p> <code>Static</code> <strong>asinh</strong>&lt;<code>T</code>&gt;(<code>value</code>): <code>T</code></p><h4 id="type-parameters-96" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-96" aria-label="Permalink to &quot;Type parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h4 id="parameters-193" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-193" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h4 id="returns-209" tabindex="-1">Returns <a class="header-anchor" href="#returns-209" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><code>T</code></p><h4 id="defined-in-175" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-175" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L901" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:901</a></p><p> <code>Static</code> <strong>asinh</strong>(<code>value</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="parameters-194" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-194" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-210" tabindex="-1">Returns <a class="header-anchor" href="#returns-210" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-176" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-176" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L902" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:902</a></p><hr><h3 id="atan-1" tabindex="-1">atan <a class="header-anchor" href="#atan-1" aria-label="Permalink to &quot;atan&quot;"></a></h3><p> <code>Static</code> <strong>atan</strong>&lt;<code>T</code>&gt;(<code>value</code>): <code>T</code></p><h4 id="type-parameters-97" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-97" aria-label="Permalink to &quot;Type parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h4 id="parameters-195" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-195" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h4 id="returns-211" tabindex="-1">Returns <a class="header-anchor" href="#returns-211" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><code>T</code></p><h4 id="defined-in-177" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-177" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L857" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:857</a></p><p> <code>Static</code> <strong>atan</strong>(<code>value</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="parameters-196" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-196" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-212" tabindex="-1">Returns <a class="header-anchor" href="#returns-212" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-178" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-178" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L858" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:858</a></p><hr><h3 id="atanh-1" tabindex="-1">atanh <a class="header-anchor" href="#atanh-1" aria-label="Permalink to &quot;atanh&quot;"></a></h3><p> <code>Static</code> <strong>atanh</strong>&lt;<code>T</code>&gt;(<code>value</code>): <code>T</code></p><h4 id="type-parameters-98" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-98" aria-label="Permalink to &quot;Type parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h4 id="parameters-197" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-197" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h4 id="returns-213" tabindex="-1">Returns <a class="header-anchor" href="#returns-213" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><code>T</code></p><h4 id="defined-in-179" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-179" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L923" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:923</a></p><p> <code>Static</code> <strong>atanh</strong>(<code>value</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="parameters-198" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-198" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-214" tabindex="-1">Returns <a class="header-anchor" href="#returns-214" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-180" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-180" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L924" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:924</a></p><hr><h3 id="cbrt-1" tabindex="-1">cbrt <a class="header-anchor" href="#cbrt-1" aria-label="Permalink to &quot;cbrt&quot;"></a></h3><p> <code>Static</code> <strong>cbrt</strong>&lt;<code>T</code>&gt;(<code>value</code>): <code>T</code></p><h4 id="type-parameters-99" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-99" aria-label="Permalink to &quot;Type parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h4 id="parameters-199" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-199" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h4 id="returns-215" tabindex="-1">Returns <a class="header-anchor" href="#returns-215" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><code>T</code></p><h4 id="defined-in-181" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-181" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L689" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:689</a></p><p> <code>Static</code> <strong>cbrt</strong>(<code>value</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="parameters-200" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-200" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-216" tabindex="-1">Returns <a class="header-anchor" href="#returns-216" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-182" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-182" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L690" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:690</a></p><hr><h3 id="ceil-1" tabindex="-1">ceil <a class="header-anchor" href="#ceil-1" aria-label="Permalink to &quot;ceil&quot;"></a></h3><p> <code>Static</code> <strong>ceil</strong>(<code>value</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="parameters-201" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-201" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-217" tabindex="-1">Returns <a class="header-anchor" href="#returns-217" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-183" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-183" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L444" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:444</a></p><hr><h3 id="clamp-1" tabindex="-1">clamp <a class="header-anchor" href="#clamp-1" aria-label="Permalink to &quot;clamp&quot;"></a></h3><p> <code>Static</code> <strong>clamp</strong>(<code>value</code>, <code>min</code>, <code>max</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="parameters-202" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-202" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr><tr><td style="text-align:left;"><code>min</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr><tr><td style="text-align:left;"><code>max</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-218" tabindex="-1">Returns <a class="header-anchor" href="#returns-218" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-184" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-184" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L535" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:535</a></p><hr><h3 id="conditional-1" tabindex="-1">conditional <a class="header-anchor" href="#conditional-1" aria-label="Permalink to &quot;conditional&quot;"></a></h3><p> <code>Static</code> <strong>conditional</strong>(<code>value</code>, <code>condition</code>, <code>formulaModifier</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><p><strong><code>See</code></strong></p><p><a href="./formulas.default#if-1">if</a></p><h4 id="parameters-203" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-203" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr><tr><td style="text-align:left;"><code>condition</code></td><td style="text-align:left;"><a href="./../../../modules/util/computed#computable"><code>Computable</code></a>&lt;<code>boolean</code>&gt;</td></tr><tr><td style="text-align:left;"><code>formulaModifier</code></td><td style="text-align:left;">(<code>value</code>: <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a> &amp; { <code>invert</code>: (<code>value</code>: <a href="./../../../modules/lib/break_eternity#decimalsource"><code>DecimalSource</code></a>) =&gt; <a href="./../../../modules/lib/break_eternity#decimalsource"><code>DecimalSource</code></a> } &amp; { <code>evaluateIntegral</code>: (<code>variable?</code>: <a href="./../../../modules/lib/break_eternity#decimalsource"><code>DecimalSource</code></a>) =&gt; <a href="./../../../modules/lib/break_eternity#decimalsource"><code>DecimalSource</code></a> } &amp; { <code>invertIntegral</code>: (<code>value</code>: <a href="./../../../modules/lib/break_eternity#decimalsource"><code>DecimalSource</code></a>) =&gt; <a href="./../../../modules/lib/break_eternity#decimalsource"><code>DecimalSource</code></a> }) =&gt; <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></td></tr></tbody></table><h4 id="returns-219" tabindex="-1">Returns <a class="header-anchor" href="#returns-219" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-185" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-185" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L403" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:403</a></p><hr><h3 id="constant" tabindex="-1">constant <a class="header-anchor" href="#constant" aria-label="Permalink to &quot;constant&quot;"></a></h3><p> <code>Static</code> <strong>constant</strong>(<code>value</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a> &amp; { <code>invert</code>: (<code>value</code>: <a href="./../../../modules/lib/break_eternity#decimalsource"><code>DecimalSource</code></a>) =&gt; <a href="./../../../modules/lib/break_eternity#decimalsource"><code>DecimalSource</code></a> } &amp; { <code>evaluateIntegral</code>: (<code>variable?</code>: <a href="./../../../modules/lib/break_eternity#decimalsource"><code>DecimalSource</code></a>) =&gt; <a href="./../../../modules/lib/break_eternity#decimalsource"><code>DecimalSource</code></a> } &amp; { <code>invertIntegral</code>: (<code>value</code>: <a href="./../../../modules/lib/break_eternity#decimalsource"><code>DecimalSource</code></a>) =&gt; <a href="./../../../modules/lib/break_eternity#decimalsource"><code>DecimalSource</code></a> }</p><p>Creates a formula that evaluates to a constant value.</p><h4 id="parameters-204" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-204" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th><th style="text-align:left;">Description</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/util/computed#processedcomputable"><code>ProcessedComputable</code></a>&lt;<a href="./../../../modules/lib/break_eternity#decimalsource"><code>DecimalSource</code></a>&gt;</td><td style="text-align:left;">The constant value for this formula.</td></tr></tbody></table><h4 id="returns-220" tabindex="-1">Returns <a class="header-anchor" href="#returns-220" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a> &amp; { <code>invert</code>: (<code>value</code>: <a href="./../../../modules/lib/break_eternity#decimalsource"><code>DecimalSource</code></a>) =&gt; <a href="./../../../modules/lib/break_eternity#decimalsource"><code>DecimalSource</code></a> } &amp; { <code>evaluateIntegral</code>: (<code>variable?</code>: <a href="./../../../modules/lib/break_eternity#decimalsource"><code>DecimalSource</code></a>) =&gt; <a href="./../../../modules/lib/break_eternity#decimalsource"><code>DecimalSource</code></a> } &amp; { <code>invertIntegral</code>: (<code>value</code>: <a href="./../../../modules/lib/break_eternity#decimalsource"><code>DecimalSource</code></a>) =&gt; <a href="./../../../modules/lib/break_eternity#decimalsource"><code>DecimalSource</code></a> }</p><h4 id="defined-in-186" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-186" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L302" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:302</a></p><hr><h3 id="cos-1" tabindex="-1">cos <a class="header-anchor" href="#cos-1" aria-label="Permalink to &quot;cos&quot;"></a></h3><p> <code>Static</code> <strong>cos</strong>&lt;<code>T</code>&gt;(<code>value</code>): <code>T</code></p><h4 id="type-parameters-100" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-100" aria-label="Permalink to &quot;Type parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h4 id="parameters-205" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-205" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h4 id="returns-221" tabindex="-1">Returns <a class="header-anchor" href="#returns-221" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><code>T</code></p><h4 id="defined-in-187" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-187" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L813" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:813</a></p><p> <code>Static</code> <strong>cos</strong>(<code>value</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="parameters-206" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-206" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-222" tabindex="-1">Returns <a class="header-anchor" href="#returns-222" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-188" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-188" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L814" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:814</a></p><hr><h3 id="cosh-1" tabindex="-1">cosh <a class="header-anchor" href="#cosh-1" aria-label="Permalink to &quot;cosh&quot;"></a></h3><p> <code>Static</code> <strong>cosh</strong>&lt;<code>T</code>&gt;(<code>value</code>): <code>T</code></p><h4 id="type-parameters-101" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-101" aria-label="Permalink to &quot;Type parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h4 id="parameters-207" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-207" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h4 id="returns-223" tabindex="-1">Returns <a class="header-anchor" href="#returns-223" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><code>T</code></p><h4 id="defined-in-189" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-189" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L879" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:879</a></p><p> <code>Static</code> <strong>cosh</strong>(<code>value</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="parameters-208" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-208" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-224" tabindex="-1">Returns <a class="header-anchor" href="#returns-224" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-190" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-190" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L880" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:880</a></p><hr><h3 id="cube-1" tabindex="-1">cube <a class="header-anchor" href="#cube-1" aria-label="Permalink to &quot;cube&quot;"></a></h3><p> <code>Static</code> <strong>cube</strong>&lt;<code>T</code>&gt;(<code>value</code>): <code>T</code></p><h4 id="type-parameters-102" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-102" aria-label="Permalink to &quot;Type parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h4 id="parameters-209" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-209" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h4 id="returns-225" tabindex="-1">Returns <a class="header-anchor" href="#returns-225" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><code>T</code></p><h4 id="defined-in-191" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-191" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L683" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:683</a></p><p> <code>Static</code> <strong>cube</strong>(<code>value</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="parameters-210" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-210" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-226" tabindex="-1">Returns <a class="header-anchor" href="#returns-226" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-192" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-192" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L684" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:684</a></p><hr><h3 id="div-1" tabindex="-1">div <a class="header-anchor" href="#div-1" aria-label="Permalink to &quot;div&quot;"></a></h3><p> <code>Static</code> <strong>div</strong>&lt;<code>T</code>&gt;(<code>value</code>, <code>other</code>): <code>T</code></p><h4 id="type-parameters-103" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-103" aria-label="Permalink to &quot;Type parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h4 id="parameters-211" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-211" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><code>T</code></td></tr><tr><td style="text-align:left;"><code>other</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-227" tabindex="-1">Returns <a class="header-anchor" href="#returns-227" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><code>T</code></p><h4 id="defined-in-193" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-193" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L498" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:498</a></p><p> <code>Static</code> <strong>div</strong>&lt;<code>T</code>&gt;(<code>value</code>, <code>other</code>): <code>T</code></p><h4 id="type-parameters-104" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-104" aria-label="Permalink to &quot;Type parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h4 id="parameters-212" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-212" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr><tr><td style="text-align:left;"><code>other</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h4 id="returns-228" tabindex="-1">Returns <a class="header-anchor" href="#returns-228" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><code>T</code></p><h4 id="defined-in-194" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-194" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L499" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:499</a></p><p> <code>Static</code> <strong>div</strong>(<code>value</code>, <code>other</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="parameters-213" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-213" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr><tr><td style="text-align:left;"><code>other</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-229" tabindex="-1">Returns <a class="header-anchor" href="#returns-229" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-195" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-195" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L500" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:500</a></p><hr><h3 id="exp-1" tabindex="-1">exp <a class="header-anchor" href="#exp-1" aria-label="Permalink to &quot;exp&quot;"></a></h3><p> <code>Static</code> <strong>exp</strong>&lt;<code>T</code>&gt;(<code>value</code>): <code>T</code></p><h4 id="type-parameters-105" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-105" aria-label="Permalink to &quot;Type parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h4 id="parameters-214" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-214" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h4 id="returns-230" tabindex="-1">Returns <a class="header-anchor" href="#returns-230" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><code>T</code></p><h4 id="defined-in-196" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-196" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L660" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:660</a></p><p> <code>Static</code> <strong>exp</strong>(<code>value</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="parameters-215" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-215" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-231" tabindex="-1">Returns <a class="header-anchor" href="#returns-231" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-197" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-197" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L661" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:661</a></p><hr><h3 id="factorial-1" tabindex="-1">factorial <a class="header-anchor" href="#factorial-1" aria-label="Permalink to &quot;factorial&quot;"></a></h3><p> <code>Static</code> <strong>factorial</strong>(<code>value</code>): <a href="./formulas.default"><code>default</code></a>&lt;[<a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>]&gt;</p><h4 id="parameters-216" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-216" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-232" tabindex="-1">Returns <a class="header-anchor" href="#returns-232" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./formulas.default"><code>default</code></a>&lt;[<a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>]&gt;</p><h4 id="defined-in-198" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-198" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L648" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:648</a></p><hr><h3 id="floor-1" tabindex="-1">floor <a class="header-anchor" href="#floor-1" aria-label="Permalink to &quot;floor&quot;"></a></h3><p> <code>Static</code> <strong>floor</strong>(<code>value</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="parameters-217" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-217" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-233" tabindex="-1">Returns <a class="header-anchor" href="#returns-233" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-199" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-199" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L440" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:440</a></p><hr><h3 id="gamma-1" tabindex="-1">gamma <a class="header-anchor" href="#gamma-1" aria-label="Permalink to &quot;gamma&quot;"></a></h3><p> <code>Static</code> <strong>gamma</strong>(<code>value</code>): <a href="./formulas.default"><code>default</code></a>&lt;[<a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>]&gt;</p><h4 id="parameters-218" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-218" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-234" tabindex="-1">Returns <a class="header-anchor" href="#returns-234" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./formulas.default"><code>default</code></a>&lt;[<a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>]&gt;</p><h4 id="defined-in-200" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-200" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L652" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:652</a></p><hr><h3 id="if-1" tabindex="-1">if <a class="header-anchor" href="#if-1" aria-label="Permalink to &quot;if&quot;"></a></h3><p> <code>Static</code> <strong>if</strong>(<code>value</code>, <code>condition</code>, <code>formulaModifier</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><p>Applies a modifier to a formula under a given condition.</p><h4 id="parameters-219" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-219" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th><th style="text-align:left;">Description</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td><td style="text-align:left;">The incoming formula value</td></tr><tr><td style="text-align:left;"><code>condition</code></td><td style="text-align:left;"><a href="./../../../modules/util/computed#computable"><code>Computable</code></a>&lt;<code>boolean</code>&gt;</td><td style="text-align:left;">Whether or not to apply the modifier</td></tr><tr><td style="text-align:left;"><code>formulaModifier</code></td><td style="text-align:left;">(<code>value</code>: <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a> &amp; { <code>invert</code>: (<code>value</code>: <a href="./../../../modules/lib/break_eternity#decimalsource"><code>DecimalSource</code></a>) =&gt; <a href="./../../../modules/lib/break_eternity#decimalsource"><code>DecimalSource</code></a> } &amp; { <code>evaluateIntegral</code>: (<code>variable?</code>: <a href="./../../../modules/lib/break_eternity#decimalsource"><code>DecimalSource</code></a>) =&gt; <a href="./../../../modules/lib/break_eternity#decimalsource"><code>DecimalSource</code></a> } &amp; { <code>invertIntegral</code>: (<code>value</code>: <a href="./../../../modules/lib/break_eternity#decimalsource"><code>DecimalSource</code></a>) =&gt; <a href="./../../../modules/lib/break_eternity#decimalsource"><code>DecimalSource</code></a> }) =&gt; <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></td><td style="text-align:left;">The modifier to apply to the incoming formula if the condition is true</td></tr></tbody></table><h4 id="returns-235" tabindex="-1">Returns <a class="header-anchor" href="#returns-235" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-201" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-201" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L368" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:368</a></p><hr><h3 id="iteratedexp-1" tabindex="-1">iteratedexp <a class="header-anchor" href="#iteratedexp-1" aria-label="Permalink to &quot;iteratedexp&quot;"></a></h3><p> <code>Static</code> <strong>iteratedexp</strong>&lt;<code>T</code>&gt;(<code>value</code>, <code>height?</code>, <code>payload?</code>): <a href="https://www.typescriptlang.org/docs/handbook/utility-types.html#omittype-keys" target="_blank" rel="noreferrer"><code>Omit</code></a>&lt;<code>T</code>, <code>&quot;integrate&quot;</code>&gt;</p><h4 id="type-parameters-106" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-106" aria-label="Permalink to &quot;Type parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h4 id="parameters-220" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-220" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><code>T</code></td></tr><tr><td style="text-align:left;"><code>height?</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr><tr><td style="text-align:left;"><code>payload?</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-236" tabindex="-1">Returns <a class="header-anchor" href="#returns-236" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="https://www.typescriptlang.org/docs/handbook/utility-types.html#omittype-keys" target="_blank" rel="noreferrer"><code>Omit</code></a>&lt;<code>T</code>, <code>&quot;integrate&quot;</code>&gt;</p><h4 id="defined-in-202" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-202" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L717" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:717</a></p><p> <code>Static</code> <strong>iteratedexp</strong>(<code>value</code>, <code>height?</code>, <code>payload?</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="parameters-221" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-221" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr><tr><td style="text-align:left;"><code>height?</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr><tr><td style="text-align:left;"><code>payload?</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-237" tabindex="-1">Returns <a class="header-anchor" href="#returns-237" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-203" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-203" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L722" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:722</a></p><hr><h3 id="iteratedlog-1" tabindex="-1">iteratedlog <a class="header-anchor" href="#iteratedlog-1" aria-label="Permalink to &quot;iteratedlog&quot;"></a></h3><p> <code>Static</code> <strong>iteratedlog</strong>(<code>value</code>, <code>base?</code>, <code>times?</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="parameters-222" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-222" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th><th style="text-align:left;">Default value</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td><td style="text-align:left;"><code>undefined</code></td></tr><tr><td style="text-align:left;"><code>base</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td><td style="text-align:left;"><code>10</code></td></tr><tr><td style="text-align:left;"><code>times</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td><td style="text-align:left;"><code>1</code></td></tr></tbody></table><h4 id="returns-238" tabindex="-1">Returns <a class="header-anchor" href="#returns-238" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-204" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-204" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L739" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:739</a></p><hr><h3 id="lambertw-1" tabindex="-1">lambertw <a class="header-anchor" href="#lambertw-1" aria-label="Permalink to &quot;lambertw&quot;"></a></h3><p> <code>Static</code> <strong>lambertw</strong>&lt;<code>T</code>&gt;(<code>value</code>): <a href="https://www.typescriptlang.org/docs/handbook/utility-types.html#omittype-keys" target="_blank" rel="noreferrer"><code>Omit</code></a>&lt;<code>T</code>, <code>&quot;integrate&quot;</code>&gt;</p><h4 id="type-parameters-107" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-107" aria-label="Permalink to &quot;Type parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h4 id="parameters-223" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-223" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h4 id="returns-239" tabindex="-1">Returns <a class="header-anchor" href="#returns-239" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="https://www.typescriptlang.org/docs/handbook/utility-types.html#omittype-keys" target="_blank" rel="noreferrer"><code>Omit</code></a>&lt;<code>T</code>, <code>&quot;integrate&quot;</code>&gt;</p><h4 id="defined-in-205" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-205" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L778" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:778</a></p><p> <code>Static</code> <strong>lambertw</strong>(<code>value</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="parameters-224" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-224" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-240" tabindex="-1">Returns <a class="header-anchor" href="#returns-240" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-206" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-206" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L779" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:779</a></p><hr><h3 id="layeradd-1" tabindex="-1">layeradd <a class="header-anchor" href="#layeradd-1" aria-label="Permalink to &quot;layeradd&quot;"></a></h3><p> <code>Static</code> <strong>layeradd</strong>&lt;<code>T</code>&gt;(<code>value</code>, <code>diff</code>, <code>base?</code>): <a href="https://www.typescriptlang.org/docs/handbook/utility-types.html#omittype-keys" target="_blank" rel="noreferrer"><code>Omit</code></a>&lt;<code>T</code>, <code>&quot;integrate&quot;</code>&gt;</p><h4 id="type-parameters-108" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-108" aria-label="Permalink to &quot;Type parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h4 id="parameters-225" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-225" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><code>T</code></td></tr><tr><td style="text-align:left;"><code>diff</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr><tr><td style="text-align:left;"><code>base?</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-241" tabindex="-1">Returns <a class="header-anchor" href="#returns-241" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="https://www.typescriptlang.org/docs/handbook/utility-types.html#omittype-keys" target="_blank" rel="noreferrer"><code>Omit</code></a>&lt;<code>T</code>, <code>&quot;integrate&quot;</code>&gt;</p><h4 id="defined-in-207" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-207" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L760" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:760</a></p><p> <code>Static</code> <strong>layeradd</strong>(<code>value</code>, <code>diff</code>, <code>base?</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="parameters-226" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-226" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr><tr><td style="text-align:left;"><code>diff</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr><tr><td style="text-align:left;"><code>base?</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-242" tabindex="-1">Returns <a class="header-anchor" href="#returns-242" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-208" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-208" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L765" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:765</a></p><hr><h3 id="layeradd10-1" tabindex="-1">layeradd10 <a class="header-anchor" href="#layeradd10-1" aria-label="Permalink to &quot;layeradd10&quot;"></a></h3><p> <code>Static</code> <strong>layeradd10</strong>(<code>value</code>, <code>diff</code>): <a href="./formulas.default"><code>default</code></a>&lt;[<a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>, <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>]&gt;</p><h4 id="parameters-227" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-227" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr><tr><td style="text-align:left;"><code>diff</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-243" tabindex="-1">Returns <a class="header-anchor" href="#returns-243" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./formulas.default"><code>default</code></a>&lt;[<a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>, <a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>]&gt;</p><h4 id="defined-in-209" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-209" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L756" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:756</a></p><hr><h3 id="ln-1" tabindex="-1">ln <a class="header-anchor" href="#ln-1" aria-label="Permalink to &quot;ln&quot;"></a></h3><p> <code>Static</code> <strong>ln</strong>&lt;<code>T</code>&gt;(<code>value</code>): <code>T</code></p><h4 id="type-parameters-109" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-109" aria-label="Permalink to &quot;Type parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h4 id="parameters-228" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-228" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h4 id="returns-244" tabindex="-1">Returns <a class="header-anchor" href="#returns-244" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><code>T</code></p><h4 id="defined-in-210" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-210" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L590" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:590</a></p><p> <code>Static</code> <strong>ln</strong>(<code>value</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="parameters-229" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-229" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-245" tabindex="-1">Returns <a class="header-anchor" href="#returns-245" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-211" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-211" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L591" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:591</a></p><hr><h3 id="lngamma-1" tabindex="-1">lngamma <a class="header-anchor" href="#lngamma-1" aria-label="Permalink to &quot;lngamma&quot;"></a></h3><p> <code>Static</code> <strong>lngamma</strong>(<code>value</code>): <a href="./formulas.default"><code>default</code></a>&lt;[<a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>]&gt;</p><h4 id="parameters-230" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-230" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-246" tabindex="-1">Returns <a class="header-anchor" href="#returns-246" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./formulas.default"><code>default</code></a>&lt;[<a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a>]&gt;</p><h4 id="defined-in-212" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-212" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L656" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:656</a></p><hr><h3 id="log-1" tabindex="-1">log <a class="header-anchor" href="#log-1" aria-label="Permalink to &quot;log&quot;"></a></h3><p> <code>Static</code> <strong>log</strong>&lt;<code>T</code>&gt;(<code>value</code>, <code>base</code>): <code>T</code></p><h4 id="type-parameters-110" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-110" aria-label="Permalink to &quot;Type parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h4 id="parameters-231" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-231" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><code>T</code></td></tr><tr><td style="text-align:left;"><code>base</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-247" tabindex="-1">Returns <a class="header-anchor" href="#returns-247" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><code>T</code></p><h4 id="defined-in-213" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-213" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L566" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:566</a></p><p> <code>Static</code> <strong>log</strong>&lt;<code>T</code>&gt;(<code>value</code>, <code>base</code>): <code>T</code></p><h4 id="type-parameters-111" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-111" aria-label="Permalink to &quot;Type parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h4 id="parameters-232" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-232" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr><tr><td style="text-align:left;"><code>base</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h4 id="returns-248" tabindex="-1">Returns <a class="header-anchor" href="#returns-248" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><code>T</code></p><h4 id="defined-in-214" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-214" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L567" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:567</a></p><p> <code>Static</code> <strong>log</strong>(<code>value</code>, <code>base</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="parameters-233" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-233" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr><tr><td style="text-align:left;"><code>base</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-249" tabindex="-1">Returns <a class="header-anchor" href="#returns-249" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-215" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-215" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L568" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:568</a></p><hr><h3 id="log10-1" tabindex="-1">log10 <a class="header-anchor" href="#log10-1" aria-label="Permalink to &quot;log10&quot;"></a></h3><p> <code>Static</code> <strong>log10</strong>&lt;<code>T</code>&gt;(<code>value</code>): <code>T</code></p><h4 id="type-parameters-112" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-112" aria-label="Permalink to &quot;Type parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h4 id="parameters-234" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-234" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h4 id="returns-250" tabindex="-1">Returns <a class="header-anchor" href="#returns-250" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><code>T</code></p><h4 id="defined-in-216" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-216" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L555" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:555</a></p><p> <code>Static</code> <strong>log10</strong>(<code>value</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="parameters-235" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-235" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-251" tabindex="-1">Returns <a class="header-anchor" href="#returns-251" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-217" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-217" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L556" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:556</a></p><hr><h3 id="log2-1" tabindex="-1">log2 <a class="header-anchor" href="#log2-1" aria-label="Permalink to &quot;log2&quot;"></a></h3><p> <code>Static</code> <strong>log2</strong>&lt;<code>T</code>&gt;(<code>value</code>): <code>T</code></p><h4 id="type-parameters-113" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-113" aria-label="Permalink to &quot;Type parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h4 id="parameters-236" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-236" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h4 id="returns-252" tabindex="-1">Returns <a class="header-anchor" href="#returns-252" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><code>T</code></p><h4 id="defined-in-218" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-218" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L579" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:579</a></p><p> <code>Static</code> <strong>log2</strong>(<code>value</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="parameters-237" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-237" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-253" tabindex="-1">Returns <a class="header-anchor" href="#returns-253" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-219" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-219" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L580" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:580</a></p><hr><h3 id="mul-1" tabindex="-1">mul <a class="header-anchor" href="#mul-1" aria-label="Permalink to &quot;mul&quot;"></a></h3><p> <code>Static</code> <strong>mul</strong>&lt;<code>T</code>&gt;(<code>value</code>, <code>other</code>): <code>T</code></p><h4 id="type-parameters-114" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-114" aria-label="Permalink to &quot;Type parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h4 id="parameters-238" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-238" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><code>T</code></td></tr><tr><td style="text-align:left;"><code>other</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-254" tabindex="-1">Returns <a class="header-anchor" href="#returns-254" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><code>T</code></p><h4 id="defined-in-220" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-220" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L483" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:483</a></p><p> <code>Static</code> <strong>mul</strong>&lt;<code>T</code>&gt;(<code>value</code>, <code>other</code>): <code>T</code></p><h4 id="type-parameters-115" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-115" aria-label="Permalink to &quot;Type parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h4 id="parameters-239" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-239" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr><tr><td style="text-align:left;"><code>other</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h4 id="returns-255" tabindex="-1">Returns <a class="header-anchor" href="#returns-255" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><code>T</code></p><h4 id="defined-in-221" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-221" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L484" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:484</a></p><p> <code>Static</code> <strong>mul</strong>(<code>value</code>, <code>other</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="parameters-240" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-240" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr><tr><td style="text-align:left;"><code>other</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-256" tabindex="-1">Returns <a class="header-anchor" href="#returns-256" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-222" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-222" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L485" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:485</a></p><hr><h3 id="neg-1" tabindex="-1">neg <a class="header-anchor" href="#neg-1" aria-label="Permalink to &quot;neg&quot;"></a></h3><p> <code>Static</code> <strong>neg</strong>&lt;<code>T</code>&gt;(<code>value</code>): <code>T</code></p><h4 id="type-parameters-116" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-116" aria-label="Permalink to &quot;Type parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h4 id="parameters-241" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-241" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h4 id="returns-257" tabindex="-1">Returns <a class="header-anchor" href="#returns-257" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><code>T</code></p><h4 id="defined-in-223" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-223" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L417" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:417</a></p><p> <code>Static</code> <strong>neg</strong>(<code>value</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="parameters-242" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-242" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-258" tabindex="-1">Returns <a class="header-anchor" href="#returns-258" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-224" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-224" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L418" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:418</a></p><hr><h3 id="plog10-1" tabindex="-1">pLog10 <a class="header-anchor" href="#plog10-1" aria-label="Permalink to &quot;pLog10&quot;"></a></h3><p> <code>Static</code> <strong>pLog10</strong>(<code>value</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="parameters-243" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-243" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-259" tabindex="-1">Returns <a class="header-anchor" href="#returns-259" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-225" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-225" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L547" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:547</a></p><hr><h3 id="pentate-1" tabindex="-1">pentate <a class="header-anchor" href="#pentate-1" aria-label="Permalink to &quot;pentate&quot;"></a></h3><p> <code>Static</code> <strong>pentate</strong>(<code>value</code>, <code>height?</code>, <code>payload?</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="parameters-244" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-244" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th><th style="text-align:left;">Default value</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td><td style="text-align:left;"><code>undefined</code></td></tr><tr><td style="text-align:left;"><code>height</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td><td style="text-align:left;"><code>2</code></td></tr><tr><td style="text-align:left;"><code>payload</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td><td style="text-align:left;"><code>undefined</code></td></tr></tbody></table><h4 id="returns-260" tabindex="-1">Returns <a class="header-anchor" href="#returns-260" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-226" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-226" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L794" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:794</a></p><hr><h3 id="pow-1" tabindex="-1">pow <a class="header-anchor" href="#pow-1" aria-label="Permalink to &quot;pow&quot;"></a></h3><p> <code>Static</code> <strong>pow</strong>&lt;<code>T</code>&gt;(<code>value</code>, <code>other</code>): <code>T</code></p><h4 id="type-parameters-117" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-117" aria-label="Permalink to &quot;Type parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h4 id="parameters-245" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-245" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><code>T</code></td></tr><tr><td style="text-align:left;"><code>other</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-261" tabindex="-1">Returns <a class="header-anchor" href="#returns-261" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><code>T</code></p><h4 id="defined-in-227" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-227" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L601" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:601</a></p><p> <code>Static</code> <strong>pow</strong>&lt;<code>T</code>&gt;(<code>value</code>, <code>other</code>): <code>T</code></p><h4 id="type-parameters-118" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-118" aria-label="Permalink to &quot;Type parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h4 id="parameters-246" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-246" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr><tr><td style="text-align:left;"><code>other</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h4 id="returns-262" tabindex="-1">Returns <a class="header-anchor" href="#returns-262" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><code>T</code></p><h4 id="defined-in-228" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-228" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L602" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:602</a></p><p> <code>Static</code> <strong>pow</strong>(<code>value</code>, <code>other</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="parameters-247" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-247" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr><tr><td style="text-align:left;"><code>other</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-263" tabindex="-1">Returns <a class="header-anchor" href="#returns-263" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-229" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-229" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L603" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:603</a></p><hr><h3 id="pow10-1" tabindex="-1">pow10 <a class="header-anchor" href="#pow10-1" aria-label="Permalink to &quot;pow10&quot;"></a></h3><p> <code>Static</code> <strong>pow10</strong>&lt;<code>T</code>&gt;(<code>value</code>): <code>T</code></p><h4 id="type-parameters-119" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-119" aria-label="Permalink to &quot;Type parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h4 id="parameters-248" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-248" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h4 id="returns-264" tabindex="-1">Returns <a class="header-anchor" href="#returns-264" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><code>T</code></p><h4 id="defined-in-230" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-230" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L613" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:613</a></p><p> <code>Static</code> <strong>pow10</strong>(<code>value</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="parameters-249" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-249" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-265" tabindex="-1">Returns <a class="header-anchor" href="#returns-265" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-231" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-231" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L614" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:614</a></p><hr><h3 id="pow-base-1" tabindex="-1">pow_base <a class="header-anchor" href="#pow-base-1" aria-label="Permalink to &quot;pow\\_base&quot;"></a></h3><p> <code>Static</code> <strong>pow_base</strong>&lt;<code>T</code>&gt;(<code>value</code>, <code>other</code>): <code>T</code></p><h4 id="type-parameters-120" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-120" aria-label="Permalink to &quot;Type parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h4 id="parameters-250" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-250" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><code>T</code></td></tr><tr><td style="text-align:left;"><code>other</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-266" tabindex="-1">Returns <a class="header-anchor" href="#returns-266" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><code>T</code></p><h4 id="defined-in-232" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-232" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L624" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:624</a></p><p> <code>Static</code> <strong>pow_base</strong>&lt;<code>T</code>&gt;(<code>value</code>, <code>other</code>): <code>T</code></p><h4 id="type-parameters-121" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-121" aria-label="Permalink to &quot;Type parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h4 id="parameters-251" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-251" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr><tr><td style="text-align:left;"><code>other</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h4 id="returns-267" tabindex="-1">Returns <a class="header-anchor" href="#returns-267" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><code>T</code></p><h4 id="defined-in-233" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-233" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L625" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:625</a></p><p> <code>Static</code> <strong>pow_base</strong>(<code>value</code>, <code>other</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="parameters-252" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-252" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr><tr><td style="text-align:left;"><code>other</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-268" tabindex="-1">Returns <a class="header-anchor" href="#returns-268" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-234" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-234" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L626" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:626</a></p><hr><h3 id="recip-1" tabindex="-1">recip <a class="header-anchor" href="#recip-1" aria-label="Permalink to &quot;recip&quot;"></a></h3><p> <code>Static</code> <strong>recip</strong>&lt;<code>T</code>&gt;(<code>value</code>): <code>T</code></p><h4 id="type-parameters-122" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-122" aria-label="Permalink to &quot;Type parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h4 id="parameters-253" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-253" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h4 id="returns-269" tabindex="-1">Returns <a class="header-anchor" href="#returns-269" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><code>T</code></p><h4 id="defined-in-235" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-235" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L514" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:514</a></p><p> <code>Static</code> <strong>recip</strong>(<code>value</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="parameters-254" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-254" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-270" tabindex="-1">Returns <a class="header-anchor" href="#returns-270" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-236" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-236" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L515" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:515</a></p><hr><h3 id="root-1" tabindex="-1">root <a class="header-anchor" href="#root-1" aria-label="Permalink to &quot;root&quot;"></a></h3><p> <code>Static</code> <strong>root</strong>&lt;<code>T</code>&gt;(<code>value</code>, <code>other</code>): <code>T</code></p><h4 id="type-parameters-123" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-123" aria-label="Permalink to &quot;Type parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h4 id="parameters-255" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-255" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><code>T</code></td></tr><tr><td style="text-align:left;"><code>other</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-271" tabindex="-1">Returns <a class="header-anchor" href="#returns-271" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><code>T</code></p><h4 id="defined-in-237" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-237" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L636" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:636</a></p><p> <code>Static</code> <strong>root</strong>&lt;<code>T</code>&gt;(<code>value</code>, <code>other</code>): <code>T</code></p><h4 id="type-parameters-124" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-124" aria-label="Permalink to &quot;Type parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h4 id="parameters-256" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-256" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr><tr><td style="text-align:left;"><code>other</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h4 id="returns-272" tabindex="-1">Returns <a class="header-anchor" href="#returns-272" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><code>T</code></p><h4 id="defined-in-238" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-238" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L637" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:637</a></p><p> <code>Static</code> <strong>root</strong>(<code>value</code>, <code>other</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="parameters-257" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-257" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr><tr><td style="text-align:left;"><code>other</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-273" tabindex="-1">Returns <a class="header-anchor" href="#returns-273" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-239" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-239" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L638" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:638</a></p><hr><h3 id="round-1" tabindex="-1">round <a class="header-anchor" href="#round-1" aria-label="Permalink to &quot;round&quot;"></a></h3><p> <code>Static</code> <strong>round</strong>(<code>value</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="parameters-258" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-258" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-274" tabindex="-1">Returns <a class="header-anchor" href="#returns-274" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-240" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-240" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L436" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:436</a></p><hr><h3 id="sign-1" tabindex="-1">sign <a class="header-anchor" href="#sign-1" aria-label="Permalink to &quot;sign&quot;"></a></h3><p> <code>Static</code> <strong>sign</strong>(<code>value</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="parameters-259" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-259" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-275" tabindex="-1">Returns <a class="header-anchor" href="#returns-275" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-241" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-241" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L431" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:431</a></p><hr><h3 id="sin-1" tabindex="-1">sin <a class="header-anchor" href="#sin-1" aria-label="Permalink to &quot;sin&quot;"></a></h3><p> <code>Static</code> <strong>sin</strong>&lt;<code>T</code>&gt;(<code>value</code>): <code>T</code></p><h4 id="type-parameters-125" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-125" aria-label="Permalink to &quot;Type parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h4 id="parameters-260" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-260" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h4 id="returns-276" tabindex="-1">Returns <a class="header-anchor" href="#returns-276" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><code>T</code></p><h4 id="defined-in-242" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-242" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L802" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:802</a></p><p> <code>Static</code> <strong>sin</strong>(<code>value</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="parameters-261" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-261" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-277" tabindex="-1">Returns <a class="header-anchor" href="#returns-277" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-243" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-243" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L803" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:803</a></p><hr><h3 id="sinh-1" tabindex="-1">sinh <a class="header-anchor" href="#sinh-1" aria-label="Permalink to &quot;sinh&quot;"></a></h3><p> <code>Static</code> <strong>sinh</strong>&lt;<code>T</code>&gt;(<code>value</code>): <code>T</code></p><h4 id="type-parameters-126" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-126" aria-label="Permalink to &quot;Type parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h4 id="parameters-262" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-262" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h4 id="returns-278" tabindex="-1">Returns <a class="header-anchor" href="#returns-278" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><code>T</code></p><h4 id="defined-in-244" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-244" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L868" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:868</a></p><p> <code>Static</code> <strong>sinh</strong>(<code>value</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="parameters-263" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-263" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-279" tabindex="-1">Returns <a class="header-anchor" href="#returns-279" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-245" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-245" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L869" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:869</a></p><hr><h3 id="slog-1" tabindex="-1">slog <a class="header-anchor" href="#slog-1" aria-label="Permalink to &quot;slog&quot;"></a></h3><p> <code>Static</code> <strong>slog</strong>&lt;<code>T</code>&gt;(<code>value</code>, <code>base?</code>): <a href="https://www.typescriptlang.org/docs/handbook/utility-types.html#omittype-keys" target="_blank" rel="noreferrer"><code>Omit</code></a>&lt;<code>T</code>, <code>&quot;integrate&quot;</code>&gt;</p><h4 id="type-parameters-127" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-127" aria-label="Permalink to &quot;Type parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h4 id="parameters-264" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-264" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><code>T</code></td></tr><tr><td style="text-align:left;"><code>base?</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-280" tabindex="-1">Returns <a class="header-anchor" href="#returns-280" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="https://www.typescriptlang.org/docs/handbook/utility-types.html#omittype-keys" target="_blank" rel="noreferrer"><code>Omit</code></a>&lt;<code>T</code>, <code>&quot;integrate&quot;</code>&gt;</p><h4 id="defined-in-246" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-246" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L747" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:747</a></p><p> <code>Static</code> <strong>slog</strong>(<code>value</code>, <code>base?</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="parameters-265" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-265" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr><tr><td style="text-align:left;"><code>base?</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-281" tabindex="-1">Returns <a class="header-anchor" href="#returns-281" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-247" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-247" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L751" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:751</a></p><hr><h3 id="sqr-1" tabindex="-1">sqr <a class="header-anchor" href="#sqr-1" aria-label="Permalink to &quot;sqr&quot;"></a></h3><p> <code>Static</code> <strong>sqr</strong>&lt;<code>T</code>&gt;(<code>value</code>): <code>T</code></p><h4 id="type-parameters-128" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-128" aria-label="Permalink to &quot;Type parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h4 id="parameters-266" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-266" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h4 id="returns-282" tabindex="-1">Returns <a class="header-anchor" href="#returns-282" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><code>T</code></p><h4 id="defined-in-248" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-248" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L671" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:671</a></p><p> <code>Static</code> <strong>sqr</strong>(<code>value</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="parameters-267" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-267" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-283" tabindex="-1">Returns <a class="header-anchor" href="#returns-283" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-249" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-249" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L672" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:672</a></p><hr><h3 id="sqrt-1" tabindex="-1">sqrt <a class="header-anchor" href="#sqrt-1" aria-label="Permalink to &quot;sqrt&quot;"></a></h3><p> <code>Static</code> <strong>sqrt</strong>&lt;<code>T</code>&gt;(<code>value</code>): <code>T</code></p><h4 id="type-parameters-129" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-129" aria-label="Permalink to &quot;Type parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h4 id="parameters-268" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-268" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h4 id="returns-284" tabindex="-1">Returns <a class="header-anchor" href="#returns-284" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><code>T</code></p><h4 id="defined-in-250" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-250" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L677" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:677</a></p><p> <code>Static</code> <strong>sqrt</strong>(<code>value</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="parameters-269" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-269" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-285" tabindex="-1">Returns <a class="header-anchor" href="#returns-285" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-251" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-251" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L678" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:678</a></p><hr><h3 id="ssqrt-1" tabindex="-1">ssqrt <a class="header-anchor" href="#ssqrt-1" aria-label="Permalink to &quot;ssqrt&quot;"></a></h3><p> <code>Static</code> <strong>ssqrt</strong>&lt;<code>T</code>&gt;(<code>value</code>): <a href="https://www.typescriptlang.org/docs/handbook/utility-types.html#omittype-keys" target="_blank" rel="noreferrer"><code>Omit</code></a>&lt;<code>T</code>, <code>&quot;integrate&quot;</code>&gt;</p><h4 id="type-parameters-130" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-130" aria-label="Permalink to &quot;Type parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h4 id="parameters-270" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-270" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h4 id="returns-286" tabindex="-1">Returns <a class="header-anchor" href="#returns-286" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="https://www.typescriptlang.org/docs/handbook/utility-types.html#omittype-keys" target="_blank" rel="noreferrer"><code>Omit</code></a>&lt;<code>T</code>, <code>&quot;integrate&quot;</code>&gt;</p><h4 id="defined-in-252" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-252" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L788" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:788</a></p><p> <code>Static</code> <strong>ssqrt</strong>(<code>value</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="parameters-271" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-271" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-287" tabindex="-1">Returns <a class="header-anchor" href="#returns-287" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-253" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-253" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L789" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:789</a></p><hr><h3 id="step-1" tabindex="-1">step <a class="header-anchor" href="#step-1" aria-label="Permalink to &quot;step&quot;"></a></h3><p> <code>Static</code> <strong>step</strong>(<code>value</code>, <code>start</code>, <code>formulaModifier</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><p>Creates a step-wise formula. After start the formula will have an additional modifier. This function assumes the incoming value will be continuous and monotonically increasing.</p><h4 id="parameters-272" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-272" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th><th style="text-align:left;">Description</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td><td style="text-align:left;">The value before applying the step</td></tr><tr><td style="text-align:left;"><code>start</code></td><td style="text-align:left;"><a href="./../../../modules/util/computed#computable"><code>Computable</code></a>&lt;<a href="./../../../modules/lib/break_eternity#decimalsource"><code>DecimalSource</code></a>&gt;</td><td style="text-align:left;">The value at which to start applying the step</td></tr><tr><td style="text-align:left;"><code>formulaModifier</code></td><td style="text-align:left;">(<code>value</code>: <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a> &amp; { <code>invert</code>: (<code>value</code>: <a href="./../../../modules/lib/break_eternity#decimalsource"><code>DecimalSource</code></a>) =&gt; <a href="./../../../modules/lib/break_eternity#decimalsource"><code>DecimalSource</code></a> } &amp; { <code>evaluateIntegral</code>: (<code>variable?</code>: <a href="./../../../modules/lib/break_eternity#decimalsource"><code>DecimalSource</code></a>) =&gt; <a href="./../../../modules/lib/break_eternity#decimalsource"><code>DecimalSource</code></a> } &amp; { <code>invertIntegral</code>: (<code>value</code>: <a href="./../../../modules/lib/break_eternity#decimalsource"><code>DecimalSource</code></a>) =&gt; <a href="./../../../modules/lib/break_eternity#decimalsource"><code>DecimalSource</code></a> }) =&gt; <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></td><td style="text-align:left;">How this step should modify the formula. The incoming value will be the unmodified formula value <em>minus the start value</em>. So for example if an incoming formula evaluates to 200 and has a step that starts at 150, the formulaModifier would be given 50 as the parameter</td></tr></tbody></table><h4 id="returns-288" tabindex="-1">Returns <a class="header-anchor" href="#returns-288" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-254" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-254" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L326" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:326</a></p><hr><h3 id="sub-1" tabindex="-1">sub <a class="header-anchor" href="#sub-1" aria-label="Permalink to &quot;sub&quot;"></a></h3><p> <code>Static</code> <strong>sub</strong>&lt;<code>T</code>&gt;(<code>value</code>, <code>other</code>): <code>T</code></p><h4 id="type-parameters-131" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-131" aria-label="Permalink to &quot;Type parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h4 id="parameters-273" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-273" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><code>T</code></td></tr><tr><td style="text-align:left;"><code>other</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-289" tabindex="-1">Returns <a class="header-anchor" href="#returns-289" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><code>T</code></p><h4 id="defined-in-255" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-255" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L467" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:467</a></p><p> <code>Static</code> <strong>sub</strong>&lt;<code>T</code>&gt;(<code>value</code>, <code>other</code>): <code>T</code></p><h4 id="type-parameters-132" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-132" aria-label="Permalink to &quot;Type parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h4 id="parameters-274" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-274" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr><tr><td style="text-align:left;"><code>other</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h4 id="returns-290" tabindex="-1">Returns <a class="header-anchor" href="#returns-290" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><code>T</code></p><h4 id="defined-in-256" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-256" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L468" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:468</a></p><p> <code>Static</code> <strong>sub</strong>(<code>value</code>, <code>other</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="parameters-275" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-275" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr><tr><td style="text-align:left;"><code>other</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-291" tabindex="-1">Returns <a class="header-anchor" href="#returns-291" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-257" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-257" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L469" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:469</a></p><hr><h3 id="tan-1" tabindex="-1">tan <a class="header-anchor" href="#tan-1" aria-label="Permalink to &quot;tan&quot;"></a></h3><p> <code>Static</code> <strong>tan</strong>&lt;<code>T</code>&gt;(<code>value</code>): <code>T</code></p><h4 id="type-parameters-133" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-133" aria-label="Permalink to &quot;Type parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h4 id="parameters-276" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-276" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h4 id="returns-292" tabindex="-1">Returns <a class="header-anchor" href="#returns-292" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><code>T</code></p><h4 id="defined-in-258" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-258" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L824" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:824</a></p><p> <code>Static</code> <strong>tan</strong>(<code>value</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="parameters-277" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-277" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-293" tabindex="-1">Returns <a class="header-anchor" href="#returns-293" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-259" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-259" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L825" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:825</a></p><hr><h3 id="tanh-1" tabindex="-1">tanh <a class="header-anchor" href="#tanh-1" aria-label="Permalink to &quot;tanh&quot;"></a></h3><p> <code>Static</code> <strong>tanh</strong>&lt;<code>T</code>&gt;(<code>value</code>): <code>T</code></p><h4 id="type-parameters-134" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-134" aria-label="Permalink to &quot;Type parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h4 id="parameters-278" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-278" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><code>T</code></td></tr></tbody></table><h4 id="returns-294" tabindex="-1">Returns <a class="header-anchor" href="#returns-294" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><code>T</code></p><h4 id="defined-in-260" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-260" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L890" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:890</a></p><p> <code>Static</code> <strong>tanh</strong>(<code>value</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="parameters-279" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-279" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-295" tabindex="-1">Returns <a class="header-anchor" href="#returns-295" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-261" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-261" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L891" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:891</a></p><hr><h3 id="tetrate-1" tabindex="-1">tetrate <a class="header-anchor" href="#tetrate-1" aria-label="Permalink to &quot;tetrate&quot;"></a></h3><p> <code>Static</code> <strong>tetrate</strong>&lt;<code>T</code>&gt;(<code>value</code>, <code>height?</code>, <code>payload?</code>): <a href="https://www.typescriptlang.org/docs/handbook/utility-types.html#omittype-keys" target="_blank" rel="noreferrer"><code>Omit</code></a>&lt;<code>T</code>, <code>&quot;integrate&quot;</code>&gt;</p><h4 id="type-parameters-135" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-135" aria-label="Permalink to &quot;Type parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./formulas.default"><code>default</code></a>&lt;<code>any</code>, <code>T</code>&gt;</td></tr></tbody></table><h4 id="parameters-280" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-280" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><code>T</code></td></tr><tr><td style="text-align:left;"><code>height?</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr><tr><td style="text-align:left;"><code>payload?</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-296" tabindex="-1">Returns <a class="header-anchor" href="#returns-296" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="https://www.typescriptlang.org/docs/handbook/utility-types.html#omittype-keys" target="_blank" rel="noreferrer"><code>Omit</code></a>&lt;<code>T</code>, <code>&quot;integrate&quot;</code>&gt;</p><h4 id="defined-in-262" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-262" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L695" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:695</a></p><p> <code>Static</code> <strong>tetrate</strong>(<code>value</code>, <code>height?</code>, <code>payload?</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="parameters-281" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-281" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr><tr><td style="text-align:left;"><code>height?</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr><tr><td style="text-align:left;"><code>payload?</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-297" tabindex="-1">Returns <a class="header-anchor" href="#returns-297" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-263" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-263" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L700" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:700</a></p><hr><h3 id="trunc-1" tabindex="-1">trunc <a class="header-anchor" href="#trunc-1" aria-label="Permalink to &quot;trunc&quot;"></a></h3><p> <code>Static</code> <strong>trunc</strong>(<code>value</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="parameters-282" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-282" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/game/formulas/types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><h4 id="returns-298" tabindex="-1">Returns <a class="header-anchor" href="#returns-298" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a></p><h4 id="defined-in-264" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-264" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L448" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:448</a></p><hr><h3 id="variable" tabindex="-1">variable <a class="header-anchor" href="#variable" aria-label="Permalink to &quot;variable&quot;"></a></h3><p> <code>Static</code> <strong>variable</strong>(<code>value</code>): <a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a> &amp; { <code>invert</code>: (<code>value</code>: <a href="./../../../modules/lib/break_eternity#decimalsource"><code>DecimalSource</code></a>) =&gt; <a href="./../../../modules/lib/break_eternity#decimalsource"><code>DecimalSource</code></a> } &amp; { <code>evaluateIntegral</code>: (<code>variable?</code>: <a href="./../../../modules/lib/break_eternity#decimalsource"><code>DecimalSource</code></a>) =&gt; <a href="./../../../modules/lib/break_eternity#decimalsource"><code>DecimalSource</code></a> } &amp; { <code>invertIntegral</code>: (<code>value</code>: <a href="./../../../modules/lib/break_eternity#decimalsource"><code>DecimalSource</code></a>) =&gt; <a href="./../../../modules/lib/break_eternity#decimalsource"><code>DecimalSource</code></a> }</p><p>Creates a formula that is marked as the variable for an outer formula. Typically used for inverting and integrating.</p><h4 id="parameters-283" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-283" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th><th style="text-align:left;">Description</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./../../../modules/util/computed#processedcomputable"><code>ProcessedComputable</code></a>&lt;<a href="./../../../modules/lib/break_eternity#decimalsource"><code>DecimalSource</code></a>&gt;</td><td style="text-align:left;">The variable for this formula.</td></tr></tbody></table><h4 id="returns-299" tabindex="-1">Returns <a class="header-anchor" href="#returns-299" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><a href="./../../../modules/game/formulas/types#genericformula"><code>GenericFormula</code></a> &amp; { <code>invert</code>: (<code>value</code>: <a href="./../../../modules/lib/break_eternity#decimalsource"><code>DecimalSource</code></a>) =&gt; <a href="./../../../modules/lib/break_eternity#decimalsource"><code>DecimalSource</code></a> } &amp; { <code>evaluateIntegral</code>: (<code>variable?</code>: <a href="./../../../modules/lib/break_eternity#decimalsource"><code>DecimalSource</code></a>) =&gt; <a href="./../../../modules/lib/break_eternity#decimalsource"><code>DecimalSource</code></a> } &amp; { <code>invertIntegral</code>: (<code>value</code>: <a href="./../../../modules/lib/break_eternity#decimalsource"><code>DecimalSource</code></a>) =&gt; <a href="./../../../modules/lib/break_eternity#decimalsource"><code>DecimalSource</code></a> }</p><h4 id="defined-in-265" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-265" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/formulas/formulas.ts#L312" target="_blank" rel="noreferrer">profectus/src/game/formulas/formulas.ts:312</a></p>',2730),d=[l];function s(c,n,i,u,h,f){return a(),t("div",null,d)}const g=e(o,[["render",s]]);export{p as __pageData,g as default};