表示 TypeTensorColumn 类,用于访问 TypeTensor 的列并进行写操作。 更多...
#include <type_tensor.h>
Public 成员函数 | |
| TypeTensorColumn (TypeTensor< T > &tensor, unsigned int j) | |
| 构造函数,初始化 TypeTensorColumn。 更多... | |
| T & | operator() (const unsigned int i) |
返回该张量的第 行第 列元素的可写引用。 更多... | |
| T & | slice (const unsigned int i) |
返回该张量的第 行第 列元素的可写引用。 更多... | |
| TypeTensorColumn< T > & | operator= (const TypeVector< T > &rhs) |
| 将该列的值设置为给定向量的值。 更多... | |
Private 属性 | |
| TypeTensor< T > * | _tensor |
| const unsigned int | _j |
表示 TypeTensorColumn 类,用于访问 TypeTensor 的列并进行写操作。
TypeTensorColumn 允许您访问 TypeTensor 的特定列,并对其进行写操作。
| T | 列中的元素类型。 |
在文件 type_tensor.h 第 40 行定义.
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
在文件 type_tensor.h 第 561 行定义.
|
private |
在文件 type_tensor.h 第 560 行定义.
1.8.5