Module: game/formulas/operations
Functions
applySubstitutionDiv
▸ applySubstitutionDiv(value
, lhs
, rhs
): GenericFormula
Name | Type |
---|---|
value | GenericFormula |
lhs | FormulaSource |
rhs | FormulaSource |
Defined in
profectus/src/game/formulas/operations.ts:217
applySubstitutionMul
▸ applySubstitutionMul(value
, lhs
, rhs
): GenericFormula
Name | Type |
---|---|
value | GenericFormula |
lhs | FormulaSource |
rhs | FormulaSource |
Defined in
profectus/src/game/formulas/operations.ts:173
applySubstitutionNeg
▸ applySubstitutionNeg(value
): GenericFormula
Name | Type |
---|---|
value | GenericFormula |
Defined in
profectus/src/game/formulas/operations.ts:31
createPassthroughBinaryFormula
▸ createPassthroughBinaryFormula(operation
): (value
: FormulaSource
, other
: FormulaSource
) => default
<[FormulaSource
, FormulaSource
]>
Name | Type |
---|---|
operation | (a : DecimalSource , b : DecimalSource ) => DecimalSource |
Defined in
profectus/src/game/formulas/operations.ts:912
integrateAcos
▸ integrateAcos(stack
, lhs
): GenericFormula
Name | Type |
---|---|
stack | SubstitutionStack |
lhs | FormulaSource |
Defined in
profectus/src/game/formulas/operations.ts:744
integrateAcosh
▸ integrateAcosh(stack
, lhs
): GenericFormula
Name | Type |
---|---|
stack | SubstitutionStack |
lhs | FormulaSource |
Defined in
profectus/src/game/formulas/operations.ts:874
integrateAdd
▸ integrateAdd(stack
, lhs
, rhs
): InvertibleIntegralFormula
| default
<[FormulaSource
, FormulaSource
]>
Name | Type |
---|---|
stack | SubstitutionStack |
lhs | FormulaSource |
rhs | FormulaSource |
Defined in
profectus/src/game/formulas/operations.ts:45
integrateAsin
▸ integrateAsin(stack
, lhs
): GenericFormula
Name | Type |
---|---|
stack | SubstitutionStack |
lhs | FormulaSource |
Defined in
profectus/src/game/formulas/operations.ts:721
integrateAsinh
▸ integrateAsinh(stack
, lhs
): GenericFormula
Name | Type |
---|---|
stack | SubstitutionStack |
lhs | FormulaSource |
Defined in
profectus/src/game/formulas/operations.ts:853
integrateAtan
▸ integrateAtan(stack
, lhs
): GenericFormula
Name | Type |
---|---|
stack | SubstitutionStack |
lhs | FormulaSource |
Defined in
profectus/src/game/formulas/operations.ts:767
integrateAtanh
▸ integrateAtanh(stack
, lhs
): GenericFormula
Name | Type |
---|---|
stack | SubstitutionStack |
lhs | FormulaSource |
Defined in
profectus/src/game/formulas/operations.ts:897
integrateCos
▸ integrateCos(stack
, lhs
): GenericFormula
Name | Type |
---|---|
stack | SubstitutionStack |
lhs | FormulaSource |
Defined in
profectus/src/game/formulas/operations.ts:679
integrateCosh
▸ integrateCosh(stack
, lhs
): GenericFormula
Name | Type |
---|---|
stack | SubstitutionStack |
lhs | FormulaSource |
Defined in
profectus/src/game/formulas/operations.ts:811
integrateDiv
▸ integrateDiv(stack
, lhs
, rhs
): GenericFormula
Name | Type |
---|---|
stack | SubstitutionStack |
lhs | FormulaSource |
rhs | FormulaSource |
Defined in
profectus/src/game/formulas/operations.ts:197
integrateExp
▸ integrateExp(stack
, lhs
): GenericFormula
Name | Type |
---|---|
stack | SubstitutionStack |
lhs | FormulaSource |
Defined in
profectus/src/game/formulas/operations.ts:515
integrateInnerAdd
▸ integrateInnerAdd(stack
, lhs
, rhs
): GenericFormula
Name | Type |
---|---|
stack | SubstitutionStack |
lhs | FormulaSource |
rhs | FormulaSource |
Defined in
profectus/src/game/formulas/operations.ts:65
integrateInnerSub
▸ integrateInnerSub(stack
, lhs
, rhs
): GenericFormula
Name | Type |
---|---|
stack | SubstitutionStack |
lhs | FormulaSource |
rhs | FormulaSource |
Defined in
profectus/src/game/formulas/operations.ts:119
integrateLn
▸ integrateLn(stack
, lhs
): InvertibleIntegralFormula
| default
<[GenericFormula
]>
Name | Type |
---|---|
stack | SubstitutionStack |
lhs | FormulaSource |
Defined in
profectus/src/game/formulas/operations.ts:385
integrateLog
▸ integrateLog(stack
, lhs
, rhs
): InvertibleIntegralFormula
| default
<[GenericFormula
, FormulaSource
]>
Name | Type |
---|---|
stack | SubstitutionStack |
lhs | FormulaSource |
rhs | FormulaSource |
Defined in
profectus/src/game/formulas/operations.ts:312
integrateLog10
▸ integrateLog10(stack
, lhs
): InvertibleIntegralFormula
| default
<[GenericFormula
]>
Name | Type |
---|---|
stack | SubstitutionStack |
lhs | FormulaSource |
Defined in
profectus/src/game/formulas/operations.ts:273
integrateLog2
▸ integrateLog2(stack
, lhs
): InvertibleIntegralFormula
| default
<[GenericFormula
]>
Name | Type |
---|---|
stack | SubstitutionStack |
lhs | FormulaSource |
Defined in
profectus/src/game/formulas/operations.ts:349
integrateMul
▸ integrateMul(stack
, lhs
, rhs
): GenericFormula
Name | Type |
---|---|
stack | SubstitutionStack |
lhs | FormulaSource |
rhs | FormulaSource |
Defined in
profectus/src/game/formulas/operations.ts:153
integrateNeg
▸ integrateNeg(stack
, lhs
): GenericFormula
Name | Type |
---|---|
stack | SubstitutionStack |
lhs | FormulaSource |
Defined in
profectus/src/game/formulas/operations.ts:19
integratePow
▸ integratePow(stack
, lhs
, rhs
): InvertibleIntegralFormula
| default
<[FormulaSource
]> | InternalFormula
<[FormulaSource
, FormulaSource
]>
Name | Type |
---|---|
stack | SubstitutionStack |
lhs | FormulaSource |
rhs | FormulaSource |
Defined in
profectus/src/game/formulas/operations.ts:411
integratePow10
▸ integratePow10(stack
, lhs
): InvertibleIntegralFormula
| default
<[FormulaSource
]>
Name | Type |
---|---|
stack | SubstitutionStack |
lhs | FormulaSource |
Defined in
profectus/src/game/formulas/operations.ts:440
integratePowBase
▸ integratePowBase(stack
, lhs
, rhs
): InvertibleIntegralFormula
| default
<[FormulaSource
]> | InternalFormula
<[FormulaSource
, FormulaSource
]>
Name | Type |
---|---|
stack | SubstitutionStack |
lhs | FormulaSource |
rhs | FormulaSource |
Defined in
profectus/src/game/formulas/operations.ts:463
integrateRecip
▸ integrateRecip(stack
, lhs
): GenericFormula
Name | Type |
---|---|
stack | SubstitutionStack |
lhs | FormulaSource |
Defined in
profectus/src/game/formulas/operations.ts:239
integrateRoot
▸ integrateRoot(stack
, lhs
, rhs
): InvertibleIntegralFormula
| default
<[FormulaSource
]>
Name | Type |
---|---|
stack | SubstitutionStack |
lhs | FormulaSource |
rhs | FormulaSource |
Defined in
profectus/src/game/formulas/operations.ts:494
integrateSin
▸ integrateSin(stack
, lhs
): GenericFormula
Name | Type |
---|---|
stack | SubstitutionStack |
lhs | FormulaSource |
Defined in
profectus/src/game/formulas/operations.ts:658
integrateSinh
▸ integrateSinh(stack
, lhs
): GenericFormula
Name | Type |
---|---|
stack | SubstitutionStack |
lhs | FormulaSource |
Defined in
profectus/src/game/formulas/operations.ts:790
integrateSub
▸ integrateSub(stack
, lhs
, rhs
): InvertibleIntegralFormula
| default
<[FormulaSource
, FormulaSource
]>
Name | Type |
---|---|
stack | SubstitutionStack |
lhs | FormulaSource |
rhs | FormulaSource |
Defined in
profectus/src/game/formulas/operations.ts:99
integrateTan
▸ integrateTan(stack
, lhs
): GenericFormula
Name | Type |
---|---|
stack | SubstitutionStack |
lhs | FormulaSource |
Defined in
profectus/src/game/formulas/operations.ts:700
integrateTanh
▸ integrateTanh(stack
, lhs
): GenericFormula
Name | Type |
---|---|
stack | SubstitutionStack |
lhs | FormulaSource |
Defined in
profectus/src/game/formulas/operations.ts:832
invertAcos
▸ invertAcos(value
, lhs
): DecimalSource
Name | Type |
---|---|
value | DecimalSource |
lhs | FormulaSource |
Defined in
profectus/src/game/formulas/operations.ts:736
invertAcosh
▸ invertAcosh(value
, lhs
): DecimalSource
Name | Type |
---|---|
value | DecimalSource |
lhs | FormulaSource |
Defined in
profectus/src/game/formulas/operations.ts:866
invertAdd
▸ invertAdd(value
, lhs
, rhs
): DecimalSource
Name | Type |
---|---|
value | DecimalSource |
lhs | FormulaSource |
rhs | FormulaSource |
Defined in
profectus/src/game/formulas/operations.ts:35
invertAsin
▸ invertAsin(value
, lhs
): DecimalSource
Name | Type |
---|---|
value | DecimalSource |
lhs | FormulaSource |
Defined in
profectus/src/game/formulas/operations.ts:713
invertAsinh
▸ invertAsinh(value
, lhs
): DecimalSource
Name | Type |
---|---|
value | DecimalSource |
lhs | FormulaSource |
Defined in
profectus/src/game/formulas/operations.ts:845
invertAtan
▸ invertAtan(value
, lhs
): DecimalSource
Name | Type |
---|---|
value | DecimalSource |
lhs | FormulaSource |
Defined in
profectus/src/game/formulas/operations.ts:759
invertAtanh
▸ invertAtanh(value
, lhs
): DecimalSource
Name | Type |
---|---|
value | DecimalSource |
lhs | FormulaSource |
Defined in
profectus/src/game/formulas/operations.ts:889
invertCos
▸ invertCos(value
, lhs
): DecimalSource
Name | Type |
---|---|
value | DecimalSource |
lhs | FormulaSource |
Defined in
profectus/src/game/formulas/operations.ts:671
invertCosh
▸ invertCosh(value
, lhs
): DecimalSource
Name | Type |
---|---|
value | DecimalSource |
lhs | FormulaSource |
Defined in
profectus/src/game/formulas/operations.ts:803
invertDiv
▸ invertDiv(value
, lhs
, rhs
): DecimalSource
Name | Type |
---|---|
value | DecimalSource |
lhs | FormulaSource |
rhs | FormulaSource |
Defined in
profectus/src/game/formulas/operations.ts:187
invertExp
▸ invertExp(value
, lhs
): DecimalSource
Name | Type |
---|---|
value | DecimalSource |
lhs | FormulaSource |
Defined in
profectus/src/game/formulas/operations.ts:507
invertIteratedExp
▸ invertIteratedExp(value
, lhs
, height
, payload
): DecimalSource
Name | Type |
---|---|
value | DecimalSource |
lhs | FormulaSource |
height | FormulaSource |
payload | FormulaSource |
Defined in
profectus/src/game/formulas/operations.ts:560
invertLambertw
▸ invertLambertw(value
, lhs
): DecimalSource
Name | Type |
---|---|
value | DecimalSource |
lhs | FormulaSource |
Defined in
profectus/src/game/formulas/operations.ts:629
invertLayeradd
▸ invertLayeradd(value
, lhs
, diff
, base
): DecimalSource
Name | Type |
---|---|
value | DecimalSource |
lhs | FormulaSource |
diff | FormulaSource |
base | FormulaSource |
Defined in
profectus/src/game/formulas/operations.ts:610
invertLn
▸ invertLn(value
, lhs
): DecimalSource
Name | Type |
---|---|
value | DecimalSource |
lhs | FormulaSource |
Defined in
profectus/src/game/formulas/operations.ts:365
invertLog
▸ invertLog(value
, lhs
, rhs
): DecimalSource
Name | Type |
---|---|
value | DecimalSource |
lhs | FormulaSource |
rhs | FormulaSource |
Defined in
profectus/src/game/formulas/operations.ts:289
invertLog10
▸ invertLog10(value
, lhs
): DecimalSource
Name | Type |
---|---|
value | DecimalSource |
lhs | FormulaSource |
Defined in
profectus/src/game/formulas/operations.ts:252
invertLog2
▸ invertLog2(value
, lhs
): DecimalSource
Name | Type |
---|---|
value | DecimalSource |
lhs | FormulaSource |
Defined in
profectus/src/game/formulas/operations.ts:328
invertMul
▸ invertMul(value
, lhs
, rhs
): DecimalSource
Name | Type |
---|---|
value | DecimalSource |
lhs | FormulaSource |
rhs | FormulaSource |
Defined in
profectus/src/game/formulas/operations.ts:143
invertNeg
▸ invertNeg(value
, lhs
): DecimalSource
Name | Type |
---|---|
value | DecimalSource |
lhs | FormulaSource |
Defined in
profectus/src/game/formulas/operations.ts:11
invertPow
▸ invertPow(value
, lhs
, rhs
): DecimalSource
Name | Type |
---|---|
value | DecimalSource |
lhs | FormulaSource |
rhs | FormulaSource |
Defined in
profectus/src/game/formulas/operations.ts:401
invertPow10
▸ invertPow10(value
, lhs
): DecimalSource
Name | Type |
---|---|
value | DecimalSource |
lhs | FormulaSource |
Defined in
profectus/src/game/formulas/operations.ts:432
invertPowBase
▸ invertPowBase(value
, lhs
, rhs
): DecimalSource
Name | Type |
---|---|
value | DecimalSource |
lhs | FormulaSource |
rhs | FormulaSource |
Defined in
profectus/src/game/formulas/operations.ts:453
invertRecip
▸ invertRecip(value
, lhs
): DecimalSource
Name | Type |
---|---|
value | DecimalSource |
lhs | FormulaSource |
Defined in
profectus/src/game/formulas/operations.ts:231
invertRoot
▸ invertRoot(value
, lhs
, rhs
): DecimalSource
Name | Type |
---|---|
value | DecimalSource |
lhs | FormulaSource |
rhs | FormulaSource |
Defined in
profectus/src/game/formulas/operations.ts:484
invertSin
▸ invertSin(value
, lhs
): DecimalSource
Name | Type |
---|---|
value | DecimalSource |
lhs | FormulaSource |
Defined in
profectus/src/game/formulas/operations.ts:650
invertSinh
▸ invertSinh(value
, lhs
): DecimalSource
Name | Type |
---|---|
value | DecimalSource |
lhs | FormulaSource |
Defined in
profectus/src/game/formulas/operations.ts:782
invertSlog
▸ invertSlog(value
, lhs
, rhs
): DecimalSource
Name | Type |
---|---|
value | DecimalSource |
lhs | FormulaSource |
rhs | FormulaSource |
Defined in
profectus/src/game/formulas/operations.ts:594
invertSsqrt
▸ invertSsqrt(value
, lhs
): DecimalSource
Name | Type |
---|---|
value | DecimalSource |
lhs | FormulaSource |
Defined in
profectus/src/game/formulas/operations.ts:637
invertSub
▸ invertSub(value
, lhs
, rhs
): DecimalSource
Name | Type |
---|---|
value | DecimalSource |
lhs | FormulaSource |
rhs | FormulaSource |
Defined in
profectus/src/game/formulas/operations.ts:89
invertTan
▸ invertTan(value
, lhs
): DecimalSource
Name | Type |
---|---|
value | DecimalSource |
lhs | FormulaSource |
Defined in
profectus/src/game/formulas/operations.ts:692
invertTanh
▸ invertTanh(value
, lhs
): DecimalSource
Name | Type |
---|---|
value | DecimalSource |
lhs | FormulaSource |
Defined in
profectus/src/game/formulas/operations.ts:824
invertTetrate
▸ invertTetrate(value
, base
, height
, payload
): DecimalSource
Name | Type |
---|---|
value | DecimalSource |
base | FormulaSource |
height | FormulaSource |
payload | FormulaSource |
Defined in
profectus/src/game/formulas/operations.ts:537
iteratedLog
▸ iteratedLog(value
, lhs?
, times?
): default
Name | Type | Default value |
---|---|---|
value | DecimalSource | undefined |
lhs | DecimalSource | 10 |
times | DecimalSource | 2 |
Defined in
profectus/src/game/formulas/operations.ts:580
iteratedexp
▸ iteratedexp(value
, height?
, payload?
): default
Name | Type | Default value |
---|---|---|
value | DecimalSource | undefined |
height | DecimalSource | 2 |
payload | DecimalSource | undefined |
Defined in
profectus/src/game/formulas/operations.ts:551
layeradd
▸ layeradd(value
, diff
, base
): default
Name | Type |
---|---|
value | DecimalSource |
diff | DecimalSource |
base | DecimalSource |
Defined in
profectus/src/game/formulas/operations.ts:605
passthrough
▸ passthrough<T
>(value
): T
Name | Type |
---|---|
value | T |
Defined in
profectus/src/game/formulas/operations.ts:7
pentate
▸ pentate(value
, height
, payload
): default
Name | Type |
---|---|
value | DecimalSource |
height | DecimalSource |
payload | DecimalSource |
Defined in
profectus/src/game/formulas/operations.ts:645
slog
▸ slog(value
, lhs?
): default
Name | Type | Default value |
---|---|---|
value | DecimalSource | undefined |
lhs | DecimalSource | 10 |
Defined in
profectus/src/game/formulas/operations.ts:589
tetrate
▸ tetrate(value
, height?
, payload?
): default
Name | Type | Default value |
---|---|---|
value | DecimalSource | undefined |
height | DecimalSource | 2 |
payload | DecimalSource | undefined |