Qucs-core  0.0.19
Public Member Functions | Static Public Member Functions | Private Attributes | Friends
qucs::matvec Class Reference

#include <matvec.h>

Collaboration diagram for qucs::matvec:
Collaboration graph
[legend]

Public Member Functions

 matvec ()
 matvec (int, int, int)
 matvec (const matvec &)
 ~matvec ()
int getSize (void)
int getCols (void)
int getRows (void)
void setName (const char *)
char * getName (void)
void set (qucs::vector, int, int)
void set (matrix, int)
qucs::vector get (int, int)
matrix get (int)
matvec operator- ()
matvec operator+= (matvec)
matvec operator-= (matvec)

Static Public Member Functions

static char * createMatrixString (const char *, int, int)
static char * createMatrixString (char, int, int)
static char * isMatrixVector (const char *, int &, int &)
static matvecgetMatrixVector (qucs::vector *, char *)
static void getMatrixVectorSize (qucs::vector *, char *, int &, int &, int &)

Private Attributes

int size
int rows
int cols
char * name
matrixdata

Friends

matvec operator+ (matvec, matvec)
matvec operator+ (matvec, matrix)
matvec operator+ (matrix, matvec)
matvec operator+ (matvec, nr_complex_t)
matvec operator+ (nr_complex_t, matvec)
matvec operator+ (matvec, nr_double_t)
matvec operator+ (nr_double_t, matvec)
matvec operator+ (matvec, qucs::vector)
matvec operator+ (qucs::vector, matvec)
matvec operator- (matvec, matvec)
matvec operator- (matvec, matrix)
matvec operator- (matrix, matvec)
matvec operator- (matvec, nr_complex_t)
matvec operator- (nr_complex_t, matvec)
matvec operator- (matvec, nr_double_t)
matvec operator- (nr_double_t, matvec)
matvec operator- (matvec, qucs::vector)
matvec operator- (qucs::vector, matvec)
matvec operator/ (matvec, nr_complex_t)
matvec operator/ (matvec, nr_double_t)
matvec operator/ (matvec, qucs::vector)
matvec operator* (matvec, qucs::vector)
matvec operator* (qucs::vector, matvec)
matvec operator* (matvec, nr_complex_t)
matvec operator* (nr_complex_t, matvec)
matvec operator* (matvec, nr_double_t)
matvec operator* (nr_double_t, matvec)
matvec operator* (matvec, matvec)
matvec operator* (matvec, matrix)
matvec operator* (matrix, matvec)
matvec transpose (matvec)
matvec conj (matvec)
qucs::vector det (matvec)
matvec inverse (matvec)
matvec sqr (matvec)
matvec pow (matvec, int)
matvec pow (matvec, qucs::vector)
matvec twoport (matvec, char, char)
matvec real (matvec)
matvec imag (matvec)
matvec abs (matvec)
matvec dB (matvec)
matvec arg (matvec)
matvec adjoint (matvec)
qucs::vector rollet (matvec)
qucs::vector b1 (matvec)
matvec rad2deg (matvec)
matvec deg2rad (matvec)
matvec stos (matvec, nr_complex_t, nr_complex_t)
matvec stos (matvec, nr_double_t, nr_double_t)
matvec stos (matvec, qucs::vector, nr_complex_t)
matvec stos (matvec, nr_complex_t, qucs::vector)
matvec stos (matvec, qucs::vector, qucs::vector)
matvec stoz (matvec, nr_complex_t)
matvec stoz (matvec, qucs::vector)
matvec ztos (matvec, nr_complex_t)
matvec ztos (matvec, qucs::vector)
matvec ztoy (matvec)
matvec stoy (matvec, nr_complex_t)
matvec stoy (matvec, qucs::vector)
matvec ytos (matvec, nr_complex_t)
matvec ytos (matvec, qucs::vector)
matvec ytoz (matvec)

Detailed Description

Definition at line 68 of file matvec.h.


Constructor & Destructor Documentation

qucs::matvec::matvec ( )

Definition at line 50 of file matvec.cpp.

qucs::matvec::matvec ( int  length,
int  r,
int  c 
)

Definition at line 59 of file matvec.cpp.

qucs::matvec::matvec ( const matvec m)

Definition at line 74 of file matvec.cpp.

qucs::matvec::~matvec ( )

Definition at line 89 of file matvec.cpp.


Member Function Documentation

char * qucs::matvec::createMatrixString ( const char *  n,
int  r,
int  c 
) [static]

Definition at line 128 of file matvec.cpp.

char * qucs::matvec::createMatrixString ( char  n,
int  r,
int  c 
) [static]

Definition at line 137 of file matvec.cpp.

qucs::vector qucs::matvec::get ( int  r,
int  c 
)

Definition at line 116 of file matvec.cpp.

matrix qucs::matvec::get ( int  idx)

Definition at line 242 of file matvec.cpp.

int qucs::matvec::getCols ( void  ) [inline]

Definition at line 76 of file matvec.h.

matvec * qucs::matvec::getMatrixVector ( qucs::vector *  data,
char *  name 
) [static]

Definition at line 202 of file matvec.cpp.

void qucs::matvec::getMatrixVectorSize ( qucs::vector *  data,
char *  name,
int rs,
int cs,
int ss 
) [static]

Definition at line 175 of file matvec.cpp.

char * qucs::matvec::getName ( void  )

Definition at line 101 of file matvec.cpp.

int qucs::matvec::getRows ( void  ) [inline]

Definition at line 77 of file matvec.h.

int qucs::matvec::getSize ( void  ) [inline]

Definition at line 75 of file matvec.h.

char * qucs::matvec::isMatrixVector ( const char *  n,
int r,
int c 
) [static]

Definition at line 148 of file matvec.cpp.

matvec qucs::matvec::operator+= ( matvec  a)

Definition at line 340 of file matvec.cpp.

matvec qucs::matvec::operator- ( )

Definition at line 380 of file matvec.cpp.

matvec qucs::matvec::operator-= ( matvec  a)

Definition at line 387 of file matvec.cpp.

void qucs::matvec::set ( qucs::vector  v,
int  r,
int  c 
)

Definition at line 107 of file matvec.cpp.

void qucs::matvec::set ( matrix  m,
int  idx 
)

Definition at line 234 of file matvec.cpp.

void qucs::matvec::setName ( const char *  n)

Definition at line 95 of file matvec.cpp.


Friends And Related Function Documentation

matvec abs ( matvec  ) [friend]
matvec adjoint ( matvec  ) [friend]
matvec arg ( matvec  ) [friend]
qucs::vector b1 ( matvec  ) [friend]
matvec conj ( matvec  ) [friend]
matvec dB ( matvec  ) [friend]
matvec deg2rad ( matvec  ) [friend]
qucs::vector det ( matvec  ) [friend]
matvec imag ( matvec  ) [friend]
matvec inverse ( matvec  ) [friend]
matvec operator* ( matvec  ,
qucs::vector   
) [friend]
matvec operator* ( qucs::vector  ,
matvec   
) [friend]
matvec operator* ( matvec  ,
nr_complex_t   
) [friend]
matvec operator* ( nr_complex_t  ,
matvec   
) [friend]
matvec operator* ( matvec  ,
nr_double_t   
) [friend]
matvec operator* ( nr_double_t  ,
matvec   
) [friend]
matvec operator* ( matvec  ,
matvec   
) [friend]
matvec operator* ( matvec  ,
matrix   
) [friend]
matvec operator* ( matrix  ,
matvec   
) [friend]
matvec operator+ ( matvec  ,
matvec   
) [friend]
matvec operator+ ( matvec  ,
matrix   
) [friend]
matvec operator+ ( matrix  ,
matvec   
) [friend]
matvec operator+ ( matvec  ,
nr_complex_t   
) [friend]
matvec operator+ ( nr_complex_t  ,
matvec   
) [friend]
matvec operator+ ( matvec  ,
nr_double_t   
) [friend]
matvec operator+ ( nr_double_t  ,
matvec   
) [friend]
matvec operator+ ( matvec  ,
qucs::vector   
) [friend]
matvec operator+ ( qucs::vector  ,
matvec   
) [friend]
matvec operator- ( matvec  ,
matvec   
) [friend]
matvec operator- ( matvec  ,
matrix   
) [friend]
matvec operator- ( matrix  ,
matvec   
) [friend]
matvec operator- ( matvec  ,
nr_complex_t   
) [friend]
matvec operator- ( nr_complex_t  ,
matvec   
) [friend]
matvec operator- ( matvec  ,
nr_double_t   
) [friend]
matvec operator- ( nr_double_t  ,
matvec   
) [friend]
matvec operator- ( matvec  ,
qucs::vector   
) [friend]
matvec operator- ( qucs::vector  ,
matvec   
) [friend]
matvec operator/ ( matvec  ,
nr_complex_t   
) [friend]
matvec operator/ ( matvec  ,
nr_double_t   
) [friend]
matvec operator/ ( matvec  ,
qucs::vector   
) [friend]
matvec pow ( matvec  ,
int   
) [friend]
matvec pow ( matvec  ,
qucs::vector   
) [friend]
matvec rad2deg ( matvec  ) [friend]
matvec real ( matvec  ) [friend]
qucs::vector rollet ( matvec  ) [friend]
matvec sqr ( matvec  ) [friend]
matvec stos ( matvec  ,
nr_complex_t  ,
nr_complex_t   
) [friend]
matvec stos ( matvec  ,
nr_double_t  ,
nr_double_t   
) [friend]
matvec stos ( matvec  ,
qucs::vector  ,
nr_complex_t   
) [friend]
matvec stos ( matvec  ,
nr_complex_t  ,
qucs::vector   
) [friend]
matvec stos ( matvec  ,
qucs::vector  ,
qucs::vector   
) [friend]
matvec stoy ( matvec  ,
nr_complex_t   
) [friend]
matvec stoy ( matvec  ,
qucs::vector   
) [friend]
matvec stoz ( matvec  ,
nr_complex_t   
) [friend]
matvec stoz ( matvec  ,
qucs::vector   
) [friend]
matvec transpose ( matvec  ) [friend]
matvec twoport ( matvec  ,
char  ,
char   
) [friend]
matvec ytos ( matvec  ,
nr_complex_t   
) [friend]
matvec ytos ( matvec  ,
qucs::vector   
) [friend]
matvec ytoz ( matvec  ) [friend]
matvec ztos ( matvec  ,
nr_complex_t   
) [friend]
matvec ztos ( matvec  ,
qucs::vector   
) [friend]
matvec ztoy ( matvec  ) [friend]

Field Documentation

int qucs::matvec::cols [private]

Definition at line 166 of file matvec.h.

Definition at line 168 of file matvec.h.

char* qucs::matvec::name [private]

Definition at line 167 of file matvec.h.

int qucs::matvec::rows [private]

Definition at line 165 of file matvec.h.

Definition at line 164 of file matvec.h.


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