Mobile API Reference  MicroStrategy 2019
Vector Class Reference

#include <Matrix.H>

Public Member Functions

 Vector (Index)
 
 Vector (Index, Real *)
 
 Vector (Vector &)
 
 ~Vector ()
 
Realoperator[] (Index)
 
Realoperator() (Index)
 
Vectoroperator+= (Vector &v)
 
Vectoroperator-= (Vector &v)
 
Real operator* (Vector &v)
 
Vectoroperator= (Vector &v)
 
Vectoroperator*= (Real x)
 
Vectoroperator/= (Real x)
 
VectorPermute (Vector &v, Permutation &P)
 
VectorPermuteBack (Vector &v, Permutation &p)
 
VectorMatrixMult (Matrix &A, Vector &v)
 
VectorSum (Vector &, Vector &)
 
VectorDiff (Vector &, Vector &)
 
VectorRealMult (Vector &, Real)
 
VectorRealDiv (Vector &, Real)
 
 Vector (Index)
 
 Vector (Index, Real *)
 
 Vector (Vector &)
 
 ~Vector ()
 
Realoperator[] (Index)
 
Realoperator() (Index)
 
Vectoroperator+= (Vector &v)
 
Vectoroperator-= (Vector &v)
 
Real operator* (Vector &v)
 
Vectoroperator= (Vector &v)
 
Vectoroperator*= (Real x)
 
Vectoroperator/= (Real x)
 
VectorPermute (Vector &v, Permutation &P)
 
VectorPermuteBack (Vector &v, Permutation &p)
 
VectorMatrixMult (Matrix &A, Vector &v)
 
VectorSum (Vector &, Vector &)
 
VectorDiff (Vector &, Vector &)
 
VectorRealMult (Vector &, Real)
 
VectorRealDiv (Vector &, Real)
 

Public Attributes

const Index dim
 

Constructor & Destructor Documentation

◆ Vector() [1/6]

Vector::Vector ( Index  d)
inline

◆ Vector() [2/6]

Vector::Vector ( Index  d,
Real v 
)
inline

◆ Vector() [3/6]

Vector::Vector ( Vector X)
inline

◆ ~Vector() [1/2]

Vector::~Vector ( )
inline

◆ Vector() [4/6]

Vector::Vector ( Index  )

◆ Vector() [5/6]

Vector::Vector ( Index  ,
Real  
)

◆ Vector() [6/6]

Vector::Vector ( Vector )

◆ ~Vector() [2/2]

Vector::~Vector ( )

Member Function Documentation

◆ Diff() [1/2]

Vector & Vector::Diff ( Vector v,
Vector w 
)
inline

◆ Diff() [2/2]

Vector& Vector::Diff ( Vector ,
Vector  
)

◆ MatrixMult() [1/2]

Vector& Vector::MatrixMult ( Matrix A,
Vector v 
)

◆ MatrixMult() [2/2]

Vector & Vector::MatrixMult ( Matrix A,
Vector v 
)
inline

◆ operator()() [1/2]

Real & Vector::operator() ( Index  i)
inline

◆ operator()() [2/2]

Real& Vector::operator() ( Index  )

◆ operator*() [1/2]

Real Vector::operator* ( Vector v)
inline

◆ operator*() [2/2]

Real Vector::operator* ( Vector v)

◆ operator*=() [1/2]

Vector& Vector::operator*= ( Real  x)
inline

◆ operator*=() [2/2]

Vector& Vector::operator*= ( Real  x)
inline

◆ operator+=() [1/2]

Vector& Vector::operator+= ( Vector v)
inline

◆ operator+=() [2/2]

Vector& Vector::operator+= ( Vector v)
inline

◆ operator-=() [1/2]

Vector& Vector::operator-= ( Vector v)
inline

◆ operator-=() [2/2]

Vector& Vector::operator-= ( Vector v)
inline

◆ operator/=() [1/2]

Vector& Vector::operator/= ( Real  x)
inline

◆ operator/=() [2/2]

Vector& Vector::operator/= ( Real  x)
inline

◆ operator=() [1/2]

Vector& Vector::operator= ( Vector v)

◆ operator=() [2/2]

Vector & Vector::operator= ( Vector v)
inline

◆ operator[]() [1/2]

Real& Vector::operator[] ( Index  )

◆ operator[]() [2/2]

Real & Vector::operator[] ( Index  i)
inline

◆ Permute() [1/2]

Vector & Vector::Permute ( Vector v,
Permutation P 
)
inline

◆ Permute() [2/2]

Vector& Vector::Permute ( Vector v,
Permutation P 
)

◆ PermuteBack() [1/2]

Vector & Vector::PermuteBack ( Vector v,
Permutation p 
)
inline

◆ PermuteBack() [2/2]

Vector& Vector::PermuteBack ( Vector v,
Permutation p 
)

◆ RealDiv() [1/2]

Vector & Vector::RealDiv ( Vector v,
Real  x 
)
inline

◆ RealDiv() [2/2]

Vector& Vector::RealDiv ( Vector ,
Real   
)

◆ RealMult() [1/2]

Vector & Vector::RealMult ( Vector v,
Real  x 
)
inline

◆ RealMult() [2/2]

Vector& Vector::RealMult ( Vector ,
Real   
)

◆ Sum() [1/2]

Vector& Vector::Sum ( Vector ,
Vector  
)

◆ Sum() [2/2]

Vector & Vector::Sum ( Vector v,
Vector w 
)
inline

Member Data Documentation

◆ dim

const Index Vector::dim