#include <tensor.h>
Definition at line 1010 of file tensor.h.
Public Member Functions | |
tensor4 () | |
Create an empty tensor. | |
tensor4 (size_t sz, size_t sz2, size_t sz3, size_t sz4) | |
Create a rank 4 tensor of size (sz,sz2,sz3,sz4). | |
virtual double & | get (size_t ix1, size_t ix2, size_t ix3, size_t ix4) |
Get the element indexed by (ix1,ix2,ix3,ix4). | |
virtual 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). | |
virtual int | 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 . |
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