SHOGUN  4.1.0
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义  
所有成员列表 | 静态 Public 成员函数
elementwise_square< Backend, Matrix > 模板结构体 参考

详细描述

template<enum Backend, class Matrix>
struct shogun::linalg::implementation::elementwise_square< Backend, Matrix >

Generic class square which provides a static compute method. This class is specialized for different types of matrices and backend, providing a mean to deal with various matrices directly without having to convert.

在文件 ElementwiseSquare.h66 行定义.

静态 Public 成员函数

static Matrix compute (Matrix m)
 
static Matrix compute (Block< Matrix > b)
 

成员函数说明

static Matrix compute ( Matrix  m)
static

Method that computes the square of co-efficients of a dense matrix

参数
mthe matrix whose squared co-efficients matrix has to be computed
返回
another matrix whose co-efficients are \(m'_{i,j}=m_(i,j}^2\) for all \(i,j\)
static Matrix compute ( Block< Matrix >  b)
static

Method that computes the square of co-efficients of a dense matrix-block

参数
bthe matrix-block whose squared co-efficients matrix has to be computed
返回
another matrix whose co-efficients are \(m'_{i,j}=b_(i,j}^2\) for all \(i,j\)

该结构体的文档由以下文件生成:

SHOGUN 机器学习工具包 - 项目文档