vsip_block_f* vsip_mgetblock_f(const vsip_mview_f *v); vsip_cblock_f* vsip_cmgetblock_f(const vsip_cmview_f *v);
This function returns a pointer to the data block associated with a matrix view. The data block contains the actual storage for the matrix elements.
const vsip_dmview_p* v: Pointer to the matrix view.
Returns a pointer to the vsip_dblock_p associated with the matrix view.
Multiple matrix views can share the same data block.
The block should not be destroyed directly if it’s still being used by any matrix views.
This function is useful for:
Creating additional views of the same data with different parameters
Checking if two matrices share the same underlying storage
Performing operations that require access to the raw data