Batch and Online Processing
Online processing computation mode assumes that the data arrives in blocks
.
Algorithm Input
The SVD algorithm accepts the input described below.
Pass the
Input ID
as a parameter to the methods that provide input for your algorithm.Input ID | Input |
---|---|
data | Pointer to the numeric table that represents:
The input can be an object of any class derived from NumericTable . |
Algorithm Parameters
The SVD algorithm has the following parameters:
Parameter | Default Value | Description |
---|---|---|
algorithmFPType | float | The floating-point type that the algorithm uses for intermediate computations. Can be float or double . |
method | defaultDense | Performance-oriented computation method, the only method supported by the algorithm. |
leftSingularMatrix | requiredInPackedForm | Specifies whether the matrix of left singular vectors is required. Can be:
|
rightSingularMatrix | requiredInPackedForm | Specifies whether the matrix of left singular vectors is required. Can be:
|
Algorithm Output
The SVD algorithm calculates the results described below.
Pass the
Result ID
as a parameter to the methods that access the results of your algorithm.Result ID | Result |
---|---|
singularValues | Pointer to the |
leftSingularMatrix | Pointer to the NULL if left singular vectors are not required. |
rightSingularMatrix | Pointer to the NULL if right singular vectors are not required. |
By default, these results are objects of the
HomogenNumericTable
class,
but you can define the result as an object of any class derived from NumericTable
except PackedSymmetricMatrix
, PackedTriangularMatrix
, and CSRNumericTable
.