My Project
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
MatrixVector::vec Class Reference

Public Member Functions

 vec (int r, int c)
 
 vec (const vec &v)
 
 vec (const vector< float > &v)
 
vec operator+ (vec v)
 
bool operator== (const vec &v)
 
vecoperator= (const vec &v)
 
vec operator- (vec &v)
 
mat operator* (row r)
 
mat toMatrix ()
 
void print ()
 
row tran ()
 
mat multi ()
 
void createVec (float *arr, int len)
 
vector< float > toVector ()
 
vector< float > toVec ()
 
int size ()
 
 vec (int r, int c)
 
 vec (const vec &v)
 
vec operator+ (vec v)
 
bool operator== (const vec &v)
 
vecoperator= (const vec &v)
 
vec operator- (vec &v)
 
mat operator* (row r)
 
mat toMatrix ()
 
void print ()
 
row tran ()
 
mat multi ()
 
void createVec (float *arr, int len)
 
vector< float > toVector ()
 

Public Attributes

int nrow
 
int ncol
 
float ** arr
 

Constructor & Destructor Documentation

◆ vec()

MatrixVector::vec::vec ( int  col,
int  row = 1 
)

Should nrow is always 1?

Member Function Documentation

◆ toVector()

vector< float > MatrixVector::vec::toVector ( )

vec => vector<float> v


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