21 virtual void multiply(
Environment const& env, std::vector<ValueType>
const& x, std::vector<ValueType>
const* b,
22 std::vector<ValueType>& result)
const override;
23 virtual void multiplyGaussSeidel(
Environment const& env, std::vector<ValueType>& x, std::vector<ValueType>
const* b,
bool backwards =
true)
const override;
25 std::vector<ValueType>
const& x, std::vector<ValueType>
const* b, std::vector<ValueType>& result,
26 std::vector<uint_fast64_t>* choices =
nullptr)
const override;
28 std::vector<ValueType>& x, std::vector<ValueType>
const* b, std::vector<uint_fast64_t>* choices =
nullptr,
29 bool backwards =
true)
const override;
30 virtual void multiplyRow(uint64_t
const& rowIndex, std::vector<ValueType>
const& x, ValueType& value)
const override;
31 virtual void multiplyRow2(uint64_t
const& rowIndex, std::vector<ValueType>
const& x1, ValueType& val1, std::vector<ValueType>
const& x2,
32 ValueType& val2)
const override;
37 void multAdd(std::vector<ValueType>
const& x, std::vector<ValueType>
const* b, std::vector<ValueType>& result)
const;
40 std::vector<ValueType>
const* b, std::vector<ValueType>& result, std::vector<uint64_t>* choices =
nullptr)
const;
42 void multAddParallel(std::vector<ValueType>
const& x, std::vector<ValueType>
const* b, std::vector<ValueType>& result)
const;
44 std::vector<ValueType>
const* b, std::vector<ValueType>& result, std::vector<uint64_t>* choices =
nullptr)
const;
virtual void multiplyAndReduceGaussSeidel(Environment const &env, OptimizationDirection const &dir, std::vector< uint64_t > const &rowGroupIndices, std::vector< ValueType > &x, std::vector< ValueType > const *b, std::vector< uint_fast64_t > *choices=nullptr, bool backwards=true) const override
virtual void multiplyRow2(uint64_t const &rowIndex, std::vector< ValueType > const &x1, ValueType &val1, std::vector< ValueType > const &x2, ValueType &val2) const override
Multiplies the row with the given index with x1 and x2 and adds the given offset o1 and o2,...
virtual void multiplyAndReduce(Environment const &env, OptimizationDirection const &dir, std::vector< uint64_t > const &rowGroupIndices, std::vector< ValueType > const &x, std::vector< ValueType > const *b, std::vector< ValueType > &result, std::vector< uint_fast64_t > *choices=nullptr) const override
virtual void multiplyGaussSeidel(Environment const &env, std::vector< ValueType > &x, std::vector< ValueType > const *b, bool backwards=true) const override
Performs a matrix-vector multiplication in gauss-seidel style.
virtual void multiply(Environment const &env, std::vector< ValueType > const &x, std::vector< ValueType > const *b, std::vector< ValueType > &result) const override
Performs a matrix-vector multiplication x' = A*x + b.