SHOGUN  4.1.0
所有成员列表 | Public 类型 | 静态 Public 成员函数
apply< Backend::EIGEN3, Matrix, Vector > 模板结构体 参考

详细描述

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

Partial specialization of apply for the Eigen3 backend.

在文件 Apply.h73 行定义.

Public 类型

typedef Matrix::Scalar T
 
typedef Eigen::Matrix< T, Eigen::Dynamic, Eigen::Dynamic > MatrixXt
 
typedef Eigen::Matrix< T, Eigen::Dynamic, 1 > VectorXt
 

静态 Public 成员函数

static SGVector< Tcompute (SGMatrix< T > A, SGVector< T > b, bool transpose)
 
static void compute (SGMatrix< T > A, SGVector< T > b, SGVector< T > x, bool transpose)
 

成员类型定义说明

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

Eigen matrix type

在文件 Apply.h82 行定义.

typedef Matrix::Scalar T

Scalar type

在文件 Apply.h76 行定义.

typedef Eigen::Matrix<T,Eigen::Dynamic,1> VectorXt

Eigen Vector type

在文件 Apply.h85 行定义.

成员函数说明

static SGVector<T> compute ( SGMatrix< T A,
SGVector< T b,
bool  transpose 
)
static

Performs the operation of matrix applied to a vector \(x = Ab\).

参数
AThe matrix
bThe vector
transposeWhether to transpose A before applying to b
返回
x Result vector

在文件 Apply.h94 行定义.

static void compute ( SGMatrix< T A,
SGVector< T b,
SGVector< T x,
bool  transpose 
)
static

Performs the operation of matrix applied to a vector \(x = Ab\).

参数
AThe matrix
bThe vector
xResult vector
transposeWhether to transpose A before applying to b

在文件 Apply.h108 行定义.


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

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