#include <allocator.hh>
Public Member Functions | |
template<typename Op > | |
ColSizeHolder (const Operator< Op > &op) | |
ColSizeHolder () | |
ColSizeHolder (int i) | |
int | num_cols () const |
Return the number of columns. |
Definition at line 494 of file allocator.hh.
TooN::Internal::ColSizeHolder< S >::ColSizeHolder | ( | int | i | ) | [inline] |
Construct from an int to provide a run time size if necessary.
i | The size, which is discarded for the static case. |
Definition at line 499 of file allocator.hh.
TooN::Internal::ColSizeHolder< S >::ColSizeHolder | ( | ) | [inline] |
Definition at line 502 of file allocator.hh.
TooN::Internal::ColSizeHolder< S >::ColSizeHolder | ( | const Operator< Op > & | op | ) | [inline] |
Construct from an Operator, taking the size from the operator. The size is only used in the dynamic case.
op | Operator from which to determine the size. |
Definition at line 509 of file allocator.hh.
int TooN::Internal::ColSizeHolder< S >::num_cols | ( | ) | const [inline] |
Return the number of columns.
Definition at line 512 of file allocator.hh.