X04CBF prints a real matrix stored in a two-dimensional array.
X04CBF prints a real matrix, or part of it, using a format specifier supplied by you.
The matrix is output to the unit defined by
X04ABF.
None.
If on entry
or
, explanatory error messages are output on the current error message unit (as defined by
X04AAF).
Not applicable.
Not applicable.
X04CBF may be used to print a vector, either as a row or as a column. The following code fragment illustrates possible calls.
REAL (KIND=nag_wp) A(4)
CHARACTER*1 RLABS(1), CLABS(1)
! Print vector A as a column vector.
LDA = 4
IFAIL = 0
CALL X04CBF('G','X',1,4,A,LDA,' ',' ','I',RLABS, &
'N',CLABS,80,0,IFAIL)
! Print vector A as a row vector.
LDA = 1
IFAIL = 0
CALL X04CBF('G','X',4,1,A,LDA,' ',' ','N',RLABS, &
'I',CLABS,80,0,IFAIL)
This example calls X04CBF twice, to print matrices of different orders and bandwidths; various options for labelling and formatting are illustrated.
None.