![]() |
A platform for high-performance distributed tool and library development written in C++. It can be deployed in two different cluster modes: standalone or distributed. API for v0.5.0, released on June 13, 2018.
|
#include <DoubleVector.h>
Inheritance diagram for pdb::DoubleVector:
Collaboration diagram for pdb::DoubleVector:Public Member Functions | |
| DoubleVector () | |
| DoubleVector (size_t size) | |
| ~DoubleVector () | |
| void | setValues (std::vector< double > dataToMe) |
| size_t | getSize () |
| Handle< Vector< double > > & | getData () |
| double * | getRawData () |
| double | getDouble (int i) |
| void | setDouble (int i, double val) |
| double | getNorm2 () |
| double | dot (DoubleVector &other) |
| double | getSquaredDistance (DoubleVector &other) |
| void | print () |
| double | getFastSquaredDistance (DoubleVector &other) |
| DoubleVector & | operator+ (DoubleVector &other) |
| DoubleVector & | operator/ (int val) |
| DoubleVector & | randomizeInPlace () |
| bool | equals (Handle< DoubleVector > &other) |
Public Member Functions inherited from pdb::Object | |
| void | setVTablePtr (void *setToMe) |
| void * | getVTablePtr () |
| virtual void | setUpAndCopyFrom (void *target, void *source) const |
| virtual void | deleteObject (void *deleteMe) |
| virtual size_t | getSize (void *ofMe) |
Public Attributes | |
| Handle< Vector< double > > | data = nullptr |
| size_t | size = 0 |
| double | norm = -1 |
Additional Inherited Members | |
Static Public Member Functions inherited from pdb::Object | |
| static void * | operator new (size_t sz, const std::nothrow_t &tag) |
| static void * | operator new (size_t sz) |
| static void | operator delete (void *me) |
| static void * | operator new (std::size_t count, void *ptr) |
Definition at line 39 of file DoubleVector.h.
|
inline |
Definition at line 47 of file DoubleVector.h.
|
inline |
Definition at line 51 of file DoubleVector.h.
|
inline |
Definition at line 56 of file DoubleVector.h.
|
inline |
Definition at line 122 of file DoubleVector.h.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 75 of file DoubleVector.h.
|
inline |
Definition at line 86 of file DoubleVector.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 135 of file DoubleVector.h.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
|
inline |
|
inline |
Definition at line 155 of file DoubleVector.h.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
|
inline |
Definition at line 97 of file DoubleVector.h.
|
inline |
Definition at line 42 of file DoubleVector.h.
| double pdb::DoubleVector::norm = -1 |
Definition at line 44 of file DoubleVector.h.
| size_t pdb::DoubleVector::size = 0 |
Definition at line 43 of file DoubleVector.h.