MatrixRow< T > Class Template Reference
#include <matrix.h>
Public Member Functions | |
T & | operator[] (int i) |
const T & | operator[] (int i) const |
int | size () const |
void | print (ostream &os) const |
bool | is_zero (int from=0) const |
int | size_nz () const |
void | fill (long value) |
void | add (const MatrixRow< T > &v) |
void | add (const MatrixRow< T > &v, int n) |
void | sub (const MatrixRow< T > &v) |
void | sub (const MatrixRow< T > &v, int n) |
void | mul (const MatrixRow< T > &v, int b, int n, T x) |
void | div (const MatrixRow< T > &v, int b, int n, T x) |
void | addmul (const MatrixRow< T > &v, T x) |
void | addmul (const MatrixRow< T > &v, T x, int n) |
void | addmul (const MatrixRow< T > &v, T x, int b, int n) |
void | addmul_2exp (const MatrixRow< T > &v, const T &x, long expo, T &tmp) |
void | addmul_2exp (const MatrixRow< T > &v, const T &x, long expo, int, T &tmp) |
void | addmul_si (const MatrixRow< T > &v, long x) |
void | addmul_si (const MatrixRow< T > &v, long x, int n) |
void | addmul_si_2exp (const MatrixRow< T > &v, long x, long expo, T &tmp) |
void | addmul_si_2exp (const MatrixRow< T > &v, long x, long expo, int n, T &tmp) |
void | dot_product (T &result, const MatrixRow< T > &v0, int beg, int n) const |
void | dot_product (T &result, const MatrixRow< T > &v0, int n) const |
void | dot_product (T &result, const MatrixRow< T > &v0) const |
Friends | |
class | Matrix< T > |
Detailed Description
template<class T>
class MatrixRow< T >
class MatrixRow< T >
MatrixRow stores a reference to a row of a Matrix. It supports a subset of operations available on vectors.
Member Function Documentation
◆ add() [1/2]
◆ add() [2/2]
◆ addmul() [1/3]
◆ addmul() [2/3]
template<class T >
|
inline |
◆ addmul() [3/3]
◆ addmul_2exp() [1/2]
template<class T >
|
inline |
◆ addmul_2exp() [2/2]
template<class T >
|
inline |
◆ addmul_si() [1/2]
◆ addmul_si() [2/2]
template<class T >
|
inline |
◆ addmul_si_2exp() [1/2]
template<class T >
|
inline |
◆ addmul_si_2exp() [2/2]
template<class T >
|
inline |
◆ div()
◆ dot_product() [1/3]
template<class T >
|
inline |
Computes the truncated dot product between two rows of a Matrix
◆ dot_product() [2/3]
template<class T >
|
inline |
Computes the truncated dot product between two rows of a Matrix. Constraint: n > beg.
◆ dot_product() [3/3]
template<class T >
|
inline |
Computes the dot product between two rows of a Matrix
◆ fill()
template<class T >
|
inline |
◆ is_zero()
template<class T >
|
inline |
◆ mul()
◆ operator[]() [1/2]
template<class T >
|
inline |
Returns a reference to the i-th element of this row.
◆ operator[]() [2/2]
template<class T >
|
inline |
Returns a const reference to the i-th element of this row on constant objects.
◆ print()
template<class T >
|
inline |
Prints this object on stream os.
◆ size()
template<class T >
|
inline |
Returns the number of columns.
◆ size_nz()
template<class T >
|
inline |
◆ sub() [1/2]
◆ sub() [2/2]
Friends And Related Function Documentation
◆ Matrix< T >
template<class T >
|
friend |
The documentation for this class was generated from the following file:
- fplll/nr/matrix.h