表示 ConstTypeTensorColumn 类,用于访问 TypeTensor 的列并进行只读操作。 更多...
#include <type_tensor.h>
Public 成员函数 | |
| ConstTypeTensorColumn (const TypeTensor< T > &tensor, unsigned int j) | |
| 构造函数,初始化 ConstTypeTensorColumn。 更多... | |
| const T & | operator() (const unsigned int i) const |
返回该张量的第 行第 列元素的只读引用。 更多... | |
| const T & | slice (const unsigned int i) const |
返回该张量的第 行第 列元素的只读引用。 更多... | |
Private 属性 | |
| const TypeTensor< T > * | _tensor |
| const unsigned int | _j |
表示 ConstTypeTensorColumn 类,用于访问 TypeTensor 的列并进行只读操作。
ConstTypeTensorColumn 允许您访问 TypeTensor 的特定列,并对其进行只读操作。
| T | 列中的元素类型。 |
在文件 type_tensor.h 第 41 行定义.
|
inline |
|
inline |
|
inline |
|
private |
在文件 type_tensor.h 第 608 行定义.
|
private |
在文件 type_tensor.h 第 607 行定义.
1.8.5