NAG CL Interface
X04 (File)
Input/Output Utilities

Settings help

CL Name Style:


1 Scope of the Chapter

This chapter contains file opening and closing functions and matrix printing utility functions.

2 Background to the Problems

Functions are provided to allow formatted output of
  1. (a)general matrices stored in a two-dimensional array (real and complex data types);
  2. (b)triangular matrices stored in a packed one-dimensional array (real and complex data types);
  3. (c)band matrices stored in a packed two-dimensional array (real and complex data types).
Functions in (b) and (c) allow printing of matrices stored in formats used in particular by Chapters F06 and F07 of the Library.
By appropriate choice of arguments you can specify titles, labels, maximum output record length, and the format of individual matrix elements. All output is directed to a specified file, or to stdout.
Functions for reading, writing or appending to files are required for functions with option setting facilities in the library.

3 Functionality Index

Accessing external formatted file,  
reading a record   x04bbc
writing a record   x04bac
Closing an external file   x04adc
Opening an external file   x04acc
Printing matrices,  
comprehensive functions,  
general complex matrix   x04dbc
general real matrix   x04cbc
packed complex band matrix   x04dfc
packed complex triangular matrix   x04ddc
packed real band matrix   x04cfc
packed real triangular matrix   x04cdc
easy-to-use functions,  
general complex matrix   x04dac
general real matrix   x04cac
packed complex band matrix   x04dec
packed complex triangular matrix   x04dcc
packed real band matrix   x04cec
packed real triangular matrix   x04ccc
Utility functions,  
convert integer to NAG enum type   x04nbc
convert integer to NAG error code string   x04ndc
convert NAG enum type name to integer   x04nac
convert NAG error code string to integer   x04ncc

4 Auxiliary Functions Associated with Library Function Arguments

None.

5 Withdrawn or Deprecated Functions

The following lists all those functions that have been withdrawn since Mark 23 of the Library or are in the Library, but deprecated.
Function Status Replacement Function(s)
x04aec Withdrawn at Mark 25 No replacement required.
x04mbc Withdrawn at Mark 24 x04ncc
x04mcc Withdrawn at Mark 24 x04nbc