Table of Contents

Class ComputationBase

Namespace
NMF.Transformations
Assembly
NMF.Transformations.dll

Represents a computation that transforms arbitrary many inputs

public abstract class ComputationBase : Computation, IPersistor, ITraceEntry
Inheritance
ComputationBase
Implements
Derived
Inherited Members
Extension Methods

Constructors

ComputationBase(GeneralTransformationRule, IComputationContext, object[])

Creates a new computation within the given transformation context for the given input

protected ComputationBase(GeneralTransformationRule transformationRule, IComputationContext context, object[] inputs)

Parameters

transformationRule GeneralTransformationRule

The transformation rule that was used to transform the input

context IComputationContext

The context of this transformation

inputs object[]

The input for this transformation

Properties

Input

Gets the inputs of this computation

protected object[] Input { get; }

Property Value

object[]

Methods

GetInput(int)

Gets the input argument for this computation with the given index

public override object GetInput(int index)

Parameters

index int

The index of the input parameter

Returns

object

The input parameter at the ith position