|
| static | gstlrn::VectorHelper::initVInt (Id nval, Id value=0.) |
| |
| static | gstlrn::VectorHelper::initVDouble (Id nval, double value=0.) |
| |
| static | gstlrn::VectorHelper::initVVDouble (Id nval1, Id nval2, double value=0.) |
| |
| static | gstlrn::VectorHelper::initVVInt (Id nval1, Id nval2, Id value=0) |
| |
| static | gstlrn::VectorHelper::initVInt (const Id *values, Id number) |
| |
| static | gstlrn::VectorHelper::initVInt (const I32 *values, Id number) |
| |
| static | gstlrn::VectorHelper::initVDouble (const double *values, Id number) |
| |
| static | gstlrn::VectorHelper::initVVDouble (const double *value, Id n1, Id n2) |
| |
| static VectorString | gstlrn::VectorHelper::initVString (Id ntab, char **names) |
| |
| static void | gstlrn::VectorHelper::dumpStats (const String &title, constvect vect, Id nmax=-1) |
| |
| static void | gstlrn::VectorHelper::dumpRange (const String &title, constvect vect, Id nmax=-1) |
| |
| static void | gstlrn::VectorHelper::dumpStats (const String &title, const 1 &vectin, Id nmax=-1) |
| |
| static void | gstlrn::VectorHelper::dumpRange (const String &title, const 1 &vectin, Id nmax=-1) |
| |
| static void | gstlrn::VectorHelper::dumpRange (const String &title, const 1 &vect) |
| |
| static void | gstlrn::VectorHelper::dumpNNZ (const String &title, const 1 &vect, Id nclass=10) |
| |
| static void | gstlrn::VectorHelper::capInPlace (1 &vec, double vmin=TEST, double vmax=TEST) |
| |
| static void | gstlrn::VectorHelper::capInPlaceVVD (1 &vec, double vmin=TEST, double vmax=TEST) |
| |
| static double | gstlrn::VectorHelper::extensionDiagonal (const 1 &mini, const 1 &maxi) |
| |
| static Id | gstlrn::VectorHelper::count (const 1 &vec) |
| |
| static double | gstlrn::VectorHelper::cumulLog (const 1 &vec) |
| |
| static | gstlrn::VectorHelper::cumulIncrement (const 1 &vec) |
| |
| static | gstlrn::VectorHelper::quantiles (const 1 &vec, const 1 &probas) |
| |
| static bool | gstlrn::VectorHelper::isEqual (const 1 &v1, const 1 &v2, double eps=EPSILON10) |
| |
| static bool | gstlrn::VectorHelper::isEqualExtended (const 1 &v1, const 1 &v2, double eps=EPSILON10, bool flagRelative=true, bool flagAbsolute=false, const String &string="") |
| | Function checking that two values are equal This verbose option is essentially used in tests.
|
| |
| static void | gstlrn::VectorHelper::sequenceInPlace (Id n, 1 &vec) |
| |
| static | gstlrn::VectorHelper::sequence (Id number, Id ideb=0, Id step=1) |
| |
| static | gstlrn::VectorHelper::sequenceVD (double valFrom, double valTo, double valStep=1., double ratio=1.) |
| |
| static void | gstlrn::VectorHelper::fillUndef (1 &vec, double repl) |
| |
| static void | gstlrn::VectorHelper::addMultiplyConstantInPlace (double val1, const constvect in, vect out, Id iad) |
| |
| static double | gstlrn::VectorHelper::innerProductCV (const constvect veca, const constvect vecb) |
| |
| static void | gstlrn::VectorHelper::addMultiplyVectVectInPlace (const constvect in1, const constvect in2, vect out, Id iad) |
| |
| static void | gstlrn::VectorHelper::addInPlace (constvect in, vect dest) |
| |
| static void | gstlrn::VectorHelper::addInPlace (const double *veca, const double *vecb, double *res, Id size) |
| |
| static void | gstlrn::VectorHelper::addSquareInPlace (1 &dest, const 1 &src) |
| |
| static | gstlrn::VectorHelper::subtract (constvect veca, constvect vecb) |
| |
| static void | gstlrn::VectorHelper::subtractInPlace (const constvect in1, const constvect in2, vect outv) |
| |
| static void | gstlrn::VectorHelper::multiplyComplexInPlace (const 1 &vecaRe, const 1 &vecaIm, const 1 &vecbRe, const 1 &vecbIm, 1 &resRe, 1 &resIm) |
| |
| static void | gstlrn::VectorHelper::addMultiplyConstantInPlace (double val1, const 1 &in1, 1 &outv, Id iad) |
| |
| static void | gstlrn::VectorHelper::addMultiplyConstantInPlace (double val1, const 1 &in1, 1 &outv) |
| |
| static void | gstlrn::VectorHelper::copy (const 1 &vecin, 1 &vecout, Id size=-1) |
| |
| static void | gstlrn::VectorHelper::copy (const 1 &inv, 1 &outv) |
| |
| static void | gstlrn::VectorHelper::mean1AndMean2ToStdev (const 1 &mean1, const 1 &mean2, 1 &std, Id number) |
| |
| static void | gstlrn::VectorHelper::normalize (double *tab, Id ntab) |
| |
| static void | gstlrn::VectorHelper::normalizeFromGaussianDistribution (1 &vec, double mini=0., double maxi=1.) |
| |
| static | gstlrn::VectorHelper::normalScore (const 1 &data, const 1 &wt=1()) |
| |
| static | gstlrn::VectorHelper::qnormVec (const 1 &vec) |
| |
| static | gstlrn::VectorHelper::pnormVec (const 1 &vec) |
| |
| static | gstlrn::VectorHelper::concatenate (const 1 &veca, const 1 &vecb) |
| |
| static void | gstlrn::VectorHelper::concatenateInPlace (1 &veca, const 1 &vecb) |
| |
| static | gstlrn::VectorHelper::power (const 1 &vec, double power) |
| |
| static | gstlrn::VectorHelper::inverse (const 1 &vec) |
| |
| static void | gstlrn::VectorHelper::power (1 &res, const constvect vec, double power) |
| |
| static void | gstlrn::VectorHelper::inverse (1 &res, const constvect vec) |
| |
| static double | gstlrn::VectorHelper::innerProduct (const double *veca, const double *vecb, Id size=-1) |
| |
| static | gstlrn::VectorHelper::crossProduct3D (const 1 &veca, const 1 &vecb) |
| |
| static void | gstlrn::VectorHelper::crossProduct3DInPlace (const double *a, const double *b, double *v) |
| |
| static | gstlrn::VectorHelper::cumsum (const 1 &vecin, bool flagAddZero, bool revert=false) |
| |
| static void | gstlrn::VectorHelper::cumulateInPlace (1 &vec) |
| |
| static void | gstlrn::VectorHelper::cumulate (1 &veca, const 1 &vecb, double coeff=1., double addval=0.) |
| |
| static void | gstlrn::VectorHelper::getMostSignificant (const 1 &vec, double tol=EPSILON6, Id nmax=-1) |
| |
| static VectorBool | gstlrn::VectorHelper::simulateBoolean (Id n, double probaTrue=0.5) |
| |
| static | gstlrn::VectorHelper::simulateInteger (Id n, const 1 &probas=1(5, 0.2)) |
| |
| static | gstlrn::VectorHelper::simulateUniform (Id n=1, double mini=0., double maxi=1.) |
| |
| static | gstlrn::VectorHelper::simulateBernoulli (Id n=1, double proba=0.5, double vone=1., double velse=0.) |
| |
| static | gstlrn::VectorHelper::simulateGaussian (Id n=1, double mean=0., double sigma=1.) |
| |
| static void | gstlrn::VectorHelper::simulateGaussianInPlace (1 &vec, double mean=0., double sigma=1.) |
| |
| static | gstlrn::VectorHelper::sampleRanks (Id ntotal, double proportion=0., Id number=0, Id seed=242141, Id optSort=0) |
| |
| static void | gstlrn::VectorHelper::normalizeCodir (Id ndim, 1 &codir) |
| |
| static bool | gstlrn::VectorHelper::isInList (const 1 &vec, Id item) |
| |
| static | gstlrn::VectorHelper::sort (const 1 &vecin, bool ascending=true, Id size=-1) |
| |
| static void | gstlrn::VectorHelper::sortInPlace (1 &vecin, bool ascending=true, Id size=-1) |
| |
| static bool | gstlrn::VectorHelper::isSorted (const 1 &vec, bool ascending=true) |
| |
| static | gstlrn::VectorHelper::unique (const 1 &vecin, Id size=-1) |
| |
| static | gstlrn::VectorHelper::orderRanks (const 1 &vecin, bool ascending=true, Id size=-1) |
| |
| static | gstlrn::VectorHelper::sortRanks (const 1 &vecin, bool ascending=true, Id size=-1) |
| |
| static | gstlrn::VectorHelper::reorder (const 1 &vecin, const 1 &order, Id size=-1) |
| |
| static | gstlrn::VectorHelper::revert (const 1 &vecin) |
| |
| static | gstlrn::VectorHelper::sample (const 1 &vecin, const 1 &indKeep) |
| | Create an output VectorDouble by selecting some indices of the Input VectorDouble 'vecin'.
|
| |
| static void | gstlrn::VectorHelper::arrangeInPlace (Id safe, 1 &ranks, 1 &values, bool ascending=true, Id size=-1) |
| | Arrange values in place (VectorDouble version)
|
| |
| static | gstlrn::VectorHelper::filter (const 1 &vecin, Id vmin=ITEST, Id vmax=ITEST, bool ascending=true) |
| |
| static | gstlrn::VectorHelper::complement (const 1 &vec, const 1 &sel) |
| |
| static std::pair< double, double > | gstlrn::VectorHelper::rangeVals (const 1 &vec) |
| |
| static void | gstlrn::VectorHelper::unflattenInPlace (const 1 &vd, 1 &vvd) |
| |
| static void | gstlrn::VectorHelper::flattenInPlace (const 1 &vvd, 1 &vd) |
| |
| static | gstlrn::VectorHelper::flatten (const 1 &vvd) |
| |
| static | gstlrn::VectorHelper::unflatten (const 1 &vd, const 1 &sizes) |
| |
| static void | gstlrn::VectorHelper::linearCombinationInPlace (double val1, const 1 &vd1, double val2, const 1 &vd2, 1 &outv) |
| |
| static void | gstlrn::VectorHelper::linearCombinationVVDInPlace (double val1, const 1 &vvd1, double val2, const 1 &vvd2, 1 &outv) |
| |
| static | gstlrn::VectorHelper::suppressTest (const 1 &vecin) |
| |
| static void | gstlrn::VectorHelper::extractInPlace (const 1 &vecin, 1 &vecout, Id start) |
| |
| static void | gstlrn::VectorHelper::mergeInPlace (const 1 &vecin, 1 &vecout, Id start) |
| |
| static void | gstlrn::VectorHelper::transformVD (1 &tab, Id oper_choice=1) |
| |
| static void | gstlrn::VectorHelper::squeezeAndStretchInPlaceForward (const 1 &vecin, 1 &vecout, double origin, double mesh, double top, double bot) |
| |
| static void | gstlrn::VectorHelper::squeezeAndStretchInPlaceBackward (const 1 &vecin, 1 &vecout, double origin, double mesh, double top, double bot) |
| |
| static Id | gstlrn::VectorHelper::whereMinimum (const 1 &tab) |
| |
| static Id | gstlrn::VectorHelper::whereMaximum (const 1 &tab) |
| |
| static Id | gstlrn::VectorHelper::whereElement (const 1 &tab, Id target) |
| |
| static Id | gstlrn::VectorHelper::whereElement (const 1 &tab, Id target, Id start) |
| |
| static bool | gstlrn::VectorHelper::isIsotropic (const 1 &sampleRanks) |
| |
| static | gstlrn::VectorHelper::reduceOne (const 1 &vecin, Id index) |
| |
| static | gstlrn::VectorHelper::reduce (const 1 &vecin, const 1 &vindex) |
| |
| static | gstlrn::VectorHelper::compress (const 1 &vecin, const 1 &vindex) |
| |
| static void | gstlrn::VectorHelper::truncateDecimalsInPlace (1 &vec, Id ndec) |
| |
| static void | gstlrn::VectorHelper::truncateDigitsInPlace (1 &vec, Id ndec) |
| |
| template<typename T > |
| VectorNumT< T > | gstlrn::operator+ (const VectorNumT< T > &v1, const VectorNumT< T > &v2) |
| | Operator attached to "+" symbol.
|
| |
| template<typename T , typename U > |
| VectorNumT< T > | gstlrn::operator+ (const VectorNumT< T > &v1, U v2) |
| |
| template<typename T , typename U > |
| VectorNumT< T > | gstlrn::operator+ (U v1, const VectorNumT< T > &v2) |
| |
| template<typename T > |
| VectorNumT< T > & | gstlrn::operator+= (VectorNumT< T > &v1, const VectorNumT< T > &v2) |
| |
| template<typename T , typename U > |
| VectorNumT< T > & | gstlrn::operator+= (VectorNumT< T > &v1, U v2) |
| |
| template<typename T > |
| VectorNumT< T > | gstlrn::operator- (const VectorNumT< T > &v1, const VectorNumT< T > &v2) |
| | Operator attached to "-" symbol.
|
| |
| template<typename T , typename U > |
| VectorNumT< T > | gstlrn::operator- (const VectorNumT< T > &v1, U v2) |
| |
| template<typename T , typename U > |
| VectorNumT< T > | gstlrn::operator- (U v1, const VectorNumT< T > &v2) |
| |
| template<typename T > |
| VectorNumT< T > & | gstlrn::operator-= (VectorNumT< T > &v1, const VectorNumT< T > &v2) |
| |
| template<typename T , typename U > |
| VectorNumT< T > & | gstlrn::operator-= (VectorNumT< T > &v1, U v2) |
| |
| template<typename T > |
| VectorNumT< T > | gstlrn::operator* (const VectorNumT< T > &v1, const VectorNumT< T > &v2) |
| | Operator attached to "*" symbol.
|
| |
| template<typename T , typename U > |
| VectorNumT< T > | gstlrn::operator* (const VectorNumT< T > &v1, U v2) |
| |
| template<typename T , typename U > |
| VectorNumT< T > | gstlrn::operator* (U v1, const VectorNumT< T > &v2) |
| |
| template<typename T > |
| VectorNumT< T > & | gstlrn::operator*= (VectorNumT< T > &v1, const VectorNumT< T > &v2) |
| |
| template<typename T , typename U > |
| VectorNumT< T > & | gstlrn::operator*= (VectorNumT< T > &v1, U v2) |
| |
| template<typename T > |
| VectorNumT< T > | gstlrn::operator/ (const VectorNumT< T > &v1, const VectorNumT< T > &v2) |
| | Operator attached to "/" symbol.
|
| |
| template<typename T , typename U > |
| VectorNumT< T > | gstlrn::operator/ (const VectorNumT< T > &v1, U v2) |
| |
| template<typename T , typename U > |
| VectorNumT< T > | gstlrn::operator/ (U v1, const VectorNumT< T > &v2) |
| |
| template<typename T > |
| VectorNumT< T > & | gstlrn::operator/= (VectorNumT< T > &v1, const VectorNumT< T > &v2) |
| |
| template<typename T , typename U > |
| VectorNumT< T > & | gstlrn::operator/= (VectorNumT< T > &v1, U v2) |
| |
Action: These operators perform basic operations between two vectors of the same size or between a vector and a scalar. They are presented as an overload of basic operators ''+', '-', '*', and '/'. They are not meant to be exposted in foreign language.