Tensor Network Theory Library  Beta release 1.2.1
A library of routines for performing TNT-based operations
 All Data Structures Functions Variables Groups Pages

Detailed Description

Functions for saving different data types to a MATLAB file. Different output formats will later be added.

Functions

void tntComplexArraysNamedSave (const char *fname, tntComplexArray arrA, const char *varnameA, tntComplexArray arrB, const char *varnameB, tntComplexArray arrC, const char *varnameC, tntComplexArray arrD, const char *varnameD, tntComplexArray arrE, const char *varnameE)
 
void tntComplexArraysNamedUpdate (const char *fname, unsigned posn, tntComplexArray arrA, const char *varnameA, tntComplexArray arrB, const char *varnameB, tntComplexArray arrC, const char *varnameC, tntComplexArray arrD, const char *varnameD, tntComplexArray arrE, const char *varnameE)
 
void tntComplexArraysSave (const char *fname, tntComplexArray arrA, tntComplexArray arrB, tntComplexArray arrC, tntComplexArray arrD, tntComplexArray arrE)
 
void tntComplexArraysUpdate (const char *fname, unsigned posn, tntComplexArray arrA, tntComplexArray arrB, tntComplexArray arrC, tntComplexArray arrD, tntComplexArray arrE)
 
void tntComplexParamsNamedSave (const char *fname, tntComplex varA, const char *varnameA, tntComplex varB, const char *varnameB, tntComplex varC, const char *varnameC, tntComplex varD, const char *varnameD, tntComplex varE, const char *varnameE)
 
void tntComplexParamsNamedUpdate (const char *fname, unsigned posn, tntComplex varA, const char *varnameA, tntComplex varB, const char *varnameB, tntComplex varC, const char *varnameC, tntComplex varD, const char *varnameD, tntComplex varE, const char *varnameE)
 
void tntComplexParamsSave (const char *savepref, tntComplex varA, tntComplex varB, tntComplex varC, tntComplex varD, tntComplex varE)
 
void tntComplexParamsUpdate (const char *savepref, unsigned posn, tntComplex varA, tntComplex varB, tntComplex varC, tntComplex varD, tntComplex varE)
 
void tntDoubleArraysNamedSave (const char *fname, tntDoubleArray arrA, const char *varnameA, tntDoubleArray arrB, const char *varnameB, tntDoubleArray arrC, const char *varnameC, tntDoubleArray arrD, const char *varnameD, tntDoubleArray arrE, const char *varnameE)
 
void tntDoubleArraysNamedUpdate (const char *fname, unsigned posn, tntDoubleArray arrA, const char *varnameA, tntDoubleArray arrB, const char *varnameB, tntDoubleArray arrC, const char *varnameC, tntDoubleArray arrD, const char *varnameD, tntDoubleArray arrE, const char *varnameE)
 
void tntDoubleArraysSave (const char *fname, tntDoubleArray arrA, tntDoubleArray arrB, tntDoubleArray arrC, tntDoubleArray arrD, tntDoubleArray arrE)
 
void tntDoubleArraysUpdate (const char *fname, unsigned posn, tntDoubleArray arrA, tntDoubleArray arrB, tntDoubleArray arrC, tntDoubleArray arrD, tntDoubleArray arrE)
 
void tntDoubleParamsNamedSave (const char *fname, double varA, const char *varnameA, double varB, const char *varnameB, double varC, const char *varnameC, double varD, const char *varnameD, double varE, const char *varnameE)
 
void tntDoubleParamsNamedUpdate (const char *fname, unsigned posn, double varA, const char *varnameA, double varB, const char *varnameB, double varC, const char *varnameC, double varD, const char *varnameD, double varE, const char *varnameE)
 
void tntDoubleParamsSave (const char *fname, double varA, double varB, double varC, double varD, double varE)
 
void tntDoubleParamsUpdate (const char *fname, unsigned posn, double varA, double varB, double varC, double varD, double varE)
 
void tntExOpsSave (const char *fname, tntExOp varA, tntExOp varB, tntExOp varC, tntExOp varD, tntExOp varE)
 
void tntIntArraysNamedUpdate (const char *fname, unsigned posn, tntIntArray arrA, const char *varnameA, tntIntArray arrB, const char *varnameB, tntIntArray arrC, const char *varnameC, tntIntArray arrD, const char *varnameD, tntIntArray arrE, const char *varnameE)
 
void tntIntArraysSave (const char *fname, tntIntArray arrA, tntIntArray arrB, tntIntArray arrC, tntIntArray arrD, tntIntArray arrE)
 
void tntIntArraysUpdate (const char *fname, unsigned posn, tntIntArray arrA, tntIntArray arrB, tntIntArray arrC, tntIntArray arrD, tntIntArray arrE)
 
void tntIntParamsNamedSave (const char *fname, int varA, const char *varnameA, int varB, const char *varnameB, int varC, const char *varnameC, int varD, const char *varnameD, int varE, const char *varnameE)
 
void tntIntParamsNamedUpdate (const char *fname, unsigned posn, int varA, const char *varnameA, int varB, const char *varnameB, int varC, const char *varnameC, int varD, const char *varnameD, int varE, const char *varnameE)
 
void tntIntParamsSave (const char *fname, int varA, int varB, int varC, int varD, int varE)
 
void tntIntParamsUpdate (const char *fname, unsigned posn, int varA, int varB, int varC, int varD, int varE)
 
void tntNetworksNamedSave (const char *fname, tntNetwork varA, const char *varnameA, tntNetwork varB, const char *varnameB, tntNetwork varC, const char *varnameC, tntNetwork varD, const char *varnameD, tntNetwork varE, const char *varnameE)
 
void tntNetworksSave (const char *fname, tntNetwork varA, tntNetwork varB, tntNetwork varC, tntNetwork varD, tntNetwork varE)
 
void tntNodeArraysSave (const char *fname, tntNodeArray arrA, tntNodeArray arrB, tntNodeArray arrC, tntNodeArray arrD, tntNodeArray arrE)
 
void tntNodesSave (const char *fname, tntNode varA, tntNode varB, tntNode varC, tntNode varD, tntNode varE)
 
void tntStringsSave (const char *fname, const char *varA, const char *varB, const char *varC, const char *varD, const char *varE)
 

Function Documentation

void tntComplexArraysNamedSave ( const char *  fname,
tntComplexArray  arrA,
const char *  varnameA,
tntComplexArray  arrB,
const char *  varnameB,
tntComplexArray  arrC,
const char *  varnameC,
tntComplexArray  arrD,
const char *  varnameD,
tntComplexArray  arrE,
const char *  varnameE 
)

Saves complex arrays into the file at fname into the passed variables. The filename is checked for the extension ".mat". If it is not given it is added. The variable names are given as arguments so can be different from the variable names used in your code. At least one variable must be passed, and a maximum of 5 variables can be passed with each function call.

Parameters
fnamePath of the output file
arrAArray to save
varnameAArray name
arrBArray to save (optional argument)
varnameBArray name (only if array is given)
arrCArray to save (optional argument)
varnameCArray name (only if array is given)
arrDArray to save (optional argument)
varnameDArray name (only if array is given)
arrEArray to save (optional argument)
varnameEArray name (only if array is given)

Definition at line 327 of file tntSave.c.

void tntComplexArraysNamedUpdate ( const char *  fname,
unsigned  posn,
tntComplexArray  arrA,
const char *  varnameA,
tntComplexArray  arrB,
const char *  varnameB,
tntComplexArray  arrC,
const char *  varnameC,
tntComplexArray  arrD,
const char *  varnameD,
tntComplexArray  arrE,
const char *  varnameE 
)

Updates complex arrays into the file at fname into the passed variables.

If the variable already exists, this array is placed at the position given in the argument. If the array has one column, new arrays are added as additional columns given by the position. If the array has more than one column, new arrays are added in a third dimension given by the position.

The filename is checked for the extension ".mat". If it is not given it is added. The variable names are given as arguments so can be different from the names given here. At least one variable must be passed, and a maximum of 5 variables can be passed with each function call.

Parameters
fnamePath of the output file
posnPosition of this data within the variable
arrAArray to save
varnameAArray name
arrBArray to save (optional argument)
varnameBArray name (only if array is given)
arrCArray to save (optional argument)
varnameCArray name (only if array is given)
arrDArray to save (optional argument)
varnameDArray name (only if array is given)
arrEArray to save (optional argument)
varnameEArray name (only if array is given)

Definition at line 371 of file tntUpdate.c.

void tntComplexArraysSave ( const char *  fname,
tntComplexArray  arrA,
tntComplexArray  arrB,
tntComplexArray  arrC,
tntComplexArray  arrD,
tntComplexArray  arrE 
)

Saves complex arrays into the file at fname into the passed variables. The filename is checked for the extension ".mat". If it is not given it is added. The variables should have the same variable name in file as the name passed as an argument At least one variable must be passed, and a maximum of 5 variables can be passed with each function call.

Parameters
fnamePath of the output file
arrAArray to save
arrBArray to save (optional argument)
arrCArray to save (optional argument)
arrDArray to save (optional argument)
arrEArray to save (optional argument)

Definition at line 314 of file tntSave.c.

void tntComplexArraysUpdate ( const char *  fname,
unsigned  posn,
tntComplexArray  arrA,
tntComplexArray  arrB,
tntComplexArray  arrC,
tntComplexArray  arrD,
tntComplexArray  arrE 
)

Updates complex arrays into the file at fname into the passed variables.

If the variable already exists, this array is placed at the position given in the argument. If the array has one column, new arrays are added as additional columns given by the position. If the array has more than one column, new arrays are added in a third dimension given by the position.

The filename is checked for the extension ".mat". If it is not given it is added. The variables should have the same variable name in file as the name passed as an argument At least one variable must be passed, and a maximum of 5 variables can be passed with each function call.

Parameters
fnamePath of the output file
posnPosition of this data within the variable
arrAArray to save
arrBArray to save (optional argument)
arrCArray to save (optional argument)
arrDArray to save (optional argument)
arrEArray to save (optional argument)

Definition at line 352 of file tntUpdate.c.

void tntComplexParamsNamedSave ( const char *  fname,
tntComplex  varA,
const char *  varnameA,
tntComplex  varB,
const char *  varnameB,
tntComplex  varC,
const char *  varnameC,
tntComplex  varD,
const char *  varnameD,
tntComplex  varE,
const char *  varnameE 
)

Saves complex scalar variables into the file at fname into the passed variables. The filename is checked for the extension ".mat". If it is not given it is added. The variable names are given as arguments so can be different from the names given here. At least one variable must be passed, and a maximum of 5 variables can be passed with each function call.

Parameters
fnamePath of the output file
varAVariable to save
varnameAVariable name
varBVariable to save (optional argument)
varnameBVariable name (only if array is given)
varCVariable to save (optional argument)
varnameCVariable name (only if array is given)
varDVariable to save (optional argument)
varnameDVariable name (only if array is given)
varEVariable to save (optional argument)
varnameEVariable name (only if array is given)

Definition at line 143 of file tntSave.c.

void tntComplexParamsNamedUpdate ( const char *  fname,
unsigned  posn,
tntComplex  varA,
const char *  varnameA,
tntComplex  varB,
const char *  varnameB,
tntComplex  varC,
const char *  varnameC,
tntComplex  varD,
const char *  varnameD,
tntComplex  varE,
const char *  varnameE 
)

Updates complex parameters into the file at fname into the passed variables. i.e. if the variable already exists, these values are placed in the array at the position given in the argument.

The filename is checked for the extension ".mat". If it is not given it is added. The variable names are given as arguments so can be different from the names given here. At least one variable must be passed, and a maximum of 5 variables can be passed with each function call.

Parameters
fnamePath of the output file
posnPosition of this data within the variable
varAVariable to save
varnameAVariable name
varBVariable to save (optional argument)
varnameBVariable name (only if array is given)
varCVariable to save (optional argument)
varnameCVariable name (only if array is given)
varDVariable to save (optional argument)
varnameDVariable name (only if array is given)
varEVariable to save (optional argument)
varnameEVariable name (only if array is given)

Definition at line 165 of file tntUpdate.c.

void tntComplexParamsSave ( const char *  savepref,
tntComplex  varA,
tntComplex  varB,
tntComplex  varC,
tntComplex  varD,
tntComplex  varE 
)

Saves complex scalar variables into the file at fname into the passed variables. The filename is checked for the extension ".mat". If it is not given it is added. The variables should have the same variable name in file as the name passed as an argument At least one variable must be passed, and a maximum of 5 variables can be passed with each function call.

Parameters
saveprefPrefix to path of the input file
varAVariable to save
varBVariable to save (optional argument)
varCVariable to save (optional argument)
varDVariable to save (optional argument)
varEVariable to save (optional argument)

Definition at line 130 of file tntSave.c.

void tntComplexParamsUpdate ( const char *  savepref,
unsigned  posn,
tntComplex  varA,
tntComplex  varB,
tntComplex  varC,
tntComplex  varD,
tntComplex  varE 
)

Updates complex parameters into the file at fname into the passed variables. i.e. if the variable already exists, these values are placed in the array at the position given in the argument. The filename is checked for the extension ".mat". If it is not given it is added. The variables should have the same variable name in file as the name passed as an argument At least one variable must be passed, and a maximum of 5 variables can be passed with each function call.

Parameters
saveprefPrefix to path of the input file
posnPosition of this data within the variable
varAVariable to save
varBVariable to save (optional argument)
varCVariable to save (optional argument)
varDVariable to save (optional argument)
varEVariable to save (optional argument)
Examples:
tntEvolve_if.c, and tntThermal_cl.c.

Definition at line 149 of file tntUpdate.c.

void tntDoubleArraysNamedSave ( const char *  fname,
tntDoubleArray  arrA,
const char *  varnameA,
tntDoubleArray  arrB,
const char *  varnameB,
tntDoubleArray  arrC,
const char *  varnameC,
tntDoubleArray  arrD,
const char *  varnameD,
tntDoubleArray  arrE,
const char *  varnameE 
)

Saves complex arrays into the file at fname into the passed variables. The filename is checked for the extension ".mat". If it is not given it is added. The variable names are given as arguments so can be different from the names given here. At least one variable must be passed, and a maximum of 5 variables can be passed with each function call.

Parameters
fnamePath of the output file
arrAArray to save
varnameAArray name
arrBArray to save (optional argument)
varnameBArray name (only if array is given)
arrCArray to save (optional argument)
varnameCArray name (only if array is given)
arrDArray to save (optional argument)
varnameDArray name (only if array is given)
arrEArray to save (optional argument)
varnameEArray name (only if array is given)

Definition at line 271 of file tntSave.c.

void tntDoubleArraysNamedUpdate ( const char *  fname,
unsigned  posn,
tntDoubleArray  arrA,
const char *  varnameA,
tntDoubleArray  arrB,
const char *  varnameB,
tntDoubleArray  arrC,
const char *  varnameC,
tntDoubleArray  arrD,
const char *  varnameD,
tntDoubleArray  arrE,
const char *  varnameE 
)

Updates double arrays into the file at fname into the passed variables.

If the variable already exists, this array is placed at the position given in the argument. If the array has one column, new arrays are added as additional columns given by the position. If the array has more than one column, new arrays are added in a third dimension given by the position.

The filename is checked for the extension ".mat". If it is not given it is added. The variable names are given as arguments so can be different from the names given here. At least one variable must be passed, and a maximum of 5 variables can be passed with each function call.

Parameters
fnamePath of the output file
posnPosition of this data within the variable
arrAArray to save
varnameAArray name
arrBArray to save (optional argument)
varnameBArray name (only if array is given)
arrCArray to save (optional argument)
varnameCArray name (only if array is given)
arrDArray to save (optional argument)
varnameDArray name (only if array is given)
arrEArray to save (optional argument)
varnameEArray name (only if array is given)

Definition at line 302 of file tntUpdate.c.

void tntDoubleArraysSave ( const char *  fname,
tntDoubleArray  arrA,
tntDoubleArray  arrB,
tntDoubleArray  arrC,
tntDoubleArray  arrD,
tntDoubleArray  arrE 
)

Saves double arrays into the file at fname into the passed variables. The filename is checked for the extension ".mat". If it is not given it is added. The variables should have the same variable name in file as the name passed as an argument At least one variable must be passed, and a maximum of 5 variables can be passed with each function call.

Parameters
fnamePath of the output file
arrAArray to save
arrBArray to save (optional argument)
arrCArray to save (optional argument)
arrDArray to save (optional argument)
arrEArray to save (optional argument)

Definition at line 258 of file tntSave.c.

void tntDoubleArraysUpdate ( const char *  fname,
unsigned  posn,
tntDoubleArray  arrA,
tntDoubleArray  arrB,
tntDoubleArray  arrC,
tntDoubleArray  arrD,
tntDoubleArray  arrE 
)

Updates double arrays into the file at fname into the passed variables.

If the variable already exists, this array is placed at the position given in the argument. If the array has one column, new arrays are added as additional columns given by the position. If the array has more than one column, new arrays are added in a third dimension given by the position.

The filename is checked for the extension ".mat". If it is not given it is added. The variables should have the same variable name in file as the name passed as an argument At least one variable must be passed, and a maximum of 5 variables can be passed with each function call.

Parameters
fnamePath of the output file
posnPosition of this data within the variable
arrAArray to save
arrBArray to save (optional argument)
arrCArray to save (optional argument)
arrDArray to save (optional argument)
arrEArray to save (optional argument)

Definition at line 283 of file tntUpdate.c.

void tntDoubleParamsNamedSave ( const char *  fname,
double  varA,
const char *  varnameA,
double  varB,
const char *  varnameB,
double  varC,
const char *  varnameC,
double  varD,
const char *  varnameD,
double  varE,
const char *  varnameE 
)

Saves double scalar variables into the file at fname into the passed variables. The filename is checked for the extension ".mat". If it is not given it is added. The variable names are given as arguments so can be different from the names given here. At least one variable must be passed, and a maximum of 5 variables can be passed with each function call.

Parameters
fnamePath of the output file
varAVariable to save
varnameAVariable name
varBVariable to save (optional argument)
varnameBVariable name (only if array is given)
varCVariable to save (optional argument)
varnameCVariable name (only if array is given)
varDVariable to save (optional argument)
varnameDVariable name (only if array is given)
varEVariable to save (optional argument)
varnameEVariable name (only if array is given)
Examples:
tntEvolve_if.c.

Definition at line 86 of file tntSave.c.

void tntDoubleParamsNamedUpdate ( const char *  fname,
unsigned  posn,
double  varA,
const char *  varnameA,
double  varB,
const char *  varnameB,
double  varC,
const char *  varnameC,
double  varD,
const char *  varnameD,
double  varE,
const char *  varnameE 
)

Updates double parameters into the file at fname into the passed variables. i.e. if the variable already exists, these values are placed in the array at the position given in the argument. The filename is checked for the extension ".mat". If it is not given it is added. The variable names are given as arguments so can be different from the names given here. At least one variable must be passed, and a maximum of 5 variables can be passed with each function call.

Parameters
fnamePath of the output file
posnPosition of this data within the variable
varAVariable to save
varnameAVariable name
varBVariable to save (optional argument)
varnameBVariable name (only if array is given)
varCVariable to save (optional argument)
varnameCVariable name (only if array is given)
varDVariable to save (optional argument)
varnameDVariable name (only if array is given)
varEVariable to save (optional argument)
varnameEVariable name (only if array is given)
Examples:
tntEvolve_if.c.

Definition at line 103 of file tntUpdate.c.

void tntDoubleParamsSave ( const char *  fname,
double  varA,
double  varB,
double  varC,
double  varD,
double  varE 
)

Saves double scalar variables into the file at fname into the passed variables. The filename is checked for the extension ".mat". If it is not given it is added. The variables should have the same variable name in file as the name passed as an argument At least one variable must be passed, and a maximum of 5 variables can be passed with each function call.

Parameters
fnamePath of the output file
varAVariable to save
varBVariable to save (optional argument)
varCVariable to save (optional argument)
varDVariable to save (optional argument)
varEVariable to save (optional argument)
Examples:
tntEvolve_cl.c, and tntGS_cl.c.

Definition at line 73 of file tntSave.c.

Referenced by tntMpoExpecOutput(), and tntMpsExpecOutput().

void tntDoubleParamsUpdate ( const char *  fname,
unsigned  posn,
double  varA,
double  varB,
double  varC,
double  varD,
double  varE 
)

Updates double parameters into the file at fname into the passed variables. i.e. if the variable already exists, these values are placed in the array at the position given in the argument. The filename is checked for the extension ".mat". If it is not given it is added. The variables should have the same variable name in file as the name passed as an argument At least one variable must be passed, and a maximum of 5 variables can be passed with each function call.

Parameters
fnamePath of the output file
posnPosition of this data within the variable
varAVariable to save
varBVariable to save (optional argument)
varCVariable to save (optional argument)
varDVariable to save (optional argument)
varEVariable to save (optional argument)
Examples:
tntEvolve_cl.c, tntEvolve_if.c, tntGS_cl.c, and tntThermal_cl.c.

Definition at line 88 of file tntUpdate.c.

Referenced by tntMpoExpecOutput(), and tntMpsExpecOutput().

void tntExOpsSave ( const char *  fname,
tntExOp  varA,
tntExOp  varB,
tntExOp  varC,
tntExOp  varD,
tntExOp  varE 
)

Saves ::tntExOp types into the file at fname into the passed variables. The filename is checked for the extension ".mat". If it is not given it is added. The variables should have the same variable name in file as the name passed as an argument At least one variable must be passed, and a maximum of 5 variables can be passed with each function call.

Parameters
fnamePath of the output file
varAExpectation operators to save
varBExpectation operators to save (optional argument)
varCExpectation operators to save (optional argument)
varDExpectation operators to save (optional argument)
varEExpectation operators to save (optional argument)

Definition at line 440 of file tntSave.c.

void tntIntArraysNamedUpdate ( const char *  fname,
unsigned  posn,
tntIntArray  arrA,
const char *  varnameA,
tntIntArray  arrB,
const char *  varnameB,
tntIntArray  arrC,
const char *  varnameC,
tntIntArray  arrD,
const char *  varnameD,
tntIntArray  arrE,
const char *  varnameE 
)

Updates integer arrays into the file at fname into the passed variables.

If the variable already exists, this array is placed at the position given in the argument. If the array has one column, new arrays are added as additional columns given by the position. If the array has more than one column, new arrays are added in a third dimension given by the position.

The filename is checked for the extension ".mat". If it is not given it is added. The variable names are given as arguments so can be different from the names given here. At least one variable must be passed, and a maximum of 5 variables can be passed with each function call.

Parameters
fnamePath of the output file
posnPosition of this data within the variable
arrAArray to save
varnameAArray name
arrBArray to save (optional argument)
varnameBArray name (only if array is given)
arrCArray to save (optional argument)
varnameCArray name (only if array is given)
arrDArray to save (optional argument)
varnameDArray name (only if array is given)
arrEArray to save (optional argument)
varnameEArray name (only if array is given)

Definition at line 233 of file tntUpdate.c.

void tntIntArraysSave ( const char *  fname,
tntIntArray  arrA,
tntIntArray  arrB,
tntIntArray  arrC,
tntIntArray  arrD,
tntIntArray  arrE 
)

Saves integer arrays into the file at fname into the passed variables. The filename is checked for the extension ".mat". If it is not given it is added. The variables should have the same variable name in file as the name passed as an argument At least one variable must be passed, and a maximum of 5 variables can be passed with each function call.

Parameters
fnamePath of the output file
arrAArray to save
arrBArray to save (optional argument)
arrCArray to save (optional argument)
arrDArray to save (optional argument)
arrEArray to save (optional argument)

Definition at line 221 of file tntSave.c.

void tntIntArraysUpdate ( const char *  fname,
unsigned  posn,
tntIntArray  arrA,
tntIntArray  arrB,
tntIntArray  arrC,
tntIntArray  arrD,
tntIntArray  arrE 
)

Updates integer arrays into the file at fname into the passed variables.

If the variable already exists, this array is placed at the position given in the argument. If the array has one column, new arrays are added as additional columns given by the position. If the array has more than one column, new arrays are added in a third dimension given by the position.

The filename is checked for the extension ".mat". If it is not given it is added. The variables should have the same variable name in file as the name passed as an argument At least one variable must be passed, and a maximum of 5 variables can be passed with each function call.

Parameters
fnamePath of the output file
posnPosition of this data within the variable
arrAArray to save
arrBArray to save (optional argument)
arrCArray to save (optional argument)
arrDArray to save (optional argument)
arrEArray to save (optional argument)

Definition at line 214 of file tntUpdate.c.

void tntIntParamsNamedSave ( const char *  fname,
int  varA,
const char *  varnameA,
int  varB,
const char *  varnameB,
int  varC,
const char *  varnameC,
int  varD,
const char *  varnameD,
int  varE,
const char *  varnameE 
)

Saves integer scalar values into the file at fname into the passed variables. The filename is checked for the extension ".mat". If it is not given it is added. The variable names are given as arguments so can be different from the names given here. At least one variable must be passed, and a maximum of 5 variables can be passed with each function call.

Parameters
fnamePath of the output file
varAVariable to save
varnameAVariable name
varBVariable to save (optional argument)
varnameBVariable name (only if array is given)
varCVariable to save (optional argument)
varnameCVariable name (only if array is given)
varDVariable to save (optional argument)
varnameDVariable name (only if array is given)
varEVariable to save (optional argument)
varnameEVariable name (only if array is given)

Definition at line 31 of file tntSave.c.

void tntIntParamsNamedUpdate ( const char *  fname,
unsigned  posn,
int  varA,
const char *  varnameA,
int  varB,
const char *  varnameB,
int  varC,
const char *  varnameC,
int  varD,
const char *  varnameD,
int  varE,
const char *  varnameE 
)

Updates integer parameters into the file at fname into the passed variables. i.e. if the variable already exists, these values are placed in the array at the position given in the argument. The filename is checked for the extension ".mat". If it is not given it is added. The variable names are given as arguments so can be different from the names given here. At least one variable must be passed, and a maximum of 5 variables can be passed with each function call.

Parameters
fnamePath of the output file
posnPosition of this data within the variable
varAVariable to save
varnameAVariable name
varBVariable to save (optional argument)
varnameBVariable name (only if array is given)
varCVariable to save (optional argument)
varnameCVariable name (only if array is given)
varDVariable to save (optional argument)
varnameDVariable name (only if array is given)
varEVariable to save (optional argument)
varnameEVariable name (only if array is given)

Definition at line 42 of file tntUpdate.c.

void tntIntParamsSave ( const char *  fname,
int  varA,
int  varB,
int  varC,
int  varD,
int  varE 
)

Saves integer scalar values into the file at fname into the passed variables. The filename is checked for the extension ".mat". If it is not given it is added. The variables should have the same variable name in file as the name passed as an argument At least one variable must be passed, and a maximum of 5 variables can be passed with each function call.

Parameters
fnamePath of the output file
varAVariable to save
varBVariable to save (optional argument)
varCVariable to save (optional argument)
varDVariable to save (optional argument)
varEVariable to save (optional argument)

Definition at line 18 of file tntSave.c.

void tntIntParamsUpdate ( const char *  fname,
unsigned  posn,
int  varA,
int  varB,
int  varC,
int  varD,
int  varE 
)

Updates integer params into the file at fname into the passed variables. i.e. if the variable already exists, these values are placed in the array at the position given in the argument. The filename is checked for the extension ".mat". If it is not given it is added. The variables should have the same variable name in file as the name passed as an argument At least one variable must be passed, and a maximum of 5 variables can be passed with each function call.

Parameters
fnamePath of the output file
posnPosition of this data within the variable
varAVariable to save
varBVariable to save (optional argument)
varCVariable to save (optional argument)
varDVariable to save (optional argument)
varEVariable to save (optional argument)
Examples:
tntEvolve_cl.c, tntEvolve_if.c, and tntThermal_cl.c.

Definition at line 27 of file tntUpdate.c.

void tntNetworksNamedSave ( const char *  fname,
tntNetwork  varA,
const char *  varnameA,
tntNetwork  varB,
const char *  varnameB,
tntNetwork  varC,
const char *  varnameC,
tntNetwork  varD,
const char *  varnameD,
tntNetwork  varE,
const char *  varnameE 
)

Saves networks into the file at fname into the passed variables. The filename is checked for the extension ".mat". If it is not given it is added. The variables should have the same variable name in file as the name passed as an argument At least one variable must be passed, and a maximum of 5 variables can be passed with each function call.

Parameters
fnamePath of the output file
varANetwork to save
varnameANetwork name (optional argument)
varBNetwork to save (optional argument)
varnameBNetwork name (optional argument)
varCNetwork to save (optional argument)
varnameCNetwork name (optional argument)
varDNetwork to save (optional argument)
varnameDNetwork name (optional argument)
varENetwork to save (optional argument)
varnameENetwork name (optional argument)

Definition at line 489 of file tntSave.c.

void tntNetworksSave ( const char *  fname,
tntNetwork  varA,
tntNetwork  varB,
tntNetwork  varC,
tntNetwork  varD,
tntNetwork  varE 
)

Saves networks into the file at fname into the passed variables. The filename is checked for the extension ".mat". If it is not given it is added. The variables should have the same variable name in file as the name passed as an argument At least one variable must be passed, and a maximum of 5 variables can be passed with each function call.

Parameters
fnamePath of the output file
varANetwork to save
varBNetwork to save (optional argument)
varCNetwork to save (optional argument)
varDNetwork to save (optional argument)
varENetwork to save (optional argument)

Definition at line 476 of file tntSave.c.

void tntNodeArraysSave ( const char *  fname,
tntNodeArray  arrA,
tntNodeArray  arrB,
tntNodeArray  arrC,
tntNodeArray  arrD,
tntNodeArray  arrE 
)

Saves node arrays into the file at fname into the passed variables. The filename is checked for the extension ".mat". If it is not given it is added. The variables should have the same variable name in file as the name passed as an argument At least one variable must be passed, and a maximum of 5 variables can be passed with each function call.

Parameters
fnamePath of the output file
arrAArray to save
arrBArray to save (optional argument)
arrCArray to save (optional argument)
arrDArray to save (optional argument)
arrEArray to save (optional argument)

Definition at line 404 of file tntSave.c.

void tntNodesSave ( const char *  fname,
tntNode  varA,
tntNode  varB,
tntNode  varC,
tntNode  varD,
tntNode  varE 
)

Saves nodes into the file at fname into the passed variables. The filename is checked for the extension ".mat". If it is not given it is added. The variables should have the same variable name in file as the name passed as an argument At least one variable must be passed, and a maximum of 5 variables can be passed with each function call.

Parameters
fnamePath of the output file
varANode to save
varBNode to save (optional argument)
varCNode to save (optional argument)
varDNode to save (optional argument)
varENode to save (optional argument)

Definition at line 368 of file tntSave.c.

void tntStringsSave ( const char *  fname,
const char *  varA,
const char *  varB,
const char *  varC,
const char *  varD,
const char *  varE 
)

Saves strings into the file at fname into the passed variables. The filename is checked for the extension ".mat". If it is not given it is added. The variables should have the same variable name in file as the name passed as an argument At least one variable must be passed, and a maximum of 5 variables can be passed with each function call.

Parameters
fnamePath of the output file
varAString to save
varBString to save (optional argument)
varCString to save (optional argument)
varDString to save (optional argument)
varEString to save (optional argument)

Definition at line 184 of file tntSave.c.