Workspace 6.21.5
Public Member Functions | List of all members
MatrixWriter Class Reference

Default policy for writing to a matrix data structure. More...

#include <Workspace/Widgets/matrixwidget.h>

Public Member Functions

template<typename T >
double operator() (T &matrix, int i, int j, double value) const
 

Detailed Description

Default class for writing to a matrix container class. It assumes that the underlying class has an operator() function which returns a non-const reference to a double (or something that can be implicitly converted to from a double).

You can define your own one of these writer classes if you have your own matrix class with its own access / mutate functions.

Member Function Documentation

◆ operator()()

double operator() ( T &  matrix,
int  i,
int  j,
double  value 
) const
inline