Ejemplo n.º 1
0
 void Trainer::CopyRow(real* ptr, multiverso::Row<real>& row, int size)
 {
     for (int i = 0; i < size; ++i)
         ptr[i] = row.At(i);
 }
//Copy a size of memory from source row to dest
void Trainer<T>::CopyMemory(T* dest, multiverso::Row<T>& source, int size)
{
	for (int i = 0; i < size; ++i)
		dest[i] = source.At(i);
}