BTRAN Function
computes the block transpose
- BTRAN(
,
,
)
The inputs to the BTRAN function are as follows:
![x](images/langref_langrefeq78.gif)
- is an
numeric matrix.
![n](images/langref_langrefeq53.gif)
- is a scalar with a value that specifies the
row dimension of the submatrix blocks.
![m](images/langref_langrefeq117.gif)
- is a scalar with a value that specifies the
column dimension of the submatrix blocks.
The BTRAN function computes the block
transpose of a partitioned matrix.
The argument
![x](images/langref_langrefeq78.gif)
is a partitioned matrix formed
from submatrices of dimension
![n x n](images/langref_langrefeq39.gif)
.
If the
![i](images/langref_langrefeq68.gif)
th,
![j](images/langref_langrefeq120.gif)
th submatrix of the argument
![x](images/langref_langrefeq78.gif)
is denoted
![a_{ij}](images/langref_langrefeq136.gif)
, then the
![i](images/langref_langrefeq68.gif)
th,
![j](images/langref_langrefeq120.gif)
th
submatrix of the result is
![a_{ji}](images/langref_langrefeq137.gif)
.
The value returned by the BTRAN function is a
matrix, the block transpose
of
, where the blocks are
.
For example, the following statements produce the matrix
, as shown:
z=btran({1 2 3 4,
5 6 7 8},2,2);
print z;
Z 4 rows 2 cols (numeric)
1 2
5 6
3 4
7 8
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.