MF_Rows_rotate_buf MD_Rows_rotate_buf ME_Rows_rotate_buf
MCF_Rows_rotate_buf MCD_Rows_rotate_buf MCE_Rows_rotate_buf
MI_Rows_rotate_bufMBI_Rows_rotate_bufMSI_Rows_rotate_bufMLI_Rows_rotate_bufMQI_Rows_rotate_buf
MU_Rows_rotate_bufMUB_Rows_rotate_bufMUS_Rows_rotate_bufMUL_Rows_rotate_bufMUQ_Rows_rotate_buf
Funktionalle Zeilen um eine bestimmte Anzahl von Positionen rotieren; hierdurch werden ganze Spalten verschoben
Syntax C/C++#include <MFstd.h>
void MF_Rows_rotate_buf( fMatrix MA, ui ht, ui len, int pos, fMatrix MBuf );
C++ MatObj#include <OptiVec.h>
void matrix<T>::Rows_rotate_buf( const int pos, const matrix<T> MBuf );
Pascal/Delphiuses MFstd;
procedure MF_Rows_rotate_buf( MA:fMatrix; ht, len:UIntSize; pos:Integer; MBuf:fMatrix );
CUDA-Funktion C/C++#include <cudaMFstd.h>
int cudaMF_Rows_rotate_buf( fMatrix d_MA, ui ht, ui len, int pos, fMatrix d_MBuf );
CUDA-Funktion Pascal/Delphiuses MFstd;
function cudaMF_Rows_rotate_buf( d_MA:fMatrix; ht, len:UIntSize; pos:Integer; d_MBuf:fMatrix ): IntBool;
BeschreibungMAi,j = MAi, len-pos+j,   j=0,..,pos-1
MAi,j = MAi, j-pos,      j=pos,...,len-1

Diese Funktion stellt eine effizientere Variante von MF_Rows_rotate dar: Anstatt den intern benötigten Pufferspeicher jedes Mal vom Betriebssystem anzufordern und wieder freizugeben, wird er in Form der Puffermatrix MBuf als Argument übernommen. MBuf muss eine mit Hilfe der OptiVec-Speicherroutinen MF_matrix etc. erzeugte Matrix mit mindestens ebenso vielen Elementen wie MA sein.

QuerverweisMF_Rows_rotate,   MF_Cols_rotate_buf,   Kap. 7

MatrixLib Inhaltsverzeichnis  OptiVec Home