2#include "Base/Headers/Buffer.hpp"
3#include "hyper_graph.h"
4#include "sparse_block_matrix.h"
30 g_type*
x() {
return _x.begin(); }
31 const g_type*
x()
const {
return _x.begin(); }
33 g_type*
b() {
return _b.begin(); }
34 const g_type*
b()
const {
return _b.begin(); }
The equivelent of std::vector but with a bit more control.
g_type * b()
return b, the right hand side of the system
g_type * x()
return x, the solution vector
void resizeVector(uint04 sx)
Resizes the solution and right-hand side vectors.
Solver()
Default constructor.
Buffer< g_type > _b
The right-hand side vector.
Buffer< g_type > _x
The solution vector.
uint04 vectorSize() const
return the size of the solution vector (x) and b
Sparse optimizer that manages active vertices and edges for graph-based optimization.
The primary namespace for the NDEVR SDK.
uint32_t uint04
-Defines an alias representing a 4 byte, unsigned integer -Can represent exact integer values 0 throu...