#include <random>
#include <assert.h>
#include "../base.hpp"
#include "../util/math.hpp"
#include "../util/string.hpp"
Go to the source code of this file.
|
template<uint N> |
PIC_INLINE bool | pic::insideVecBBox (const Vec< N, float > &sample) |
| insideVecBBox More...
|
|
template<uint N> |
PIC_INLINE Vec< N, float > | pic::normalize (Vec< N, float > x) |
|
template<uint N> |
PIC_INLINE Vec< N, float > | pic::randomPoint (std::mt19937 *m) |
| randomPoint More...
|
|
template<uint N> |
void | pic::vecrint (Vec< N, float > &ret) |
|
template<uint N> |
PIC_INLINE Vec< N, float > | pic::annulusSampling (std::mt19937 *m, Vec< N, float > center, float radius) |
| annulusSampling More...
|
|
template<uint N> |
void | pic::vecGamma (Vec< N, float > &ret, float g) |
|
template<uint N> |
void | pic::vecSqrt (Vec< N, float > &ret) |
|
template<uint N> |
Vec< N, float > | pic::vecValOver (Vec< N, float > &in, float value) |
|
template<uint N, class T > |
void | pic::transferFromVecToPlain (std::vector< Vec< N, T > > &in, std::vector< T > &out) |
|
template<uint N, class T > |
void | pic::transferFromPlainToVec (std::vector< T > &in, std::vector< Vec< N, T > > &out) |
|
◆ PIC_UTIL_VEC_HPP