36#include <visp3/core/vpException.h>
37#include <visp3/core/vpSubRowVector.h>
52 init(v, offset, ncols);
65 "vector from an empty parent row vector"));
68 if ((offset + ncols) <= v.getCols()) {
69 data = v.data + offset;
81 rowPtrs = (
double **)malloc(1 *
sizeof(
double *));
82 for (
unsigned int i = 0; i < 1; ++i) {
83 rowPtrs[i] = v.data + i + offset;
90 "contained in the parent row vector"));
128 for (
unsigned int i = 0; i <
rowNum; ++i) {
148 for (
unsigned int i = 0; i <
rowNum; ++i) {
168 for (
unsigned int i = 0; i <
rowNum; ++i) {
180 for (
unsigned int i = 0; i <
rowNum; ++i) {
unsigned int getCols() const
unsigned int getRows() const
error that can be emitted by ViSP classes.
@ dimensionError
Bad dimension.
Implementation of a matrix and operations on matrices.
vpRowVector()
Basic constructor that creates an empty 0-size row vector.
VP_DEPRECATED void init()
vpRowVector * m_parent
Parent vpColVector.
vpSubRowVector & operator=(const vpSubRowVector &B)
virtual ~vpSubRowVector() VP_OVERRIDE
void checkParentStatus() const
vpSubRowVector()
Default constructor that creates an empty vector.
unsigned int m_pColNum
Number of row of parent vpColVector at initialization.