Skip to content
On this page

Module: game/formulas/operations

Functions

applySubstitutionDiv

applySubstitutionDiv(value, lhs, rhs): GenericFormula

NameType
valueGenericFormula
lhsFormulaSource
rhsFormulaSource

Defined in

profectus/src/game/formulas/operations.ts:217


applySubstitutionMul

applySubstitutionMul(value, lhs, rhs): GenericFormula

NameType
valueGenericFormula
lhsFormulaSource
rhsFormulaSource

Defined in

profectus/src/game/formulas/operations.ts:173


applySubstitutionNeg

applySubstitutionNeg(value): GenericFormula

NameType
valueGenericFormula

Defined in

profectus/src/game/formulas/operations.ts:31


createPassthroughBinaryFormula

createPassthroughBinaryFormula(operation): (value: FormulaSource, other: FormulaSource) => default<[FormulaSource, FormulaSource]>

NameType
operation(a: DecimalSource, b: DecimalSource) => DecimalSource

Defined in

profectus/src/game/formulas/operations.ts:912


integrateAcos

integrateAcos(stack, lhs): GenericFormula

NameType
stackSubstitutionStack
lhsFormulaSource

Defined in

profectus/src/game/formulas/operations.ts:744


integrateAcosh

integrateAcosh(stack, lhs): GenericFormula

NameType
stackSubstitutionStack
lhsFormulaSource

Defined in

profectus/src/game/formulas/operations.ts:874


integrateAdd

integrateAdd(stack, lhs, rhs): InvertibleIntegralFormula | default<[FormulaSource, FormulaSource]>

NameType
stackSubstitutionStack
lhsFormulaSource
rhsFormulaSource

Defined in

profectus/src/game/formulas/operations.ts:45


integrateAsin

integrateAsin(stack, lhs): GenericFormula

NameType
stackSubstitutionStack
lhsFormulaSource

Defined in

profectus/src/game/formulas/operations.ts:721


integrateAsinh

integrateAsinh(stack, lhs): GenericFormula

NameType
stackSubstitutionStack
lhsFormulaSource

Defined in

profectus/src/game/formulas/operations.ts:853


integrateAtan

integrateAtan(stack, lhs): GenericFormula

NameType
stackSubstitutionStack
lhsFormulaSource

Defined in

profectus/src/game/formulas/operations.ts:767


integrateAtanh

integrateAtanh(stack, lhs): GenericFormula

NameType
stackSubstitutionStack
lhsFormulaSource

Defined in

profectus/src/game/formulas/operations.ts:897


integrateCos

integrateCos(stack, lhs): GenericFormula

NameType
stackSubstitutionStack
lhsFormulaSource

Defined in

profectus/src/game/formulas/operations.ts:679


integrateCosh

integrateCosh(stack, lhs): GenericFormula

NameType
stackSubstitutionStack
lhsFormulaSource

Defined in

profectus/src/game/formulas/operations.ts:811


integrateDiv

integrateDiv(stack, lhs, rhs): GenericFormula

NameType
stackSubstitutionStack
lhsFormulaSource
rhsFormulaSource

Defined in

profectus/src/game/formulas/operations.ts:197


integrateExp

integrateExp(stack, lhs): GenericFormula

NameType
stackSubstitutionStack
lhsFormulaSource

Defined in

profectus/src/game/formulas/operations.ts:515


integrateInnerAdd

integrateInnerAdd(stack, lhs, rhs): GenericFormula

NameType
stackSubstitutionStack
lhsFormulaSource
rhsFormulaSource

Defined in

profectus/src/game/formulas/operations.ts:65


integrateInnerSub

integrateInnerSub(stack, lhs, rhs): GenericFormula

NameType
stackSubstitutionStack
lhsFormulaSource
rhsFormulaSource

Defined in

profectus/src/game/formulas/operations.ts:119


integrateLn

integrateLn(stack, lhs): InvertibleIntegralFormula | default<[GenericFormula]>

NameType
stackSubstitutionStack
lhsFormulaSource

Defined in

profectus/src/game/formulas/operations.ts:385


integrateLog

integrateLog(stack, lhs, rhs): InvertibleIntegralFormula | default<[GenericFormula, FormulaSource]>

NameType
stackSubstitutionStack
lhsFormulaSource
rhsFormulaSource

Defined in

profectus/src/game/formulas/operations.ts:312


integrateLog10

integrateLog10(stack, lhs): InvertibleIntegralFormula | default<[GenericFormula]>

NameType
stackSubstitutionStack
lhsFormulaSource

Defined in

profectus/src/game/formulas/operations.ts:273


integrateLog2

integrateLog2(stack, lhs): InvertibleIntegralFormula | default<[GenericFormula]>

NameType
stackSubstitutionStack
lhsFormulaSource

Defined in

profectus/src/game/formulas/operations.ts:349


integrateMul

integrateMul(stack, lhs, rhs): GenericFormula

NameType
stackSubstitutionStack
lhsFormulaSource
rhsFormulaSource

Defined in

profectus/src/game/formulas/operations.ts:153


integrateNeg

integrateNeg(stack, lhs): GenericFormula

NameType
stackSubstitutionStack
lhsFormulaSource

Defined in

profectus/src/game/formulas/operations.ts:19


integratePow

integratePow(stack, lhs, rhs): InvertibleIntegralFormula | default<[FormulaSource]> | InternalFormula<[FormulaSource, FormulaSource]>

NameType
stackSubstitutionStack
lhsFormulaSource
rhsFormulaSource

Defined in

profectus/src/game/formulas/operations.ts:411


integratePow10

integratePow10(stack, lhs): InvertibleIntegralFormula | default<[FormulaSource]>

NameType
stackSubstitutionStack
lhsFormulaSource

Defined in

profectus/src/game/formulas/operations.ts:440


integratePowBase

integratePowBase(stack, lhs, rhs): InvertibleIntegralFormula | default<[FormulaSource]> | InternalFormula<[FormulaSource, FormulaSource]>

NameType
stackSubstitutionStack
lhsFormulaSource
rhsFormulaSource

Defined in

profectus/src/game/formulas/operations.ts:463


integrateRecip

integrateRecip(stack, lhs): GenericFormula

NameType
stackSubstitutionStack
lhsFormulaSource

Defined in

profectus/src/game/formulas/operations.ts:239


integrateRoot

integrateRoot(stack, lhs, rhs): InvertibleIntegralFormula | default<[FormulaSource]>

NameType
stackSubstitutionStack
lhsFormulaSource
rhsFormulaSource

Defined in

profectus/src/game/formulas/operations.ts:494


integrateSin

integrateSin(stack, lhs): GenericFormula

NameType
stackSubstitutionStack
lhsFormulaSource

Defined in

profectus/src/game/formulas/operations.ts:658


integrateSinh

integrateSinh(stack, lhs): GenericFormula

NameType
stackSubstitutionStack
lhsFormulaSource

Defined in

profectus/src/game/formulas/operations.ts:790


integrateSub

integrateSub(stack, lhs, rhs): InvertibleIntegralFormula | default<[FormulaSource, FormulaSource]>

NameType
stackSubstitutionStack
lhsFormulaSource
rhsFormulaSource

Defined in

profectus/src/game/formulas/operations.ts:99


integrateTan

integrateTan(stack, lhs): GenericFormula

NameType
stackSubstitutionStack
lhsFormulaSource

Defined in

profectus/src/game/formulas/operations.ts:700


integrateTanh

integrateTanh(stack, lhs): GenericFormula

NameType
stackSubstitutionStack
lhsFormulaSource

Defined in

profectus/src/game/formulas/operations.ts:832


invertAcos

invertAcos(value, lhs): DecimalSource

NameType
valueDecimalSource
lhsFormulaSource

Defined in

profectus/src/game/formulas/operations.ts:736


invertAcosh

invertAcosh(value, lhs): DecimalSource

NameType
valueDecimalSource
lhsFormulaSource

Defined in

profectus/src/game/formulas/operations.ts:866


invertAdd

invertAdd(value, lhs, rhs): DecimalSource

NameType
valueDecimalSource
lhsFormulaSource
rhsFormulaSource

Defined in

profectus/src/game/formulas/operations.ts:35


invertAsin

invertAsin(value, lhs): DecimalSource

NameType
valueDecimalSource
lhsFormulaSource

Defined in

profectus/src/game/formulas/operations.ts:713


invertAsinh

invertAsinh(value, lhs): DecimalSource

NameType
valueDecimalSource
lhsFormulaSource

Defined in

profectus/src/game/formulas/operations.ts:845


invertAtan

invertAtan(value, lhs): DecimalSource

NameType
valueDecimalSource
lhsFormulaSource

Defined in

profectus/src/game/formulas/operations.ts:759


invertAtanh

invertAtanh(value, lhs): DecimalSource

NameType
valueDecimalSource
lhsFormulaSource

Defined in

profectus/src/game/formulas/operations.ts:889


invertCos

invertCos(value, lhs): DecimalSource

NameType
valueDecimalSource
lhsFormulaSource

Defined in

profectus/src/game/formulas/operations.ts:671


invertCosh

invertCosh(value, lhs): DecimalSource

NameType
valueDecimalSource
lhsFormulaSource

Defined in

profectus/src/game/formulas/operations.ts:803


invertDiv

invertDiv(value, lhs, rhs): DecimalSource

NameType
valueDecimalSource
lhsFormulaSource
rhsFormulaSource

Defined in

profectus/src/game/formulas/operations.ts:187


invertExp

invertExp(value, lhs): DecimalSource

NameType
valueDecimalSource
lhsFormulaSource

Defined in

profectus/src/game/formulas/operations.ts:507


invertIteratedExp

invertIteratedExp(value, lhs, height, payload): DecimalSource

NameType
valueDecimalSource
lhsFormulaSource
heightFormulaSource
payloadFormulaSource

Defined in

profectus/src/game/formulas/operations.ts:560


invertLambertw

invertLambertw(value, lhs): DecimalSource

NameType
valueDecimalSource
lhsFormulaSource

Defined in

profectus/src/game/formulas/operations.ts:629


invertLayeradd

invertLayeradd(value, lhs, diff, base): DecimalSource

NameType
valueDecimalSource
lhsFormulaSource
diffFormulaSource
baseFormulaSource

Defined in

profectus/src/game/formulas/operations.ts:610


invertLn

invertLn(value, lhs): DecimalSource

NameType
valueDecimalSource
lhsFormulaSource

Defined in

profectus/src/game/formulas/operations.ts:365


invertLog

invertLog(value, lhs, rhs): DecimalSource

NameType
valueDecimalSource
lhsFormulaSource
rhsFormulaSource

Defined in

profectus/src/game/formulas/operations.ts:289


invertLog10

invertLog10(value, lhs): DecimalSource

NameType
valueDecimalSource
lhsFormulaSource

Defined in

profectus/src/game/formulas/operations.ts:252


invertLog2

invertLog2(value, lhs): DecimalSource

NameType
valueDecimalSource
lhsFormulaSource

Defined in

profectus/src/game/formulas/operations.ts:328


invertMul

invertMul(value, lhs, rhs): DecimalSource

NameType
valueDecimalSource
lhsFormulaSource
rhsFormulaSource

Defined in

profectus/src/game/formulas/operations.ts:143


invertNeg

invertNeg(value, lhs): DecimalSource

NameType
valueDecimalSource
lhsFormulaSource

Defined in

profectus/src/game/formulas/operations.ts:11


invertPow

invertPow(value, lhs, rhs): DecimalSource

NameType
valueDecimalSource
lhsFormulaSource
rhsFormulaSource

Defined in

profectus/src/game/formulas/operations.ts:401


invertPow10

invertPow10(value, lhs): DecimalSource

NameType
valueDecimalSource
lhsFormulaSource

Defined in

profectus/src/game/formulas/operations.ts:432


invertPowBase

invertPowBase(value, lhs, rhs): DecimalSource

NameType
valueDecimalSource
lhsFormulaSource
rhsFormulaSource

Defined in

profectus/src/game/formulas/operations.ts:453


invertRecip

invertRecip(value, lhs): DecimalSource

NameType
valueDecimalSource
lhsFormulaSource

Defined in

profectus/src/game/formulas/operations.ts:231


invertRoot

invertRoot(value, lhs, rhs): DecimalSource

NameType
valueDecimalSource
lhsFormulaSource
rhsFormulaSource

Defined in

profectus/src/game/formulas/operations.ts:484


invertSin

invertSin(value, lhs): DecimalSource

NameType
valueDecimalSource
lhsFormulaSource

Defined in

profectus/src/game/formulas/operations.ts:650


invertSinh

invertSinh(value, lhs): DecimalSource

NameType
valueDecimalSource
lhsFormulaSource

Defined in

profectus/src/game/formulas/operations.ts:782


invertSlog

invertSlog(value, lhs, rhs): DecimalSource

NameType
valueDecimalSource
lhsFormulaSource
rhsFormulaSource

Defined in

profectus/src/game/formulas/operations.ts:594


invertSsqrt

invertSsqrt(value, lhs): DecimalSource

NameType
valueDecimalSource
lhsFormulaSource

Defined in

profectus/src/game/formulas/operations.ts:637


invertSub

invertSub(value, lhs, rhs): DecimalSource

NameType
valueDecimalSource
lhsFormulaSource
rhsFormulaSource

Defined in

profectus/src/game/formulas/operations.ts:89


invertTan

invertTan(value, lhs): DecimalSource

NameType
valueDecimalSource
lhsFormulaSource

Defined in

profectus/src/game/formulas/operations.ts:692


invertTanh

invertTanh(value, lhs): DecimalSource

NameType
valueDecimalSource
lhsFormulaSource

Defined in

profectus/src/game/formulas/operations.ts:824


invertTetrate

invertTetrate(value, base, height, payload): DecimalSource

NameType
valueDecimalSource
baseFormulaSource
heightFormulaSource
payloadFormulaSource

Defined in

profectus/src/game/formulas/operations.ts:537


iteratedLog

iteratedLog(value, lhs?, times?): default

NameTypeDefault value
valueDecimalSourceundefined
lhsDecimalSource10
timesDecimalSource2

Defined in

profectus/src/game/formulas/operations.ts:580


iteratedexp

iteratedexp(value, height?, payload?): default

NameTypeDefault value
valueDecimalSourceundefined
heightDecimalSource2
payloadDecimalSourceundefined

Defined in

profectus/src/game/formulas/operations.ts:551


layeradd

layeradd(value, diff, base): default

NameType
valueDecimalSource
diffDecimalSource
baseDecimalSource

Defined in

profectus/src/game/formulas/operations.ts:605


passthrough

passthrough<T>(value): T

NameType
valueT

Defined in

profectus/src/game/formulas/operations.ts:7


pentate

pentate(value, height, payload): default

NameType
valueDecimalSource
heightDecimalSource
payloadDecimalSource

Defined in

profectus/src/game/formulas/operations.ts:645


slog

slog(value, lhs?): default

NameTypeDefault value
valueDecimalSourceundefined
lhsDecimalSource10

Defined in

profectus/src/game/formulas/operations.ts:589


tetrate

tetrate(value, height?, payload?): default

NameTypeDefault value
valueDecimalSourceundefined
heightDecimalSource2
payloadDecimalSourceundefined

Defined in

profectus/src/game/formulas/operations.ts:528