#include <tensor.h>
Definition at line 953 of file tensor.h.
Public Member Functions | |
tensor_grid3 () | |
Create an empty tensor. | |
tensor_grid3 (size_t sz, size_t sz2, size_t sz3) | |
Create a rank 3 tensor of size (sz,sz2,sz3). | |
virtual double & | get (size_t ix1, size_t ix2, size_t ix3) |
Get the element indexed by (ix1,ix2,ix3). | |
virtual const double & | get (size_t ix1, size_t ix2, size_t ix3) const |
Get the element indexed by (ix1,ix2,ix3). | |
virtual int | set (size_t ix1, size_t ix2, size_t ix3, double val) |
Set the element indexed by (ix1,ix2,ix3) to value val . |
Documentation generated with Doxygen and provided under the GNU Free Documentation License. See License Information for details.
Project hosting provided by
,
O2scl Sourceforge Project Page