TVM  0.9.4
tvm::utils::internal::RHS Class Reference

#include <tvm/utils/internal/ProtoTaskDetails.h>

Public Member Functions

 RHS (double d)
 
template<typename Derived >
 RHS (const Eigen::MatrixBase< Derived > &v)
 
Eigen::VectorXd toVector (Eigen::DenseIndex n) const
 

Public Attributes

RHSType type_
 
double d_
 
Eigen::VectorXd v_
 

Detailed Description

A union-like class, that can represent nothing, a double or a vector. Which of these 3 options is described by its RHSType

Constructor & Destructor Documentation

◆ RHS() [1/2]

tvm::utils::internal::RHS::RHS ( double  d)

◆ RHS() [2/2]

template<typename Derived >
tvm::utils::internal::RHS::RHS ( const Eigen::MatrixBase< Derived > &  v)

Member Function Documentation

◆ toVector()

Eigen::VectorXd tvm::utils::internal::RHS::toVector ( Eigen::DenseIndex  n) const

Member Data Documentation

◆ d_

double tvm::utils::internal::RHS::d_

◆ type_

RHSType tvm::utils::internal::RHS::type_

◆ v_

Eigen::VectorXd tvm::utils::internal::RHS::v_

The documentation for this class was generated from the following file: