Specialization for allocate_result when return type is SGMatrix. Works with different scalar types as well. T defines the scalar type for the operand and whereas ST is the scalar type for the result of the element-wise operation.
在文件 AllocResultUtil.h 第 77 行定义.
静态 Public 成员函数 | |
static SGMatrix< ST > | alloc (SGMatrix< T > m) |
Creates a newly allocated memory for SGMatrix.
m | The operand for the element-wise operation of scalar type T |
在文件 AllocResultUtil.h 第 85 行定义.