NumCpp
2.12.1
A Templatized Header Only C++ Implementation of the Python NumPy Library
|
Namespaces | |
namespace | reference_frames |
namespace | transforms |
Data Structures | |
class | Cartesian |
Cartensian coordinates. More... | |
class | Euler |
Euler. More... | |
class | Orientation |
Orientation. More... | |
Functions | |
double | angle (const Cartesian &vec1, const Cartesian &vec2) noexcept |
angle between the two vectors More... | |
Cartesian | cross (const Cartesian &vec1, const Cartesian &vec2) noexcept |
Vector cross product. More... | |
double | norm (const Cartesian &vec) noexcept |
Vector norm. More... | |
Cartesian | normalize (const Cartesian &vec) noexcept |
normalize the input vector More... | |
double | operator* (const Cartesian &lhs, const Cartesian &rhs) noexcept |
Dot product of two cartesian points. More... | |
Cartesian | operator* (const Cartesian &vec, double scalar) noexcept |
Vector scalar multiplication. More... | |
Cartesian | operator* (double scalar, const Cartesian &vec) noexcept |
Vector scalar multiplication. More... | |
Cartesian | operator+ (const Cartesian &lhs, const Cartesian &rhs) noexcept |
Addition of two cartesian points. More... | |
Cartesian | operator- (const Cartesian &lhs, const Cartesian &rhs) noexcept |
Subtraction of two cartesian points. More... | |
Cartesian | operator/ (const Cartesian &vec, double denominator) noexcept |
Scalar Division a cartesian point. More... | |
std::ostream & | operator<< (std::ostream &os, const Cartesian &vec) |
Stream operator. More... | |
std::ostream & | operator<< (std::ostream &os, const Euler &Euler) |
Stream operator. More... | |
std::ostream & | operator<< (std::ostream &os, const Orientation &orientation) |
Stream operator. More... | |
angle between the two vectors
vec1 | cartesian vector |
vec2 | cartesian vector |
Vector cross product.
vec1 | cartesian vector |
vec2 | cartesian vector |
|
inlinenoexcept |
Vector norm.
vec | the cartesian vector |
normalize the input vector
vec | the cartesian vector |
Dot product of two cartesian points.
lhs | the left hand side object |
rhs | the right hand side object |
Vector scalar multiplication.
vec | the cartesian vector |
scalar | the the scalar value |
Vector scalar multiplication.
scalar | the the scalar value |
vec | the cartesian vector |
|
inlinenoexcept |
Addition of two cartesian points.
lhs | the left hand side object |
rhs | the right hand side object |
|
inlinenoexcept |
Subtraction of two cartesian points.
lhs | the left hand side object |
rhs | the right hand side object |
Scalar Division a cartesian point.
vec | the cartesian vector |
denominator | the the scalar value |
|
inline |
Stream operator.
os | the output stream |
vec | the cartesian vector |
|
inline |
Stream operator.
os | the output stream |
Euler | the euler angles |
|
inline |
Stream operator.
os | the output stream |
orientation | the roll/pitch/yaw angles |