Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
fmat::Row< N, R > Class Template Reference
Inheritance diagram for fmat::Row< N, R >:
Detailed Descriptiontemplate<size_t N, typename R = fmatReal>
|
Public Types | |
typedef R | storage_t |
typedef fmat_internal::unconst < R >::type | out_t |
Public Member Functions | |
Row (const fmat_internal::NoInit &noinit) | |
Row () | |
Row (const R x) | |
Row (const R *x, size_t stride=sizeof(R)) | |
Row (const SubVector< N, R > &x) | |
Row (const SubVector< N, const R > &x) | |
Row (const SubMatrix< 1, N, R > &x) | |
Row (const SubMatrix< 1, N, const R > &x) | |
Row (const Matrix< 1, N, R > &x) | |
template<size_t S> | |
Row (const Row< S, R > &x, size_t srcOffset=0) | |
template<size_t S> | |
Row (const SubVector< S, R > &x, size_t srcOffset=0) | |
template<size_t S> | |
Row (const SubVector< S, const R > &x, size_t srcOffset=0) | |
template<typename T > | |
Row & | importFrom (const T &x) |
template<typename T > | |
T | exportTo () const |
template<typename T > | |
T & | exportTo (T &x) const |
Row & | operator= (const R *x) |
Row & | operator= (R x) |
Row & | operator= (const SubVector< N, R > &x) |
Row & | operator= (const SubVector< N, const R > &x) |
Row & | operator= (const SubMatrix< 1, N, R > &x) |
Row & | operator= (const SubMatrix< 1, N, const R > &x) |
Row & | operator= (const Matrix< 1, N, R > &x) |
Row & | operator+= (R x) |
Row & | operator-= (R x) |
Row & | operator*= (R x) |
Row & | operator/= (R x) |
Row< N, out_t > | operator+ (R x) const |
Row< N, out_t > | operator- (R x) const |
Row< N, out_t > | operator* (R x) const |
Row< N, out_t > | operator/ (R x) const |
Row< N, out_t > | operator- () const |
Row & | operator+= (const SubVector< N, R > &x) |
Row & | operator-= (const SubVector< N, R > &x) |
Row & | operator+= (const SubVector< N, const R > &x) |
Row & | operator-= (const SubVector< N, const R > &x) |
Row & | operator+= (const SubMatrix< 1, N, R > &x) |
Row & | operator-= (const SubMatrix< 1, N, R > &x) |
Row & | operator+= (const SubMatrix< 1, N, const R > &x) |
Row & | operator-= (const SubMatrix< 1, N, const R > &x) |
Row & | operator+= (const Matrix< 1, N, R > &x) |
Row & | operator-= (const Matrix< 1, N, R > &x) |
Row | operator+ (const SubVector< N, R > &x) const |
Row | operator- (const SubVector< N, R > &x) const |
Row | operator+ (const SubVector< N, const R > &x) const |
Row | operator- (const SubVector< N, const R > &x) const |
Row | operator+ (const SubMatrix< 1, N, R > &x) const |
Row | operator- (const SubMatrix< 1, N, R > &x) const |
Row | operator+ (const SubMatrix< 1, N, const R > &x) const |
Row | operator- (const SubMatrix< 1, N, const R > &x) const |
Row | operator+ (const Matrix< 1, N, R > &x) const |
Row | operator- (const Matrix< 1, N, R > &x) const |
bool | operator== (const SubVector< N, R > &x) const |
bool | operator!= (const SubVector< N, R > &x) const |
bool | operator< (const SubVector< N, R > &x) const |
bool | operator== (const SubVector< N, const R > &x) const |
bool | operator!= (const SubVector< N, const R > &x) const |
bool | operator< (const SubVector< N, const R > &x) const |
bool | operator== (const SubMatrix< 1, N, R > &x) const |
bool | operator!= (const SubMatrix< 1, N, R > &x) const |
bool | operator< (const SubMatrix< 1, N, R > &x) const |
bool | operator== (const SubMatrix< 1, N, const R > &x) const |
bool | operator!= (const SubMatrix< 1, N, const R > &x) const |
bool | operator< (const SubMatrix< 1, N, const R > &x) const |
bool | operator== (const Matrix< 1, N, R > &x) const |
bool | operator!= (const Matrix< 1, N, R > &x) const |
bool | operator< (const Matrix< 1, N, R > &x) const |
template<typename T > | |
bool | operator<< (const Matrix< N, 1, T > &x) const |
returns true if all elements are less than the corresponding element | |
template<typename T > | |
bool | operator<< (const SubVector< N, T > &x) const |
R & | operator[] (size_t i) |
const R & | operator[] (size_t i) const |
R | norm () const ATTR_must_check |
R | sum () const ATTR_must_check |
R | sumSq () const ATTR_must_check |
void | abs () |
R | max () const ATTR_must_check |
R | min () const ATTR_must_check |
template<typename F > | |
void | apply (const F &f) |
template<typename F > | |
Row< N, R > | map (const F &f) const |
template<typename T > | |
void | minimize (const Matrix< 1, N, T > &x) |
template<typename T > | |
void | minimize (const SubVector< N, T > &x) |
template<typename T > | |
void | maximize (const Matrix< 1, N, T > &x) |
template<typename T > | |
void | maximize (const SubVector< N, T > &x) |
Column< N, R > | transpose () const ATTR_must_check |
std::string | fmt (std::string const &numberFormat=defaultNumberFormat, std::string const &firstLineStart="[", std::string const &nextLineStart="", std::string const &lastLineEnd="]", std::string const &rowBegin="", std::string const &elementSep=" ", std::string const &rowEnd="", std::string const &rowSep="") const |
template<> | |
fmatReal | norm () const |
template<> | |
fmatReal | norm () const |
template<> | |
fmatReal | norm () const |
template<> | |
fmatReal | sumSq () const |
template<> | |
fmatReal | sumSq () const |
template<> | |
fmatReal | sumSq () const |
template<> | |
Row< 2, fmatReal > & | operator+= (const SubVector< 2, fmatReal > &x) |
template<> | |
Row< 3, fmatReal > & | operator+= (const SubVector< 3, fmatReal > &x) |
template<> | |
Row< 4, fmatReal > & | operator+= (const SubVector< 4, fmatReal > &x) |
template<> | |
Row< 2, fmatReal > & | operator-= (const SubVector< 2, fmatReal > &x) |
template<> | |
Row< 3, fmatReal > & | operator-= (const SubVector< 3, fmatReal > &x) |
template<> | |
Row< 4, fmatReal > & | operator-= (const SubVector< 4, fmatReal > &x) |
template<> | |
Row< 2, fmatReal > & | operator*= (fmatReal x) |
template<> | |
Row< 3, fmatReal > & | operator*= (fmatReal x) |
template<> | |
Row< 4, fmatReal > & | operator*= (fmatReal x) |
template<> | |
Row< 2, fmatReal > & | operator/= (fmatReal x) |
template<> | |
Row< 3, fmatReal > & | operator/= (fmatReal x) |
template<> | |
Row< 4, fmatReal > & | operator/= (fmatReal x) |
Static Public Attributes | |
static const size_t | HEIGHT = 1 |
static const size_t | WIDTH = N |
static const size_t | CAP = N |
Friends | |
class | SubVector |
class | Column |
class | Row |
Row< N, out_t > | operator+ (R x, const Row &a) |
Row< N, out_t > | operator- (R x, const Row &a) |
Row< N, out_t > | operator* (R x, const Row &a) |
typedef fmat_internal::unconst<R>::type fmat::Row< N, R >::out_t |
Reimplemented from fmat::Matrix< 1, N, R >.
Definition at line 923 of file fmatCore.h.
Reimplemented from fmat::Matrix< 1, N, R >.
Definition at line 922 of file fmatCore.h.
fmat::Row< N, R >::Row | ( | const fmat_internal::NoInit & | noinit | ) |
Definition at line 925 of file fmatCore.h.
Definition at line 927 of file fmatCore.h.
Referenced by fmat::Row< N, R >::operator+(), and fmat::Row< N, R >::operator-().
Definition at line 928 of file fmatCore.h.
fmat::Row< N, R >::Row | ( | const R * | x, | |
size_t | stride = sizeof(R) | |||
) | [explicit] |
Definition at line 929 of file fmatCore.h.
Definition at line 930 of file fmatCore.h.
fmat::Row< N, R >::Row | ( | const SubVector< N, const R > & | x | ) |
Definition at line 931 of file fmatCore.h.
Definition at line 932 of file fmatCore.h.
fmat::Row< N, R >::Row | ( | const SubMatrix< 1, N, const R > & | x | ) |
Definition at line 933 of file fmatCore.h.
Definition at line 934 of file fmatCore.h.
fmat::Row< N, R >::Row | ( | const Row< S, R > & | x, | |
size_t | srcOffset = 0 | |||
) | [explicit] |
Definition at line 935 of file fmatCore.h.
fmat::Row< N, R >::Row | ( | const SubVector< S, R > & | x, | |
size_t | srcOffset = 0 | |||
) | [explicit] |
Definition at line 939 of file fmatCore.h.
fmat::Row< N, R >::Row | ( | const SubVector< S, const R > & | x, | |
size_t | srcOffset = 0 | |||
) | [explicit] |
Definition at line 943 of file fmatCore.h.
void fmat::Row< N, R >::abs | ( | ) |
Reimplemented from fmat::Matrix< 1, N, R >.
Definition at line 1024 of file fmatCore.h.
void fmat::Row< N, R >::apply | ( | const F & | f | ) |
Reimplemented from fmat::Matrix< 1, N, R >.
Definition at line 1027 of file fmatCore.h.
T& fmat::Row< N, R >::exportTo | ( | T & | x | ) | const |
Reimplemented from fmat::Matrix< 1, N, R >.
Definition at line 949 of file fmatCore.h.
T fmat::Row< N, R >::exportTo | ( | ) | const |
Reimplemented from fmat::Matrix< 1, N, R >.
Definition at line 948 of file fmatCore.h.
std::string fmat::Row< N, R >::fmt | ( | std::string const & | numberFormat = defaultNumberFormat , |
|
std::string const & | firstLineStart = "[" , |
|||
std::string const & | nextLineStart = "" , |
|||
std::string const & | lastLineEnd = "]" , |
|||
std::string const & | rowBegin = "" , |
|||
std::string const & | elementSep = " " , |
|||
std::string const & | rowEnd = "" , |
|||
std::string const & | rowSep = "" | |||
) | const |
Reimplemented from fmat::Matrix< 1, N, R >.
Definition at line 1041 of file fmatCore.h.
Row& fmat::Row< N, R >::importFrom | ( | const T & | x | ) |
Reimplemented from fmat::Matrix< 1, N, R >.
Definition at line 947 of file fmatCore.h.
Row<N,R> fmat::Row< N, R >::map | ( | const F & | f | ) | const |
Reimplemented from fmat::Matrix< 1, N, R >.
Definition at line 1028 of file fmatCore.h.
R fmat::Row< N, R >::max | ( | ) | const |
Definition at line 1025 of file fmatCore.h.
void fmat::Row< N, R >::maximize | ( | const SubVector< N, T > & | x | ) |
Definition at line 1033 of file fmatCore.h.
void fmat::Row< N, R >::maximize | ( | const Matrix< 1, N, T > & | x | ) |
Definition at line 1032 of file fmatCore.h.
R fmat::Row< N, R >::min | ( | ) | const |
Definition at line 1026 of file fmatCore.h.
Referenced by fmat::Row< N, R >::Row().
void fmat::Row< N, R >::minimize | ( | const SubVector< N, T > & | x | ) |
Definition at line 1031 of file fmatCore.h.
void fmat::Row< N, R >::minimize | ( | const Matrix< 1, N, T > & | x | ) |
Definition at line 1030 of file fmatCore.h.
Definition at line 1364 of file fmatCore.h.
Definition at line 1363 of file fmatCore.h.
Definition at line 1362 of file fmatCore.h.
R fmat::Row< N, R >::norm | ( | ) | const |
Definition at line 1021 of file fmatCore.h.
bool fmat::Row< N, R >::operator!= | ( | const Matrix< 1, N, R > & | x | ) | const |
Definition at line 1011 of file fmatCore.h.
bool fmat::Row< N, R >::operator!= | ( | const SubMatrix< 1, N, const R > & | x | ) | const |
Definition at line 1008 of file fmatCore.h.
bool fmat::Row< N, R >::operator!= | ( | const SubMatrix< 1, N, R > & | x | ) | const |
Definition at line 1005 of file fmatCore.h.
bool fmat::Row< N, R >::operator!= | ( | const SubVector< N, const R > & | x | ) | const |
Definition at line 1002 of file fmatCore.h.
bool fmat::Row< N, R >::operator!= | ( | const SubVector< N, R > & | x | ) | const |
Definition at line 999 of file fmatCore.h.
Reimplemented from fmat::Matrix< 1, N, R >.
Definition at line 968 of file fmatCore.h.
Definition at line 1411 of file fmatCore.h.
Definition at line 1410 of file fmatCore.h.
Definition at line 1409 of file fmatCore.h.
Reimplemented from fmat::Matrix< 1, N, R >.
Definition at line 964 of file fmatCore.h.
Row fmat::Row< N, R >::operator+ | ( | const Matrix< 1, N, R > & | x | ) | const |
Definition at line 995 of file fmatCore.h.
Row fmat::Row< N, R >::operator+ | ( | const SubMatrix< 1, N, const R > & | x | ) | const |
Definition at line 993 of file fmatCore.h.
Row fmat::Row< N, R >::operator+ | ( | const SubMatrix< 1, N, R > & | x | ) | const |
Definition at line 991 of file fmatCore.h.
Row fmat::Row< N, R >::operator+ | ( | const SubVector< N, const R > & | x | ) | const |
Definition at line 989 of file fmatCore.h.
Row fmat::Row< N, R >::operator+ | ( | const SubVector< N, R > & | x | ) | const |
Definition at line 987 of file fmatCore.h.
Reimplemented from fmat::Matrix< 1, N, R >.
Definition at line 966 of file fmatCore.h.
Row< 4, fmatReal > & fmat::Row< 4, fmatReal >::operator+= | ( | const SubVector< 4, fmatReal > & | x | ) |
Definition at line 1388 of file fmatCore.h.
Row< 3, fmatReal > & fmat::Row< 3, fmatReal >::operator+= | ( | const SubVector< 3, fmatReal > & | x | ) |
Definition at line 1387 of file fmatCore.h.
Row< 2, fmatReal > & fmat::Row< 2, fmatReal >::operator+= | ( | const SubVector< 2, fmatReal > & | x | ) |
Definition at line 1386 of file fmatCore.h.
Row& fmat::Row< N, R >::operator+= | ( | const Matrix< 1, N, R > & | x | ) |
Definition at line 984 of file fmatCore.h.
Row& fmat::Row< N, R >::operator+= | ( | const SubMatrix< 1, N, const R > & | x | ) |
Definition at line 982 of file fmatCore.h.
Row& fmat::Row< N, R >::operator+= | ( | const SubMatrix< 1, N, R > & | x | ) |
Definition at line 980 of file fmatCore.h.
Row& fmat::Row< N, R >::operator+= | ( | const SubVector< N, const R > & | x | ) |
Definition at line 978 of file fmatCore.h.
Row& fmat::Row< N, R >::operator+= | ( | const SubVector< N, R > & | x | ) |
Definition at line 976 of file fmatCore.h.
Reimplemented from fmat::Matrix< 1, N, R >.
Definition at line 962 of file fmatCore.h.
Referenced by fmat::Row< N, R >::operator+=().
Row fmat::Row< N, R >::operator- | ( | const Matrix< 1, N, R > & | x | ) | const |
Definition at line 996 of file fmatCore.h.
Row fmat::Row< N, R >::operator- | ( | const SubMatrix< 1, N, const R > & | x | ) | const |
Definition at line 994 of file fmatCore.h.
Row fmat::Row< N, R >::operator- | ( | const SubMatrix< 1, N, R > & | x | ) | const |
Definition at line 992 of file fmatCore.h.
Row fmat::Row< N, R >::operator- | ( | const SubVector< N, const R > & | x | ) | const |
Definition at line 990 of file fmatCore.h.
Row fmat::Row< N, R >::operator- | ( | const SubVector< N, R > & | x | ) | const |
Definition at line 988 of file fmatCore.h.
Reimplemented from fmat::Matrix< 1, N, R >.
Definition at line 970 of file fmatCore.h.
Reimplemented from fmat::Matrix< 1, N, R >.
Definition at line 967 of file fmatCore.h.
Row< 4, fmatReal > & fmat::Row< 4, fmatReal >::operator-= | ( | const SubVector< 4, fmatReal > & | x | ) |
Definition at line 1398 of file fmatCore.h.
Row< 3, fmatReal > & fmat::Row< 3, fmatReal >::operator-= | ( | const SubVector< 3, fmatReal > & | x | ) |
Definition at line 1397 of file fmatCore.h.
Row< 2, fmatReal > & fmat::Row< 2, fmatReal >::operator-= | ( | const SubVector< 2, fmatReal > & | x | ) |
Definition at line 1396 of file fmatCore.h.
Row& fmat::Row< N, R >::operator-= | ( | const Matrix< 1, N, R > & | x | ) |
Definition at line 985 of file fmatCore.h.
Row& fmat::Row< N, R >::operator-= | ( | const SubMatrix< 1, N, const R > & | x | ) |
Definition at line 983 of file fmatCore.h.
Row& fmat::Row< N, R >::operator-= | ( | const SubMatrix< 1, N, R > & | x | ) |
Definition at line 981 of file fmatCore.h.
Row& fmat::Row< N, R >::operator-= | ( | const SubVector< N, const R > & | x | ) |
Definition at line 979 of file fmatCore.h.
Row& fmat::Row< N, R >::operator-= | ( | const SubVector< N, R > & | x | ) |
Definition at line 977 of file fmatCore.h.
Reimplemented from fmat::Matrix< 1, N, R >.
Definition at line 963 of file fmatCore.h.
Referenced by fmat::Row< N, R >::operator-=().
Reimplemented from fmat::Matrix< 1, N, R >.
Definition at line 969 of file fmatCore.h.
Definition at line 1424 of file fmatCore.h.
Definition at line 1423 of file fmatCore.h.
Definition at line 1422 of file fmatCore.h.
Reimplemented from fmat::Matrix< 1, N, R >.
Definition at line 965 of file fmatCore.h.
bool fmat::Row< N, R >::operator< | ( | const Matrix< 1, N, R > & | x | ) | const |
Definition at line 1012 of file fmatCore.h.
bool fmat::Row< N, R >::operator< | ( | const SubMatrix< 1, N, const R > & | x | ) | const |
Definition at line 1009 of file fmatCore.h.
bool fmat::Row< N, R >::operator< | ( | const SubMatrix< 1, N, R > & | x | ) | const |
Definition at line 1006 of file fmatCore.h.
bool fmat::Row< N, R >::operator< | ( | const SubVector< N, const R > & | x | ) | const |
Definition at line 1003 of file fmatCore.h.
bool fmat::Row< N, R >::operator< | ( | const SubVector< N, R > & | x | ) | const |
Definition at line 1000 of file fmatCore.h.
bool fmat::Row< N, R >::operator<< | ( | const SubVector< N, T > & | x | ) | const |
Definition at line 1016 of file fmatCore.h.
bool fmat::Row< N, R >::operator<< | ( | const Matrix< N, 1, T > & | x | ) | const |
returns true if all elements are less than the corresponding element
Definition at line 1015 of file fmatCore.h.
Row& fmat::Row< N, R >::operator= | ( | const Matrix< 1, N, R > & | x | ) |
Definition at line 960 of file fmatCore.h.
Row& fmat::Row< N, R >::operator= | ( | const SubMatrix< 1, N, const R > & | x | ) |
Definition at line 959 of file fmatCore.h.
Row& fmat::Row< N, R >::operator= | ( | const SubMatrix< 1, N, R > & | x | ) |
Definition at line 958 of file fmatCore.h.
Row& fmat::Row< N, R >::operator= | ( | const SubVector< N, const R > & | x | ) |
Definition at line 957 of file fmatCore.h.
Row& fmat::Row< N, R >::operator= | ( | const SubVector< N, R > & | x | ) |
Definition at line 956 of file fmatCore.h.
Reimplemented from fmat::Matrix< 1, N, R >.
Definition at line 955 of file fmatCore.h.
Reimplemented from fmat::Matrix< 1, N, R >.
Definition at line 954 of file fmatCore.h.
bool fmat::Row< N, R >::operator== | ( | const Matrix< 1, N, R > & | x | ) | const |
Definition at line 1010 of file fmatCore.h.
bool fmat::Row< N, R >::operator== | ( | const SubMatrix< 1, N, const R > & | x | ) | const |
Definition at line 1007 of file fmatCore.h.
bool fmat::Row< N, R >::operator== | ( | const SubMatrix< 1, N, R > & | x | ) | const |
Definition at line 1004 of file fmatCore.h.
bool fmat::Row< N, R >::operator== | ( | const SubVector< N, const R > & | x | ) | const |
Definition at line 1001 of file fmatCore.h.
bool fmat::Row< N, R >::operator== | ( | const SubVector< N, R > & | x | ) | const |
Definition at line 998 of file fmatCore.h.
const R& fmat::Row< N, R >::operator[] | ( | size_t | i | ) | const |
Definition at line 1019 of file fmatCore.h.
R& fmat::Row< N, R >::operator[] | ( | size_t | i | ) |
Definition at line 1018 of file fmatCore.h.
R fmat::Row< N, R >::sum | ( | ) | const |
Definition at line 1022 of file fmatCore.h.
Definition at line 1377 of file fmatCore.h.
Definition at line 1376 of file fmatCore.h.
Definition at line 1375 of file fmatCore.h.
R fmat::Row< N, R >::sumSq | ( | ) | const |
Definition at line 1023 of file fmatCore.h.
Reimplemented from fmat::Matrix< 1, N, R >.
Definition at line 1035 of file fmatCore.h.
friend class Column [friend] |
Reimplemented from fmat::Matrix< 1, N, R >.
Definition at line 916 of file fmatCore.h.
Row<N,out_t> operator* | ( | R | x, | |
const Row< N, R > & | a | |||
) | [friend] |
Definition at line 974 of file fmatCore.h.
Row<N,out_t> operator+ | ( | R | x, | |
const Row< N, R > & | a | |||
) | [friend] |
Definition at line 972 of file fmatCore.h.
Row<N,out_t> operator- | ( | R | x, | |
const Row< N, R > & | a | |||
) | [friend] |
Definition at line 973 of file fmatCore.h.
friend class Row [friend] |
Reimplemented from fmat::Matrix< 1, N, R >.
Definition at line 917 of file fmatCore.h.
friend class SubVector [friend] |
Reimplemented from fmat::Matrix< 1, N, R >.
Definition at line 915 of file fmatCore.h.
Reimplemented from fmat::Matrix< 1, N, R >.
Definition at line 921 of file fmatCore.h.
Referenced by fmat::Row< N, R >::operator+=(), fmat::Row< N, R >::operator-=(), and fmat::Row< N, R >::operator=().
Reimplemented from fmat::Matrix< 1, N, R >.
Definition at line 919 of file fmatCore.h.
Reimplemented from fmat::Matrix< 1, N, R >.
Definition at line 920 of file fmatCore.h.
Tekkotsu v5.1CVS |
Generated Mon May 9 04:59:22 2016 by Doxygen 1.6.3 |