A column for the LP-Matrix.
#include <column.h>
Public Member Functions | |
column () | |
Creates a column with no non-zero entry. | |
column (double d) | |
column (cons c) | |
Creates the column ![]() | |
column (std::list< column_entry > &L) | |
Creates the column ![]() | |
column | operator* (double d) |
Creates the column ![]() | |
column | operator+ (column c1) |
Creates the column ![]() | |
column | operator+ (cons c1) |
column | operator+ (double d) |
column | operator- (column c1) |
Creates the column ![]() | |
column & | operator+= (column c1) |
Adds the column c1 to the column. | |
column & | operator-= (column r) |
Substracts the column c1 to the column. | |
void | normalize () |
std::list< column_entry > ::const_iterator | begin () const |
returns const iterator pointing to first item of NZ | |
std::list< column_entry > ::const_iterator | end () const |
returns const iterator pointing to end of NZ | |
std::list< column_entry >::iterator | begin () |
returns iterator pointing to first item of NZ | |
std::list< column_entry >::iterator | end () |
returns iterator pointing to end of NZ | |
int | size () const |
returns the number of entries in the column. |
Definition at line 10 of file column.h.
void column::normalize | ( | ) |