Functions
timeMatrix.cpp File Reference
#include <iostream>
#include <gtsam/base/timing.h>
#include <gtsam/base/Matrix.h>
Include dependency graph for timeMatrix.cpp:

Go to the source code of this file.

Functions

int main (int argc, char **argv)
 
double timeCollect (size_t p, size_t m, size_t n, bool passDims, size_t reps)
 
double timeColumn (size_t reps)
 
double timeHouseholder (size_t reps)
 
double timeMatrixInsert (size_t reps)
 
double timeVScaleColumn (size_t m, size_t n, size_t reps)
 
double timeVScaleRow (size_t m, size_t n, size_t reps)
 

Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 265 of file timeMatrix.cpp.

double timeCollect ( size_t  p,
size_t  m,
size_t  n,
bool  passDims,
size_t  reps 
)

Definition at line 38 of file timeMatrix.cpp.

double timeColumn ( size_t  reps)

Results: Alex's Machine (reps = 200000)

  • ublas matrix_column : 4.63 sec
  • naive implementation : 4.70 sec

reps = 2000000

  • rev 2100 : 45.11 sec

Definition at line 161 of file timeMatrix.cpp.

double timeHouseholder ( size_t  reps)

Definition at line 209 of file timeMatrix.cpp.

double timeMatrixInsert ( size_t  reps)

Results: (Alex's machine) reps: 200000

Initial (boost matrix proxies) - 12.08 Direct pointer method - 4.62

Definition at line 241 of file timeMatrix.cpp.

double timeVScaleColumn ( size_t  m,
size_t  n,
size_t  reps 
)

Definition at line 87 of file timeMatrix.cpp.

double timeVScaleRow ( size_t  m,
size_t  n,
size_t  reps 
)

Definition at line 123 of file timeMatrix.cpp.



gtsam
Author(s):
autogenerated on Sat May 8 2021 02:51:42