|
typedef RWMathVecConstIterator< int > | const_iterator |
|
typedef std::reverse_iterator< const_iterator > | const_reverse_iterator |
|
typedef RWMathVecIterator< int > | iterator |
|
typedef rw_numeric_traits< int >::mathFunType | mathFunType |
|
typedef rw_numeric_traits< int >::mathFunType2 | mathFunType2 |
|
typedef rw_numeric_traits< int >::norm_type | norm_type |
|
typedef rw_numeric_traits< int >::promote_type | promote_type |
|
typedef std::reverse_iterator< iterator > | reverse_iterator |
|
enum | Storage { COLUMN_MAJOR
, ROW_MAJOR
, RWEITHER
} |
|
RWMathVec< double > | abs (const RWMathVec< DComplex > &) |
|
RWMathVec< double > | abs (const RWMathVec< double > &) |
|
RWMathVec< float > | abs (const RWMathVec< float > &) |
|
RWMathVec< int > | abs (const RWMathVec< int > &) |
|
RWMathVec< signed char > | abs (const RWMathVec< signed char > &) |
|
RWMathVec< int > | acos (const RWMathVec< int > &x) |
|
RWMathVec< double > | arg (const RWMathVec< DComplex > &v) |
|
RWMathVec< int > | asin (const RWMathVec< int > &x) |
|
RWMathVec< int > | atan (const RWMathVec< int > &x) |
|
RWMathVec< int > | atan2 (const RWMathVec< int > &x, const RWMathVec< int > &y) |
|
RWMathVec< int > | ceil (const RWMathVec< int > &x) |
|
RWMathVec< DComplex > | conj (const RWMathVec< DComplex > &x) |
|
DComplex | conjDot (const RWMathVec< DComplex > &x, const RWMathVec< DComplex > &y) |
|
RWMathVec< int > | cos (const RWMathVec< int > &x) |
|
RWMathVec< int > | cosh (const RWMathVec< int > &x) |
|
RWMathVec< int > | cumsum (const RWMathVec< int > &x) |
|
RWMathVec< int > | delta (const RWMathVec< int > &x) |
|
int | dot (const RWMathVec< int > &x, const RWMathVec< int > &y) |
|
RWMathVec< int > | exp (const RWMathVec< int > &x) |
|
RWMathVec< DComplex > | expandConjugateEven (const RWMathVec< DComplex > &) |
|
RWMathVec< DComplex > | expandConjugateOdd (const RWMathVec< DComplex > &) |
|
RWMathVec< int > | expandEven (const RWMathVec< int > &) |
|
RWMathVec< int > | expandOdd (const RWMathVec< int > &) |
|
RWMathVec< int > | floor (const RWMathVec< int > &V) |
|
double | frobNorm (const RWMathVec< DComplex > &v) |
|
double | frobNorm (const RWMathVec< double > &v) |
|
float | frobNorm (const RWMathVec< float > &v) |
|
double | kurtosis (const RWMathVec< double > &) |
|
double | l1Norm (const RWMathVec< DComplex > &v) |
|
double | l1Norm (const RWMathVec< double > &v) |
|
float | l1Norm (const RWMathVec< float > &v) |
|
double | l2Norm (const RWMathVec< DComplex > &v) |
|
double | l2Norm (const RWMathVec< double > &v) |
|
float | l2Norm (const RWMathVec< float > &v) |
|
double | linfNorm (const RWMathVec< DComplex > &v) |
|
double | linfNorm (const RWMathVec< double > &v) |
|
float | linfNorm (const RWMathVec< float > &v) |
|
RWMathVec< int > | log (const RWMathVec< int > &x) |
|
RWMathVec< int > | log10 (const RWMathVec< int > &x) |
|
int | maxIndex (const RWMathVec< int > &) |
|
double | maxNorm (const RWMathVec< DComplex > &v) |
|
double | maxNorm (const RWMathVec< double > &v) |
|
float | maxNorm (const RWMathVec< float > &v) |
|
int | maxValue (const RWMathVec< int > &) |
|
int | mean (const RWMathVec< int > &V) |
|
int | minIndex (const RWMathVec< int > &) |
|
int | minValue (const RWMathVec< int > &) |
|
RWMathVec< double > | norm (const RWMathVec< DComplex > &x) |
|
RWMathVec< int > | operator* (const int &s, const RWMathVec< int > &v) |
|
RWMathVec< int > | operator* (const RWMathVec< int > &u, const int &s) |
|
RWMathVec< int > | operator* (const RWMathVec< int > &u, const RWMathVec< int > &v) |
|
RWMathVec< int > | operator+ (const int &s, const RWMathVec< int > &v) |
|
RWMathVec< int > | operator+ (const RWMathVec< int > &u, const int &s) |
|
RWMathVec< int > | operator+ (const RWMathVec< int > &u, const RWMathVec< int > &v) |
|
RWMathVec< int > | operator+ (const RWMathVec< int > &v) |
|
RWMathVec< int > | operator- (const int &s, const RWMathVec< int > &v) |
|
RWMathVec< int > | operator- (const RWMathVec< int > &u, const int &s) |
|
RWMathVec< int > | operator- (const RWMathVec< int > &u, const RWMathVec< int > &v) |
|
RWMathVec< int > | operator- (const RWMathVec< int > &v) |
|
RWMathVec< int > | operator/ (const int &s, const RWMathVec< int > &v) |
|
RWMathVec< int > | operator/ (const RWMathVec< int > &u, const int &s) |
|
RWMathVec< int > | operator/ (const RWMathVec< int > &u, const RWMathVec< int > &v) |
|
std::ostream & | operator<< (std::ostream &s, const RWMathVec< int > &v) |
|
std::istream & | operator>> (std::istream &s, RWMathVec< int > &v) |
|
RWGenMat< int > | outerProduct (const RWMathVec< int > &x, const RWMathVec< int > &y) |
|
RWMathVec< int > | pow (const RWMathVec< int > &x, const RWMathVec< int > &y) |
|
RWMathVec< int > | pow (const RWMathVec< int > &x, int y) |
|
RWMathVec< int > | pow (int x, const RWMathVec< int > &y) |
|
int | prod (const RWMathVec< int > &) |
|
RWMathVec< int > | reverse (const RWMathVec< int > &) |
|
RWMathVec< DComplex > | rootsOfOne (int N) |
| Returns a complex vector v containing the complex Nth roots of unity.
|
|
RWMathVec< DComplex > | rootsOfOne (int N, size_t nterms) |
| Returns a complex vector v containing the complex Nth roots of unity.
|
|
RWMathVec< int > | sin (const RWMathVec< int > &V) |
|
RWMathVec< int > | sinh (const RWMathVec< int > &V) |
|
double | skewness (const RWMathVec< double > &) |
|
RWMathVec< double > | sort (const RWMathVec< double > &) |
|
double | spectralVariance (const RWMathVec< DComplex > &) |
|
RWMathVec< int > | sqrt (const RWMathVec< int > &V) |
|
int | sum (const RWMathVec< int > &) |
|
RWMathVec< int > | tan (const RWMathVec< int > &V) |
|
RWMathVec< int > | tanh (const RWMathVec< int > &V) |
|
RWMathVec< signed char > | toChar (const RWMathVec< int > &v) |
|
RWMathVec< float > | toFloat (const RWMathVec< double > &v) |
|
RWMathVec< int > | toInt (const RWMathVec< double > &v) |
|
RWMathVec< int > | toInt (const RWMathVec< float > &v) |
|
double | variance (const RWMathVec< DComplex > &) |
|
double | variance (const RWMathVec< double > &) |
|
float | variance (const RWMathVec< float > &) |
|
Class RWMultiIndex is an n-dimensional
index class. It is a tool for traversing arrays of arbitrary dimension. As shown in the Example below, you can use RWMultiIndex to help you write subroutines that operate on arrays of arbitrary dimension. Using automatic type conversion, you can then call these subroutines with vectors, matrices, or arrays. For instance, you can use the Example subroutine as follows:
int vZeros = numZeros(v);
int AZeros = numZeros(A);
int XZeros = numZeros(X)
A templatized general matrix class.
Definition genmat.h:735
A templatized arbitrary dimension array class.
Definition mtharray.h:884
A templatized vector class.
Definition mathvec.h:645
- Synopsis
#include <rw/math/mtharray.h>
}
An n-dimensional index class for traversing arrays of arbitrary dimension.
Definition array.h:175
- Example
#include <rw/math/mtharray.h>
{
int count = 0;
if (X(i) == 0) {
++count;
}
}
return count;
}
RWIntVec length() const
Definition mtharray.h:1291