next up previous contents index
Next: Interface real_part Up: Module table_module Previous: Interface print   Contents   Index

Interface int_part


\begin{boxedminipage}{\textwidth}
\begin{verbatim}t1 = int_part(this,column)...
...= int_part(this,columns)
t3 = int_part(this)\end{verbatim}
\end{boxedminipage}

Utility function to return one or more columns from the integer part of a table. Since this is a function the array may be returned on the stack, so be careful when working with large tables -- the same goes for the real_part interface below.

this -- type(Table), intent(in)

column -- integer, intent(in)

columns -- integer, intent(in), dimension(:)

Return values:

t1 -- integer, dimension(this%N)
t2 -- integer, dimension(size(columns),this%N)
t3 -- integer, dimension(this%intsize,this%N)
real_part interface

gabor 2009-06-30