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

详细描述

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

Partial specialization of generic elementwise_square for the Eigen3 backend.

在文件 ElementwiseSquare.h92 行定义.

Public 类型

typedef Matrix::Scalar T
 
typedef SGMatrix< TReturnType
 
typedef Eigen::Matrix< T,
Eigen::Dynamic, Eigen::Dynamic > 
MatrixXt
 

静态 Public 成员函数

static SGMatrix< Tcompute (SGMatrix< T > m)
 
static SGMatrix< Tcompute (Block< SGMatrix< T > > b)
 
static void compute (SGMatrix< T > mat, SGMatrix< T > result)
 
static void compute (Block< SGMatrix< T > > b, SGMatrix< T > result)
 

成员类型定义说明

typedef Eigen::Matrix<T,Eigen::Dynamic,Eigen::Dynamic> MatrixXt

Eigen3 matrix type

在文件 ElementwiseSquare.h101 行定义.

typedef SGMatrix<T> ReturnType

The return type

在文件 ElementwiseSquare.h98 行定义.

typedef Matrix::Scalar T

The scalar type

在文件 ElementwiseSquare.h95 行定义.

成员函数说明

static SGMatrix<T> compute ( SGMatrix< T 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\)

在文件 ElementwiseSquare.h110 行定义.

static SGMatrix<T> compute ( Block< SGMatrix< T > >  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\)

在文件 ElementwiseSquare.h124 行定义.

static void compute ( SGMatrix< T mat,
SGMatrix< T result 
)
static

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

参数
mthe matrix whose squared co-efficients matrix has to be computed
resultPre-allocated matrix for the result of the computation

在文件 ElementwiseSquare.h137 行定义.

static void compute ( Block< SGMatrix< T > >  b,
SGMatrix< T result 
)
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
resultPre-allocated matrix for the result of the computation

在文件 ElementwiseSquare.h151 行定义.


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

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