Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GuildOfWeavers/AirAssembly
/ functions
Functions
570 in github.com/GuildOfWeavers/AirAssembly
⨍
Functions
570
◇
Types & classes
243
↓ 73 callers
Function
validate
(condition: any, errorMessage: string)
lib/utils.ts:29
↓ 35 callers
Method
validate
(field)
bin/lib/procedures/Constant.js:34
↓ 33 callers
Method
validate
()
bin/lib/AirComponent.js:160
↓ 28 callers
Method
visit
(expression: Expression, options?: any)
lib/expressions/ExpressionVisitor.ts:29
↓ 28 callers
Method
visit
(expression, options)
bin/lib/expressions/ExpressionVisitor.js:18
↓ 11 callers
Method
evaluateTransitionConstraints
* Evaluates transition constraints for a computation. The evaluations are returned as a matrix * object where each row represents a transitio
bin/air-assembly.d.ts:568
↓ 11 callers
Method
generateExecutionTrace
* Generates execution trace for the computation. The trace is returned as a Matrix object where * rows correspond to the dynamic register tra
bin/air-assembly.d.ts:553
↓ 11 callers
Method
initProvingContext
* Instantiates a Prover object for a specific instance of the computation. * @param inputs Values for initializing input registers. Must be p
bin/air-assembly.d.ts:448
↓ 10 callers
Method
getDeclaration
(indexOrHandle, kind)
bin/lib/procedures/contexts/ExecutionContext.js:59
↓ 6 callers
Function
compile
(sourceOrPath: Buffer | string, limits?: Partial<StarkLimits>)
index.ts:37
↓ 6 callers
Method
createProcedureContext
* Creates a new procedure context from the current state of the component * @param name Name of the procedure
bin/air-assembly.d.ts:184
↓ 6 callers
Function
getSimpleOperationCount
(e: Expression)
lib/analysis/operations.ts:20
↓ 6 callers
Function
instantiate
(schema: AirSchema, componentOrOptions?: string | Partial<AirModuleOptions>, options?: Partial<AirModuleOption
index.ts:78
↓ 6 callers
Function
mergeReferences
(r1: Set<number>, r2: Set<number>)
lib/analysis/operations.ts:217
↓ 6 callers
Function
mergeReferences
(r1, r2)
bin/lib/analysis/operations.js:194
↓ 5 callers
Function
isVector
(info: ExpressionInfo)
lib/analysis/operations.ts:209
↓ 5 callers
Function
isVector
(info)
bin/lib/analysis/operations.js:188
↓ 5 callers
Method
isVector
()
lib/procedures/Constant.ts:33
↓ 4 callers
Method
buildLoadExpression
(operation: string, indexOrHandle: number | string)
bin/air-assembly.d.ts:250
↓ 4 callers
Function
dimensionsToInfo
(dimensions: Dimensions, degree = 0n, traceRefs = new Set<number>(), staticRefs = new Set<number>())
lib/analysis/analyzer.ts:205
↓ 4 callers
Function
dimensionsToInfo
(dimensions, degree = 0n, traceRefs = new Set(), staticRefs = new Set())
bin/lib/analysis/analyzer.js:160
↓ 4 callers
Method
getValues
(field: FiniteField)
bin/air-assembly.d.ts:301
↓ 4 callers
Function
interpolateRegisterValues
(values: bigint[], domainOrRoot: Vector | bigint)
lib/jsGenerator/template.ts:497
↓ 4 callers
Function
interpolateRegisterValues
(values, domainOrRoot)
bin/lib/jsGenerator/template.js:417
↓ 4 callers
Function
isPowerOf2
(value: number | bigint)
lib/utils.ts:14
↓ 4 callers
Method
isScalar
()
lib/procedures/Constant.ts:29
↓ 4 callers
Method
toString
()
lib/AirSchema.ts:95
↓ 4 callers
Function
validateHandle
(handle: string)
lib/utils.ts:33
↓ 3 callers
Function
analyzeProcedure
(procedure: AirProcedure)
lib/analysis/analyzer.ts:174
↓ 3 callers
Function
applySimpleOperation
(degreeOp: DegreeOp, lhs: ExpressionInfo, rhs: ExpressionInfo)
lib/analysis/operations.ts:55
↓ 3 callers
Method
evaluateConstraintsAt
* Evaluates transition constraints at the specified point. * @param x Point in the evaluation domain at which to evaluate constraints
bin/air-assembly.d.ts:532
↓ 3 callers
Function
generateProcedureCode
(procedure: AirProcedure)
lib/jsGenerator/generator.ts:76
↓ 3 callers
Function
generateProcedureCode
(procedure)
bin/lib/jsGenerator/generator.js:60
↓ 3 callers
Method
initVerificationContext
* Instantiates a Verifier object for a specific instance of the computation. * @param inputShapes Shapes of input registers consumed by the c
bin/air-assembly.d.ts:457
↓ 3 callers
Function
isMatrix
(info: ExpressionInfo)
lib/analysis/operations.ts:213
↓ 3 callers
Function
isMatrix
(info)
bin/lib/analysis/operations.js:191
↓ 3 callers
Method
isMatrix
()
lib/procedures/Constant.ts:37
↓ 3 callers
Function
mulDegree
(base: InfoItem, exponent: bigint)
lib/analysis/operations.ts:140
↓ 3 callers
Function
mulDegree
(base, exponent)
bin/lib/analysis/operations.js:126
↓ 3 callers
Method
toString
()
bin/lib/AirSchema.js:73
↓ 2 callers
Method
addCyclicRegister
(values: bigint[] | ValueSequence)
bin/air-assembly.d.ts:178
↓ 2 callers
Method
addInputRegister
(scope: string, binary: boolean, master?: InputRegisterMaster, steps?: number, offset?: number)
bin/air-assembly.d.ts:176
↓ 2 callers
Method
addLocal
(dimensions: Dimensions, handle?: string)
bin/air-assembly.d.ts:241
↓ 2 callers
Method
addMaskRegister
(sourceIdx: number, inverted: boolean)
bin/air-assembly.d.ts:177
↓ 2 callers
Method
addParam
(dimensions: Dimensions, handle?: string)
bin/air-assembly.d.ts:240
↓ 2 callers
Function
analyze
(schema: AirSchema, componentName: string)
index.ts:99
↓ 2 callers
Function
applyLinearCombination
(lhs: InfoItem[], rhs: InfoItem[])
lib/analysis/operations.ts:148
↓ 2 callers
Function
applyLinearCombination
(lhs, rhs)
bin/lib/analysis/operations.js:133
↓ 2 callers
Method
buildBinaryOperation
(operation: string, lhs: Expression, rhs: Expression)
bin/air-assembly.d.ts:244
↓ 2 callers
Method
buildCallExpression
(indexOrHandle: number | string, params: Expression[])
bin/air-assembly.d.ts:252
↓ 2 callers
Function
buildFillMask
(values: bigint[], domainLength: number)
lib/jsGenerator/template.ts:518
↓ 2 callers
Function
buildFillMask
(values, domainLength)
bin/lib/jsGenerator/template.js:437
↓ 2 callers
Method
buildGetVectorElementExpression
(source: Expression, index: number)
bin/air-assembly.d.ts:247
↓ 2 callers
Method
buildLiteralValue
(value: bigint | bigint[] | bigint[])
bin/air-assembly.d.ts:243
↓ 2 callers
Method
buildMakeMatrixExpression
(elements: Expression[][])
bin/air-assembly.d.ts:249
↓ 2 callers
Method
buildMakeVectorExpression
(elements: Expression[])
bin/air-assembly.d.ts:246
↓ 2 callers
Method
buildSliceVectorExpression
(source: Expression, start: number, end: number)
bin/air-assembly.d.ts:248
↓ 2 callers
Function
buildStaticRegisterEvaluator
(register: RegisterEvaluatorSpecs)
lib/jsGenerator/template.ts:196
↓ 2 callers
Function
buildStaticRegisterEvaluator
(register)
bin/lib/jsGenerator/template.js:146
↓ 2 callers
Method
buildStoreOperation
(indexOrHandle: number | string, value: Expression)
bin/air-assembly.d.ts:251
↓ 2 callers
Function
buildSubdomain
(domain: Vector, newLength: number)
lib/jsGenerator/template.ts:513
↓ 2 callers
Function
buildSubdomain
(domain, newLength)
bin/lib/jsGenerator/template.js:432
↓ 2 callers
Method
buildUnaryOperation
(operation: string, operand: Expression)
bin/air-assembly.d.ts:245
↓ 2 callers
Function
computeTraceLength
(shapes: number[][])
lib/jsGenerator/template.ts:559
↓ 2 callers
Function
computeTraceLength
(shapes)
bin/lib/jsGenerator/template.js:476
↓ 2 callers
Function
evaluateConstraints
()
lib/jsGenerator/template.ts:32
↓ 2 callers
Function
evaluateConstraints
()
bin/lib/jsGenerator/template.js:16
↓ 2 callers
Function
getCompositionFactor
(component: AirComponent)
lib/utils.ts:23
↓ 2 callers
Method
isMatrix
()
bin/lib/expressions/Expression.js:21
↓ 2 callers
Function
isScalar
(info: ExpressionInfo)
lib/analysis/operations.ts:205
↓ 2 callers
Function
isScalar
(info)
bin/lib/analysis/operations.js:185
↓ 2 callers
Method
isScalar
()
bin/lib/expressions/Expression.js:15
↓ 2 callers
Method
isVector
()
bin/lib/expressions/Expression.js:18
↓ 2 callers
Method
isVector
()
bin/lib/procedures/Constant.js:23
↓ 2 callers
Method
setConstraintEvaluator
(context: ProcedureContext, statements: StoreOperation[], result: Expression)
bin/air-assembly.d.ts:188
↓ 2 callers
Method
setTraceInitializer
(context: ProcedureContext, statements: StoreOperation[], result: Expression)
bin/air-assembly.d.ts:186
↓ 2 callers
Method
setTransitionFunction
(context: ProcedureContext, statements: StoreOperation[], result: Expression)
bin/air-assembly.d.ts:187
↓ 2 callers
Function
unrollRegisterValues
(value: any[] | bigint, regIdx: number, rank: number, depth: number, shape: number[])
lib/jsGenerator/template.ts:525
↓ 2 callers
Function
unrollRegisterValues
(value, regIdx, rank, depth, shape)
bin/lib/jsGenerator/template.js:444
↓ 2 callers
Function
validate
(condition, errorMessage)
bin/lib/utils.js:27
↓ 2 callers
Function
validateBinaryValues
(values: bigint[], regIdx: number)
lib/jsGenerator/template.ts:486
↓ 2 callers
Function
validateBinaryValues
(values, regIdx)
bin/lib/jsGenerator/template.js:406
↓ 2 callers
Function
validateLimits
(schema: AirSchema, limits: StarkLimits)
index.ts:127
↓ 2 callers
Function
validateLimits
(schema, limits)
bin/index.js:112
↓ 1 callers
Method
addComponent
(component: AirComponent)
lib/AirSchema.ts:87
↓ 1 callers
Method
addComponent
(component)
bin/lib/AirSchema.js:66
↓ 1 callers
Method
addConstant
(value: bigint | bigint[] | bigint[][], handle?: string)
lib/AirSchema.ts:49
↓ 1 callers
Method
addConstant
(value, handle)
bin/lib/AirSchema.js:34
↓ 1 callers
Method
addFunction
(context: FunctionContext, statements: StoreOperation[], result: Expression)
lib/AirSchema.ts:68
↓ 1 callers
Method
addFunction
(context, statements, result)
bin/lib/AirSchema.js:50
↓ 1 callers
Function
applyExponentOperation
(base: ExpressionInfo, exponent: bigint)
lib/analysis/operations.ts:72
↓ 1 callers
Function
applyMatrixMatrixProduct
(lhs: InfoItem[][], rhs: InfoItem[][])
lib/analysis/operations.ts:175
↓ 1 callers
Function
applyMatrixMatrixProduct
(lhs, rhs)
bin/lib/analysis/operations.js:157
↓ 1 callers
Function
applyMatrixVectorProduct
(lhs: InfoItem[][], rhs: InfoItem[])
lib/analysis/operations.ts:167
↓ 1 callers
Function
applyMatrixVectorProduct
(lhs, rhs)
bin/lib/analysis/operations.js:150
↓ 1 callers
Function
applyProductOperation
(lhs: ExpressionInfo, rhs: ExpressionInfo)
lib/analysis/operations.ts:84
↓ 1 callers
Function
applyToMatrix
(op: DegreeOp, lhs: InfoItem[][], rhs: InfoItem[][] | InfoItem)
lib/analysis/operations.ts:123
↓ 1 callers
Function
applyToMatrix
(op, lhs, rhs)
bin/lib/analysis/operations.js:110
↓ 1 callers
Function
applyToVector
(op: DegreeOp, lhs: InfoItem[], rhs: InfoItem[] | InfoItem)
lib/analysis/operations.ts:109
↓ 1 callers
Function
applyToVector
(op, lhs, rhs)
bin/lib/analysis/operations.js:97
next →
1–100 of 570, ranked by callers