Class xlifepp::CsStorage#

class CsStorage : public xlifepp::MatrixStorage#

Inheritence diagram for xlifepp::CsStorage:

digraph { graph [bgcolor="#00000000"] node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2] edge [color="#1414CE"] "3" [label="xlifepp::ColCsStorage" tooltip="xlifepp::ColCsStorage"] "1" [label="xlifepp::CsStorage" tooltip="xlifepp::CsStorage" fillcolor="#BFBFBF"] "4" [label="xlifepp::DualCsStorage" tooltip="xlifepp::DualCsStorage"] "2" [label="xlifepp::MatrixStorage" tooltip="xlifepp::MatrixStorage"] "5" [label="xlifepp::RowCsStorage" tooltip="xlifepp::RowCsStorage"] "6" [label="xlifepp::SymCsStorage" tooltip="xlifepp::SymCsStorage"] "3" -> "1" [dir=forward tooltip="public-inheritance"] "1" -> "2" [dir=forward tooltip="public-inheritance"] "4" -> "1" [dir=forward tooltip="public-inheritance"] "5" -> "1" [dir=forward tooltip="public-inheritance"] "6" -> "1" [dir=forward tooltip="public-inheritance"] }

Collaboration diagram for xlifepp::CsStorage:

digraph { graph [bgcolor="#00000000"] node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2] edge [color="#1414CE"] "4" [label="std::vector< T >" tooltip="std::vector< T >"] "3" [label="std::vector< xlifepp::MatrixStorage * >" tooltip="std::vector< xlifepp::MatrixStorage * >"] "1" [label="xlifepp::CsStorage" tooltip="xlifepp::CsStorage" fillcolor="#BFBFBF"] "2" [label="xlifepp::MatrixStorage" tooltip="xlifepp::MatrixStorage"] "3" -> "4" [dir=forward tooltip="template-instance"] "1" -> "2" [dir=forward tooltip="public-inheritance"] "2" -> "3" [dir=forward tooltip="usage"] }

abstract base class of all compressed sparse storage classes

child class of row compressed sparse storage

Subclassed by xlifepp::ColCsStorage, xlifepp::DualCsStorage, xlifepp::RowCsStorage, xlifepp::SymCsStorage

Public Functions

CsStorage(AccessType = _dual, string_t id = "CsStorage")#

constructor by access type

CsStorage(number_t, AccessType = _dual, string_t id = "CsStorage")#

constructor by access type, number of columns and rows (same)

CsStorage(number_t, number_t, AccessType = _dual, string_t id = "CsStorage")#

constructor by access type, number of columns and rows

inline virtual ~CsStorage()#

virtual destructor

inline virtual number_t lowerPartSize() const#

size of lower triangular part except for Dual/SymCsStorage

virtual number_t size() const = 0#

storage size

inline virtual number_t upperPartSize() const#

size of upper triangular part except for Dual/SymCsStorage