#include <tensor.h>
Definition at line 830 of file tensor.h.
Public Member Functions | |
tensor_grid1 () | |
Create an empty tensor. | |
tensor_grid1 (size_t sz) | |
Create a rank 2 tensor of size (sz,sz2,sz3). | |
virtual double & | get (size_t ix1) |
Get the element indexed by (ix1). | |
virtual const double & | get (size_t ix1) const |
Get the element indexed by (ix1). | |
virtual int | set (size_t ix1, double val) |
Set the element indexed by (ix1) 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