Functions | |
template<int N, typename T > | |
T | computeDistance (const ads::FixedArray< N, T > &x, const ads::FixedArray< N, T > &y) |
Return the distance between the points x and y . | |
template<int N, typename T > | |
T | computeDistance (const ads::FixedArray< 2, ads::FixedArray< N, T > > &x) |
Return the distance between the points x [0] and x [1]. | |
template<int N, typename T > | |
T | computeContent (const ads::FixedArray< N, T > &x, const ads::FixedArray< N, T > &y) |
Return the distance between the points x and y . | |
template<int N, typename T > | |
T | computeContent (const ads::FixedArray< 2, ads::FixedArray< N, T > > &x) |
Return the distance between the points x [0] and x [1]. | |
template<int N, typename T > | |
void | computeGradientOfDistance (const ads::FixedArray< N, T > &x, const ads::FixedArray< N, T > &y, ads::FixedArray< N, T > *gradient) |
Calculate the gradient (with respect to x) of the distance between the points x and y . | |
template<int N, typename T > | |
void | computeGradientOfDistance (const ads::FixedArray< 2, ads::FixedArray< N, T > > &x, ads::FixedArray< N, T > *gradient) |
Calculate the gradient (with respect to x[0]) of the distance between the points x [0] and x [1]. | |
template<int N, typename T > | |
void | computeGradientOfContent (const ads::FixedArray< N, T > &x, const ads::FixedArray< N, T > &y, ads::FixedArray< N, T > *gradient) |
Calculate the gradient (with respect to x) of the distance between the points x and y . | |
template<int N, typename T > | |
void | computeGradientOfContent (const ads::FixedArray< 2, ads::FixedArray< N, T > > &x, ads::FixedArray< N, T > *gradient) |
Calculate the gradient (with respect to x[0]) of the distance between the points x [0] and x [1]. |
T computeContent | ( | const ads::FixedArray< N, T > & | x, | |
const ads::FixedArray< N, T > & | y | |||
) | [inline] |
Return the distance between the points x
and y
.
In 1-D the distance is signed. In N-D the distance is unsigned for N > 1.
T computeDistance | ( | const ads::FixedArray< N, T > & | x, | |
const ads::FixedArray< N, T > & | y | |||
) | [inline] |
Return the distance between the points x
and y
.
In 1-D the distance is signed. In N-D the distance is unsigned for N > 1.
Referenced by SmrCell< SMR >::computeMaximumEdgeLength(), SmrCell< SMR >::computeMinimumEdgeLength(), ISS_SD_CloserPointDirection< ISS >::operator()(), SimplexMaximumEdgeLength< N, M, T >::operator()(), and SimplexMinimumEdgeLength< N, M, T >::operator()().