|
Function | Visibility function of one vector with respect to another |
|
Syntax C/C++ | #include <VFmath.h>
void VF_visV( fVector Z, fVector X, fVector Y, ui size );
void VFx_visV( fVector Z, fVector X, fVector Y, ui size, float A, float B ); |
C++ VecObj | #include <OptiVec.h>
void vector<T>::visV( const vector<T>& X, const vector<T>& Y );
void vector<T>::x_visV( const vector<T>& X, const vector<T>& Y, const T& A, const T& B ); |
Pascal/Delphi | uses VFmath;
procedure VF_visV( Z, X, Y:fVector; size:UIntSize );
procedure VFx_visV( Z, X, Y:fVector; size:UIntSize; A, B:Single ); |
|
CUDA function C/C++ | #include <cudaVFmath.h>
int cudaVF_visV( fVector d_Z, fVector d_X, fVector d_Y,ui size );
int cudaVFx_visV( fVector d_Z, fVector d_X, fVector d_Y, ui size, float A, float B );
int cusdVFx_visV( fVector d_Z, fVector d_X, fVector d_Y, ui size, float *d_A, float *d_B );
void VFcu_visV( fVector h_Z, fVector h_X, fVector h_Y,ui size );
void VFxcu_visV( fVector h_Z, fVector h_X, fVector h_Y, ui size, float A, float B );
|
CUDA function Pascal/Delphi | uses VFmath;
function cudaVF_visV( d_Z, d_X, d_Y:fVector; size:UIntSize ): IntBool;
function cudaVFx_visV( d_Z, d_X, d_Y:fVector; size:UIntSize; A, B:Single ): IntBool;
function cusdVFx_visV( d_Z, d_X, d_Y:fVector; size:UIntSize; d_A, d_B:PSingle ): IntBool;
procedure VFcu_visV( h_Z, h_X, h_Y:fVector; size:UIntSize );
procedure VFxcu_visV( h_Z, h_X, h_Y:fVector; size:UIntSize; A, B:Single );
|
|
Description | simple versions:
Zi = vis( Xi, Yi )
= (Xi - Yi) / (Xi + Yi)
expanded versions:
Zi = vis( A*Xi+B, Yi )
For Xi=Yi, the visibility is defined as 0, even in the case of Xi=Yi=0. |
|
|
|
|