Class xlifepp::SvdElements#

class SvdElements#

Collaboration diagram for xlifepp::SvdElements:

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

Public Functions

inline SvdElements()#

constructors

SvdElements(const TermMatrix &A, const EigenElements &ee)#

main constructor

inline TermVector leftSTermVector(number_t n) const#

returns n-th left singular vector (n>=1)

inline const TermVectors &leftSTermVectors() const#

returns left singular vectors

inline number_t numberOfSingularValues() const#

returns number of singular values

inline TermVector rightSTermVector(number_t n) const#

returns n-th right singular vector (n>=1)

inline const TermVectors &rightSTermVectors() const#

returns right singular vectors

inline real_t svalue(number_t n) const#

returns n-th singular value (n>=1)

inline const std::vector<real_t> &svalues() const#

returns singular values