|
double | da = 3.0 |
|
double | db = 4.0 |
|
double | dc = 5.0 |
|
int | ia = 3 |
|
int | ib = 4 |
|
int | ic = 5 |
|
float | fa = 3.0 |
|
float | fb = 4.0 |
|
float | fc = 5.0 |
|
std::string | output |
|
- Tested Functions:
- Construct
- two ways of constructing a 3d vector
- Set
- Equal
- overload operator "=" for 3d vector
- equal
- overload operator "=" for scalar
- PlusEqual
- overload operator "+=" for 3d vector
- MinusEqual
- overload operator "-=" for 3d vector
- MultiplyEqual
- overload operator "*=" for (3d vector) * scalar
- OverEqual
- overload operator "/=" for (3d vector) / scalar
- Negative
- overload operator "-" to get - Vector3
- Reverse
- Access
- access elements by using "[]"
- ConstAccess
- access elements by using "[]" through pinters
- withough chaning element values
- VectorPlus
- overload operator "+" for two 3d vectors
- VectorMinus
- overload operator "-" for two 3d vectors
- Norm2
- get the square of norm of a 3d vector
- Norm
- get the norm of a 3d vector
- Normalize
- VmultiplyV
- overload operator "*" to calculate
- the dot product of two 3d vectors
- VdotV
- dot product of two 3d vectors
- VmultiplyNum
- overload operator "*" to calculate
- the product of a 3d vector with a scalar
- of the product of a scalar with a 3d vector
- VoverNum
- overload operator "/" to calculate
- a 3d vector over a scalar
- OperatorCaret
- overload operator "^" to calculate
- the cross product of two 3d vectors
- VeqV
- overload operator "==" to assert
- the equality between two 3d vectors
- VneV
- overload operator "!=" to assert
- the inequality between two 3d vectors
- VltV
- overload operator "<" to sort
- the "less than" relationship between two 3d vectors
- StdOutV
- overload operator "<<" to print out
- a 3d vectors on standard output
- PrintV
- print a 3d vectors on standard output
- with formats
◆ da
double Vector3Test::da = 3.0 |
|
protected |
◆ db
double Vector3Test::db = 4.0 |
|
protected |
◆ dc
double Vector3Test::dc = 5.0 |
|
protected |
◆ fa
float Vector3Test::fa = 3.0 |
|
protected |
◆ fb
float Vector3Test::fb = 4.0 |
|
protected |
◆ fc
float Vector3Test::fc = 5.0 |
|
protected |
◆ ia
◆ ib
◆ ic
◆ output
std::string Vector3Test::output |
|
protected |
The documentation for this class was generated from the following file:
- /home/runner/work/abacus-develop/abacus-develop/source/source_base/test/vector3_test.cpp