Computes the cosine distance in the batch processing mode.
More...
Constructs the cosine distance algorithm by copying input objects of another cosine distance algorithm
- Parameters
-
context | Context to manage the cosine distance algorithm |
other | An algorithm to be used as the source to initialize the input objects and parameters of the algorithm |
Constructs the cosine distance algorithm
- Parameters
-
context | Context to manage the cosine distance algorithm |
cls | Data type to use in intermediate computations for cosine distance, Double.class or Float.class |
method | Cosine distance computation method, Method |
Returns the newly allocated cosine distance algorithm with a copy of input objects of this cosine distance algorithm
- Parameters
-
context | Context to manage the cosine distance algorithm |
- Returns
- The newly allocated algorithm
Computes the cosine distance
- Returns
- Results of the cosine distance algorithm
void setResult |
( |
Result |
result | ) |
|
Registers user-allocated memory to store results of the cosine distance algorithm
- Parameters
-
result | Object to store the results |
Computation method for the algorithm
The documentation for this class was generated from the following file: