template<>
specialisation for VectorSet (of doubles)
Definition at line 50 of file Reverse.h. References Impala::Core::Vector::VectorSet< ArrayT >::Capacity(), Impala::Core::Vector::VectorSet< ArrayT >::Get(), ILOG_ERROR, ILOG_VAR, and Impala::Core::Vector::VectorSet< ArrayT >::Set(). 00052 { 00053 ILOG_VAR(Impala.Core.Column.ReversePart); 00054 typedef Vector::VectorTem<Array::Array2dScalarReal64::StorType> Type; 00055 00056 if(left<0 || right>=data->Capacity()) 00057 { 00058 ILOG_ERROR("Invalid args"); 00059 return; 00060 } 00061 00062 while(left<right) 00063 { 00064 Type temp = data->Get(left); 00065 data->Set(left, data->Get(right)); 00066 data->Set(right, temp); 00067 ++left; 00068 --right; 00069 } 00070 }
Here is the call graph for this function:
|