Obsidian
Probabilistic Geophysical Joint Inversion
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
utility.hpp File Reference

Contains the basic GDF datatypes for communication between forward models. More...

#include "datatype/datatypes.hpp"
#include <string>
Include dependency graph for utility.hpp:
This graph shows which files directly or indirectly include this file:

Namespaces

 obsidian
 
 obsidian::comms
 

Functions

template<typename T , int R, int C>
std::string obsidian::comms::matrixString (const Eigen::Matrix< T, R, C > &m)
 
template<typename T = double, int R = D, int C = D>
Eigen::Matrix< T, R, C > obsidian::comms::stringMatrix (const std::string &s, uint rows)
 
std::string obsidian::comms::cmplxMatrixString (const Eigen::MatrixXcd &m)
 
std::string obsidian::comms::vectorString (const Eigen::VectorXd &m)
 
Eigen::VectorXd obsidian::comms::stringVector (const std::string &s)
 
Eigen::MatrixXcd obsidian::comms::stringCmplxMatrix (const std::string &s, uint rows)
 
template<class ProtobufType >
std::string obsidian::comms::protobufToString (const ProtobufType &pb)
 

Variables

const int obsidian::comms::D = Eigen::Dynamic
 

Detailed Description

Contains the basic GDF datatypes for communication between forward models.

Author
Lachlan McCalman
Nahid Akbar
Date
2014
License:
Affero General Public License version 3 or later