#include <Variable.h>
Inheritance diagram for PLearn::Var:
Public Member Functions | |
Var () | |
Var *. | |
Var (Variable *v) | |
Var (Variable *v, const char *name) | |
Var (const Var &other) | |
Var (const Var &other, const char *name) | |
Var (int the_length, int width_=1) | |
Var (int the_length, int the_width, const char *name) | |
Var (int the_length, const char *name) | |
Var (const Vec &vec, bool vertival=true) | |
Var (const Mat &mat) | |
int | length () const |
int | width () const |
Var | subVec (int start, int len, bool transpose=false) const |
Var | subMat (int i, int j, int sublength, int subwidth, bool transpose=false) const |
Var | row (int i, bool transpose=false) const |
Var | column (int j, bool transpose=false) const |
Var | operator() (int i) const |
Var | operator() (int i, int j) const |
Var | operator[] (int i) const |
take element i of a vector | |
Var | operator[] (Var i) const |
Var | operator() (Var index) const |
take row i of a matrix | |
Var | operator() (Var i, Var j) const |
take element i,j of a matrix | |
void | operator= (real f) |
void | operator= (const Vec &v) |
void | operator= (const Mat &m) |
|
Var *.
Definition at line 69 of file Variable.cc. Referenced by operator[](), and subVec(). |
|
Definition at line 70 of file Variable.cc. |
|
Definition at line 71 of file Variable.cc. References PLearn::Variable::setName(). |
|
Definition at line 72 of file Variable.cc. |
|
Definition at line 73 of file Variable.cc. References PLearn::Variable::setName(). |
|
Definition at line 79 of file Variable.cc. |
|
Definition at line 82 of file Variable.cc. References PLearn::Variable::setName(). |
|
Definition at line 75 of file Variable.cc. References PLearn::Variable::setName(). |
|
Definition at line 85 of file Variable.cc. References PLearn::Vec. |
|
Definition at line 89 of file Variable.cc. References PLearn::Mat. |
|
Definition at line 433 of file Variable.h. References length(), PLearn::subMat(), and PLearn::transpose(). Referenced by PLearn::VarColumnsVariable::bprop(), PLearn::UnfoldedFuncVariable::fprop(), PLearn::MiniBatchClassificationLossVariable::fprop(), PLearn::ConditionalDensityNet::initializeParams(), and PLearn::PLS::train(). |
|
|
take element i,j of a matrix
Definition at line 138 of file Variable.cc. References width(). |
|
take row i of a matrix
Definition at line 135 of file Variable.cc. |
|
Definition at line 443 of file Variable.h. References PLearn::subMat(). |
|
Definition at line 438 of file Variable.h. References row(). Referenced by operator[](). |
|
Definition at line 157 of file Variable.cc. References PLearn::PP< Variable >::isNull(), and PLERROR. |
|
Definition at line 149 of file Variable.cc. References PLearn::PP< Variable >::isNull(), and PLERROR. |
|
Definition at line 141 of file Variable.cc. References PLearn::PP< Variable >::isNull(), and PLERROR. |
|
Definition at line 109 of file Variable.cc. |
|
take element i of a vector
Definition at line 99 of file Variable.cc. References length(), operator()(), PLERROR, Var(), and width(). |
|
Definition at line 428 of file Variable.h. References PLearn::subMat(), PLearn::transpose(), and width(). Referenced by PLearn::VarRowsVariable::bprop(), PLearn::MiniBatchClassificationLossVariable::fprop(), and operator()(). |
|
Definition at line 116 of file Variable.cc. |
|
Definition at line 124 of file Variable.cc. References length(), PLERROR, PLearn::subMat(), PLearn::transpose(), Var(), and width(). Referenced by PLearn::MixtureRandomVariable::ElogP(), PLearn::ExtendedRandomVariable::invertible(), PLearn::JointRandomVariable::invertible(), and PLearn::MixtureRandomVariable::logP(). |
|