OR-Tools  8.2
MatrixOrFunction< ScalarType, std::vector< std::vector< ScalarType > >, square >

Detailed Description

template<typename ScalarType, bool square>
class operations_research::MatrixOrFunction< ScalarType, std::vector< std::vector< ScalarType > >, square >

Definition at line 68 of file vector_or_function.h.

Public Member Functions

 MatrixOrFunction (std::vector< std::vector< ScalarType >> matrix)
 
void Reset (std::vector< std::vector< ScalarType >> matrix)
 
ScalarType operator() (int i, int j) const
 
bool Check () const
 

Constructor & Destructor Documentation

◆ MatrixOrFunction()

MatrixOrFunction ( std::vector< std::vector< ScalarType >>  matrix)
inlineexplicit

Definition at line 71 of file vector_or_function.h.

Member Function Documentation

◆ Check()

bool Check ( ) const
inline

Definition at line 79 of file vector_or_function.h.

◆ operator()()

ScalarType operator() ( int  i,
int  j 
) const
inline

Definition at line 76 of file vector_or_function.h.

◆ Reset()

void Reset ( std::vector< std::vector< ScalarType >>  matrix)
inline

Definition at line 73 of file vector_or_function.h.


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