aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench/btl/libs
diff options
context:
space:
mode:
authorGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2010-01-04 21:24:43 -0500
committerGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2010-01-04 21:24:43 -0500
commit39ac57fa6ddf9a74d9a6cc213293914d2e05ec31 (patch)
tree6c5c83c68ca023799bc09ebcbe150f894cb33b3b /bench/btl/libs
parent78ba523d3038b854c5beca7a94cbe9b7e955a9f3 (diff)
Big renaming:
start ---> head end ---> tail Much frustration with sed syntax. Need to learn perl some day.
Diffstat (limited to 'bench/btl/libs')
-rw-r--r--bench/btl/libs/eigen2/eigen2_interface.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/bench/btl/libs/eigen2/eigen2_interface.hh b/bench/btl/libs/eigen2/eigen2_interface.hh
index f14c8c383..1166a37a1 100644
--- a/bench/btl/libs/eigen2/eigen2_interface.hh
+++ b/bench/btl/libs/eigen2/eigen2_interface.hh
@@ -153,14 +153,14 @@ public :
else
dst.copyCoeff(index, j, src);
}
- //dst.col(j).end(N-j) = src.col(j).end(N-j);
+ //dst.col(j).tail(N-j) = src.col(j).tail(N-j);
}
}
static EIGEN_DONT_INLINE void syr2(gene_matrix & A, gene_vector & X, gene_vector & Y, int N){
// ei_product_selfadjoint_rank2_update<real,0,LowerTriangularBit>(N,A.data(),N, X.data(), 1, Y.data(), 1, -1);
for(int j=0; j<N; ++j)
- A.col(j).end(N-j) += X[j] * Y.end(N-j) + Y[j] * X.end(N-j);
+ A.col(j).tail(N-j) += X[j] * Y.tail(N-j) + Y[j] * X.tail(N-j);
}
static EIGEN_DONT_INLINE void ger(gene_matrix & A, gene_vector & X, gene_vector & Y, int N){