22template<
typename AReal>
27 for (
size_t j = 0; j <
fNCols; j++) {
35template<
typename AReal>
37 :
fBuffer(B.GetNoElements()), fNCols(B.GetNcols()), fNRows(B.GetNrows())
40 for (
size_t j = 0; j <
fNCols; j++) {
42 (*this)(
i,j) = B(
i,j);
48template<
typename AReal>
58template<
typename AReal>
61 TMatrixT<AReal> B(fNRows, fNCols);
63 for (
size_t j = 0; j < fNCols; j++) {
64 for (
size_t i = 0;
i < fNRows;
i++) {
65 B(
i,j) = (*this)(
i, j);
72template <
typename AReal>
75 for (
size_t j = 0; j < fNCols; j++) {
76 for (
size_t i = 0;
i < fNRows;
i++) {
77 (*this)(
i, j) = B(
i, j);
84template<
typename AReal>
89 size_t ifirst =
fOnes.size();
90 for (
size_t i = ifirst;
i <
fNRows;
i++) {
97template<
typename AReal>
102 size_t ifirst =
fOnes.size();
103 for (
size_t i = ifirst;
i <
n;
i++) {
104 fOnes.push_back(1.0);
static std::vector< AFloat > fOnes
Vector filled with ones used for BLAS calls.
static void InitializeOneVector(size_t n)
TCpuBuffer< AFloat > fBuffer
The buffer holding the matrix elements in column-major format.
TCpuMatrix< AFloat > & operator=(const TMatrixT< AFloat > &)
copy from a TMAtrixT .
create variable transformations