mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
MIsc. source and comment typos
Found using `codespell` and `grep` from downstream FreeCAD
This commit is contained in:
@@ -825,7 +825,7 @@ int main(int argc, char* argv[])
|
||||
}
|
||||
for (int i = 1; i < argc; i++) {
|
||||
bool arg_handled = false;
|
||||
// Step 1. Try to match action invokation names.
|
||||
// Step 1. Try to match action invocation names.
|
||||
for (auto it = available_actions.begin(); it != available_actions.end(); ++it) {
|
||||
if (!strcmp(argv[i], (*it)->invokation_name())) {
|
||||
if (!action) {
|
||||
|
||||
@@ -36,7 +36,7 @@ For instance:
|
||||
|
||||
You can also select a given set of actions defining the environment variable BTL_CONFIG this way:
|
||||
BTL_CONFIG="-a action1{:action2}*" ctest -V
|
||||
An exemple:
|
||||
An example:
|
||||
BTL_CONFIG="-a axpy:vector_matrix:trisolve:ata" ctest -V -R eigen2
|
||||
|
||||
Finally, if bench results already exist (the bench*.dat files) then they merges by keeping the best for each matrix size. If you want to overwrite the previous ones you can simply add the "--overwrite" option:
|
||||
|
||||
@@ -159,7 +159,7 @@ BTL_DONT_INLINE void bench( int size_min, int size_max, int nb_point ){
|
||||
// bench<Mixed_Perf_Analyzer,Action>(size_min,size_max,nb_point);
|
||||
|
||||
|
||||
// Only for small problem size. Otherwize it will be too long
|
||||
// Only for small problem size. Otherwise it will be too long
|
||||
// bench<X86_Perf_Analyzer,Action>(size_min,size_max,nb_point);
|
||||
// bench<STL_Perf_Analyzer,Action>(size_min,size_max,nb_point);
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
#include "math.h"
|
||||
// The Vector class must satisfy the following part of STL vector concept :
|
||||
// resize() method
|
||||
// [] operator for seting element
|
||||
// [] operator for setting element
|
||||
// the vector element are int compatible.
|
||||
template<class Vector>
|
||||
void size_log(const int nb_point, const int size_min, const int size_max, Vector & X)
|
||||
|
||||
@@ -55,7 +55,7 @@ bool read_xy_file(const std::string & filename, std::vector<int> & tab_sizes,
|
||||
|
||||
// The Vector class must satisfy the following part of STL vector concept :
|
||||
// resize() method
|
||||
// [] operator for seting element
|
||||
// [] operator for setting element
|
||||
// the vector element must have the << operator define
|
||||
|
||||
using namespace std;
|
||||
|
||||
@@ -100,7 +100,7 @@ public :
|
||||
Y+=coef*X;
|
||||
}
|
||||
|
||||
// alias free assignements
|
||||
// alias free assignments
|
||||
|
||||
static inline void matrix_vector_product(gene_matrix & A, gene_vector & B, gene_vector & X, int N){
|
||||
X.assign(prod(A,B));
|
||||
|
||||
@@ -101,7 +101,7 @@ void eigen33(const Matrix& mat, Matrix& evecs, Vector& evals)
|
||||
computeRoots(scaledMat,evals);
|
||||
|
||||
// compute the eigen vectors
|
||||
// **here we assume 3 differents eigenvalues**
|
||||
// **here we assume 3 different eigenvalues**
|
||||
|
||||
// "optimized version" which appears to be slower with gcc!
|
||||
// Vector base;
|
||||
|
||||
@@ -54,7 +54,7 @@ int main(int argc, char ** args)
|
||||
statbuf.close();
|
||||
}
|
||||
else
|
||||
std::cerr << "Unable to open the provided file for writting... \n";
|
||||
std::cerr << "Unable to open the provided file for writing... \n";
|
||||
}
|
||||
|
||||
// Get the maximum number of iterations and the tolerance
|
||||
|
||||
Reference in New Issue
Block a user