NAG CPP Interface
dummy::DummyTableDataContainer::resize

 Contents

Settings help

CPP Name Style:


1 Description

This method should resize the table to the specified size. The method is not required, but if it is not present all Output tables must be pre-allocated prior to calling the NAG function.
This method may be called in two circumstances:
  1. (a) Prior to calling the algorithmic engine in order to allocate an Output table.
  2. (b) After the call to the algorithmic engine when the amount of useful data held in the table is less that its original size, i.e. the Output table is oversized. This tends to come about if most of the table is used as workspace and only the first n1 elements contain useful information. If resize is called in this circumstance then the table should be resized, preserving the contents. There is no requirement to resize in this situation, it is purely for convenience.
The type of n1 and n2, ISIZE, can be any type as long as an integer literal or a types::f77_integer can be cast to it.

2 Specification

void function  resize(ISIZE n1, ISIZE n2, ISIZE n3)

3 Arguments

1: n1 ISIZE Scalar
On entry: m, the number of rows in each of the matrices stored in the table.
Constraint: n10
2: n2 ISIZE Scalar
On entry: n, the number of columns in each of the matrices stored in the table.
Constraint: n20
3: n3 ISIZE Scalar
On entry: l, the number of tables.
Constraint: n30