ExampleDotProduct

class ExampleDotProduct : public kotekan::Stage

A stage to compute the dot product between two vectors: A and B, which are represented by two buffers. The result is written to an output buffer.

Buffers

  • in_a_buf The input buffer representing vector A.

    • Format: Array of floats

    • Metadata: none

  • in_b_buf The input buffer representing vector B.

    • Format: Array of floats

    • Metadata: any

  • out_buf The output buffer to hold the result.

    • Format: Array of floats

    • Metadata: any

Public Functions

ExampleDotProduct(kotekan::Config &config, const std::string &unique_name, kotekan::bufferContainer &buffer_container)
virtual ~ExampleDotProduct()
virtual void main_thread() override