|
Function | Initialize a vector with 1.0. |
|
Syntax C/C++ | #include <VFstd.h>
void VF_equ1( fVector X, ui size ); |
C++ VecObj | #include <OptiVec.h>
void vector<T>::equ1(); |
Pascal/Delphi | uses VFstd;
procedure VF_equ1( X:fVector; size:UIntSize ); |
|
CUDA function C/C++ | #include <cudaVFstd.h>
int cudaVF_equ1( fVector d_X, ui size );
void VFcu_equ1( fVector h_X, ui size );
|
CUDA function Pascal/Delphi | uses VFstd;
function cudaVF_equ1( d_X:fVector; size:UIntSize ): IntBool;
procedure VFcu_equ1( h_X:fVector; size:UIntSize );
|
|
Description | Xi = 1.0
In the cartesian complex versions, the imaginary parts are set to zero. In the polar complex versions, all elements are set to {1.0 @ 0}. |
|
|
|
|