jrl::qp::internal::SingleNZSegmentVector Class Reference

#include <jrl-qp/internal/SingleNZSegmentVector.h>

Public Member Functions

 SingleNZSegmentVector (const VectorConstRef &v, int start, int size)
 
int start () const
 
int end () const
 
int size () const
 
const VectorConstRefnzSegment () const
 
void toFullVector (VectorRef u) const
 
double dot (const VectorConstRef &u) const
 

Detailed Description

A vector [0; v; 0]

Constructor & Destructor Documentation

◆ SingleNZSegmentVector()

jrl::qp::internal::SingleNZSegmentVector::SingleNZSegmentVector ( const VectorConstRef v,
int  start,
int  size 
)
inline
Parameters
vNon-zero segment of the vector
startSize of the zero before v
sizeSize of this vector

Member Function Documentation

◆ dot()

double jrl::qp::internal::SingleNZSegmentVector::dot ( const VectorConstRef u) const
inline

◆ end()

int jrl::qp::internal::SingleNZSegmentVector::end ( ) const
inline

◆ nzSegment()

const VectorConstRef& jrl::qp::internal::SingleNZSegmentVector::nzSegment ( ) const
inline

◆ size()

int jrl::qp::internal::SingleNZSegmentVector::size ( ) const
inline

◆ start()

int jrl::qp::internal::SingleNZSegmentVector::start ( ) const
inline

◆ toFullVector()

void jrl::qp::internal::SingleNZSegmentVector::toFullVector ( VectorRef  u) const
inline

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