Into

Modules

Documentation

classPiiMatrixDecomposer

#include <PiiMatrixDecomposer.h>

Decomposes input matrix so that each row element corresponds one output.

Inherits PiiDefaultOperation

Description

So input matrix must be row matrix and size of columns must be same as output count. You must set output counts with outputCount-property first, default is 1.

Inputs

inputany row matrix

Outputs

outputXoutputX is element (0,X) in input matrix.

Properties

int

Specifies the number of the output sockets.

Constructors and destructor

Public member functions

int
void

Protected member functions

virtual void

Executes one round of processing.

Property details

  • int dynamicOutputCount

    [read, write]

    Specifies the number of the output sockets.

Function details

  • PiiMatrixDecomposer

    ()
  • int dynamicOutputCount

    ()
  • void setDynamicOutputCount

    (
    • int cnt
    )
  • virtual void process

    ()
    [protected, virtual]

    Executes one round of processing.

    This function is invoked by the processor if the necessary preconditions for a new processing round are met. This function does all the necessary calculations to create output objects and sends them to output sockets.

    Calls to process(), syncEvent(), and setProperty() are synchronized and cannot occur simultaneously. PiiDefaultOperation ensures this by locking processLock() for reading before calling process().

    Note: With time-consuming operations, one should occasionally check that the operation hasn't been interrupted, i.e. that state() returns Running.

    Exceptions
    PiiExecutionException

    whenever an unrecoverable error occurs during a processing round, the operation is interrupted, or finishes execution due to end of input data.

    Reimplemented from PiiDefaultOperation.

Notes (0)

Add a note

Not a single note added yet. Be the first, add yours.