Example #1
0
	void Vector::SetBlock( int i, int j, const Vector &V )
	{
		assert( 0 <= i && i <= j && j < size );
		int n = j - i + 1;
		assert( n == V.Size() );
		register float *v = V.Array();
		register float *e = elem + i;
		for( register int k = 0; k < n; k++ ) *e++ = *v++;
	}