Object-oriented Scientific Computing Library: Version 0.910
Public Member Functions
tensor_grid4 Class Reference

Rank 4 tensor with a grid.

#include <tensor.h>

Inheritance diagram for tensor_grid4:
tensor_grid tensor

Detailed Description

Definition at line 1264 of file tensor.h.

Public Member Functions

 tensor_grid4 ()
 Create an empty tensor.
 tensor_grid4 (size_t sz, size_t sz2, size_t sz3, size_t sz4)
 Create a rank 4 tensor of size (sz,sz2,sz3,sz4)
double & get (size_t ix1, size_t ix2, size_t ix3, size_t ix4)
 Get the element indexed by (ix1,ix2,ix3,ix4)
const double & get (size_t ix1, size_t ix2, size_t ix3, size_t ix4) const
 Get the element indexed by (ix1,ix2,ix3,ix4)
void set (size_t ix1, size_t ix2, size_t ix3, size_t ix4, double val)
 Set the element indexed by (ix1,ix2,ix3,ix4) to value val.
double interp (double x, double y, double z, double a)
 Interpolate (x,y,z,a) and return the results.

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Documentation generated with Doxygen. Provided under the GNU Free Documentation License (see License Information).

Get Object-oriented Scientific Computing
Lib at SourceForge.net. Fast, secure and Free Open Source software
downloads.