PLSSVM - Parallel Least Squares Support Vector Machine  2.0.0
A Least Squares Support Vector Machine implementation using different backends.
Public Attributes | List of all members
plssvm::operators::transposed< T > Struct Template Reference

Wrapper struct for overloading the dot product operator. More...

#include <operators.hpp>

Public Attributes

const std::vector< T > & vec
 The encapsulated vector.
 

Detailed Description

template<typename T>
struct plssvm::operators::transposed< T >

Wrapper struct for overloading the dot product operator.

Used to calculate the dot product \(x^T \cdot y\) using

std::vector<T> x = ...;
std::vector<T> y = ...;
T res = transposed{ x } * y; // same as: dot(x, y);
transposed(const std::vector< T > &) -> transposed< T >
Deduction guide for the plssvm::operators::transposed struct needed for C++17.
Template Parameters
Tthe value type

The documentation for this struct was generated from the following file: