next up previous contents
Next: Visualisation of Transposed Alignment Up: Alignment and Distribution Previous: Visualisation of Simple Alignment

 

Transposed Alignment Example

Align the first dimension of A with the second dimension of B (and vice-versa):

    REAL, DIMENSION(10,10) :: A, B
!HPF$ ALIGN A(i,:) WITH B(:,i)

This says: tex2html_wrap_inline28767 i, j, elements A(i,j) and B(j,i) are local. Could also be written:

!HPF$ ALIGN A(:,j) WITH B(j,:)

or

!HPF$ ALIGN A(i,j) WITH B(j,i)

Here i and j are ``symbols'' not variables and are used to match dimensions their value (if any) is unimportant.

For more information, click here gif


next up previous contents
Next: Visualisation of Transposed Alignment Up: Alignment and Distribution Previous: Visualisation of Simple Alignment

©University of Liverpool, 1997
Wed May 28 23:37:18 BST 1997
Not for commercial use.