KmPlot
Vector Class Reference
#include <vector.h>
Public Member Functions | |
Vector () | |
Vector (int size) | |
Vector (const Vector &other) | |
void | addRK4 (double dx, const Vector &k1, const Vector &k2, const Vector &k3, const Vector &k4) |
void | combine (const Vector &a, double k, const Vector &b) |
double * | data () |
const double * | data () const |
bool | operator!= (const Vector &other) const |
Vector | operator* (double x) const |
Vector & | operator*= (double x) |
Vector | operator+ (const Vector &other) const |
Vector & | operator+= (const Vector &other) |
Vector | operator- (const Vector &other) const |
Vector & | operator-= (const Vector &other) |
Vector & | operator= (const Vector &other) |
Vector & | operator= (const QVector< Value > &other) |
bool | operator== (const Vector &other) const |
double & | operator[] (int i) |
double | operator[] (int i) const |
void | resize (int s) |
int | size () const |
Protected Attributes | |
QVector< double > | m_data |
Detailed Description
Constructor & Destructor Documentation
Member Function Documentation
void Vector::addRK4 | ( | double | dx, |
const Vector & | k1, | ||
const Vector & | k2, | ||
const Vector & | k3, | ||
const Vector & | k4 | ||
) |
Another optimization for use in solving differential equations.
Definition at line 126 of file vector.cpp.
Optimization for use in solving differential equations.
Sets the contents of this vector to a+k*b.
Definition at line 110 of file vector.cpp.
|
inline |
Vector Vector::operator* | ( | double | x | ) | const |
Definition at line 68 of file vector.cpp.
Vector & Vector::operator*= | ( | double | x | ) |
Definition at line 76 of file vector.cpp.
Definition at line 32 of file vector.cpp.
Definition at line 40 of file vector.cpp.
Definition at line 50 of file vector.cpp.
Definition at line 58 of file vector.cpp.
Definition at line 84 of file vector.cpp.
Definition at line 100 of file vector.cpp.
|
inline |
Member Data Documentation
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2019 The KDE developers.
Generated on Mon Dec 16 2019 00:36:17 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2019 The KDE developers.
Generated on Mon Dec 16 2019 00:36:17 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.