HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_SparseMatrixCSRT< T >::ColumnValue Struct Reference

#include <UT_SparseMatrix.h>

Public Member Functions

 ColumnValue ()
 Construct a zero column-value. More...
 
 ColumnValue (exint c, T v)
 Construct a column value for the given column with value v. More...
 
bool operator< (const ColumnValue &cv) const
 

Public Attributes

exint myCol
 
T myValue
 

Detailed Description

template<typename T>
struct UT_SparseMatrixCSRT< T >::ColumnValue

Defines one cell in the matrix. Can also be used to directly construct the matrix with setValuesFromRows, which is easier to multithread.

Definition at line 687 of file UT_SparseMatrix.h.

Constructor & Destructor Documentation

template<typename T>
UT_SparseMatrixCSRT< T >::ColumnValue::ColumnValue ( )
inline

Construct a zero column-value.

Definition at line 692 of file UT_SparseMatrix.h.

template<typename T>
UT_SparseMatrixCSRT< T >::ColumnValue::ColumnValue ( exint  c,
T  v 
)
inline

Construct a column value for the given column with value v.

Definition at line 695 of file UT_SparseMatrix.h.

Member Function Documentation

template<typename T>
bool UT_SparseMatrixCSRT< T >::ColumnValue::operator< ( const ColumnValue cv) const
inline

Returns true if the column-value's column comes before the given column-value's column.

Definition at line 699 of file UT_SparseMatrix.h.

Member Data Documentation

template<typename T>
exint UT_SparseMatrixCSRT< T >::ColumnValue::myCol

Definition at line 688 of file UT_SparseMatrix.h.

template<typename T>
T UT_SparseMatrixCSRT< T >::ColumnValue::myValue

Definition at line 689 of file UT_SparseMatrix.h.


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