Tensor Network Theory Library  Beta release 1.0
A library of routines for performing TNT-based operations
tntDoubleArray Struct Reference

Simple 1D array for double values. More...

#include </home/al-assam/Documents/TNT-development/tntWC/trunk/source/tnt.h>

Data Fields

double * vals
 Pointer to the first element in the double array. More...
 
unsigned sz
 The number of elements in the array. More...
 
unsigned numrows
 The number of rows in the matrix. More...
 
unsigned numcols
 The number of columns in the matrix. More...
 

Detailed Description

Simple 1D array for double values.

Examples:
dmrg.c, and tebd.c.

Field Documentation

unsigned tntDoubleArray::numcols

The number of columns in the matrix.

unsigned tntDoubleArray::numrows

The number of rows in the matrix.

Examples:
dmrg.c.
unsigned tntDoubleArray::sz

The number of elements in the array.

Examples:
dmrg.c.
double* tntDoubleArray::vals

Pointer to the first element in the double array.

Examples:
dmrg.c, and tebd.c.