Defines data structures for DriveVector in swSim. More...
#include "include/DriveVector.hpp"
Public Member Functions | |
DriveVector (int sz) | |
Create the DriveVector. More... | |
~DriveVector () | |
Destroy the DriveVector. More... | |
bool | CommitCoefficents (swSim::SparseMatrix *matrix_1, swSim::SparseMatrix *matrix_2) |
Creates the coefficients for a pair of sparse matrices to be multipled by, A1*A2*Drivevector[i]. More... | |
Public Attributes | |
std::vector< swSim::SparseVector > | uCoeffs |
Vector of sparse vectors that define the input coefficients for each each cell. More... | |
Defines data structures for DriveVector in swSim.
swSim::DriveVector::DriveVector | ( | int | sz | ) |
Create the DriveVector.
swSim::DriveVector::~DriveVector | ( | ) |
Destroy the DriveVector.
bool swSim::DriveVector::CommitCoefficents | ( | swSim::SparseMatrix * | matrix_1, |
swSim::SparseMatrix * | matrix_2 | ||
) |
Creates the coefficients for a pair of sparse matrices to be multipled by, A1*A2*Drivevector[i].
std::vector<swSim::SparseVector> swSim::DriveVector::uCoeffs |
Vector of sparse vectors that define the input coefficients for each each cell.