#include "byteorder.h"
#include "emassert.h"
#include "emdata.h"
#include "util.h"
#include "randnum.h"
#include <fcntl.h>
#include <iomanip>
#include <sstream>
#include <cstring>
#include <ctype.h>
#include <sys/types.h>
#include <gsl/gsl_linalg.h>
#include <algorithm>
#include <unistd.h>
#include <sys/param.h>
#include <sys/socket.h>
#include <gsl/gsl_matrix.h>
#include <gsl/gsl_vector.h>
Go to the source code of this file.
|
void | printmatrix (gsl_matrix *M, const int n, const int m, const string &message="") |
|
void | printvector (gsl_vector *M, const int n, const string &message="") |
|
◆ printmatrix()
void printmatrix |
( |
gsl_matrix * |
M, |
|
|
const int |
n, |
|
|
const int |
m, |
|
|
const string & |
message = "" |
|
) |
| |
Definition at line 1212 of file util.cpp.
1214 cout << message << endl;
1215 for(
int i = 0; i < n; ++i ){
1216 for (
int j = 0; j < m; ++j ){
1217 cout << gsl_matrix_get(M,i,j) <<
"\t";
Referenced by EMAN::Util::getBaldwinGridWeights().
◆ printvector()
void printvector |
( |
gsl_vector * |
M, |
|
|
const int |
n, |
|
|
const string & |
message = "" |
|
) |
| |