Carotid 0.1.1
Loading...
Searching...
No Matches
Namespaces | Typedefs | Functions
Utility.h File Reference
#include <Eigen/Dense>
#include <expected>
#include <filesystem>
#include <fstream>

Go to the source code of this file.

Namespaces

namespace  carotid
 

Typedefs

using carotid::Path = std::filesystem::path
 
template<typename T >
using carotid::Mat = Eigen::Matrix<T, Eigen::Dynamic, Eigen::Dynamic>
 
template<typename T >
using carotid::Vec = Eigen::Matrix<T, Eigen::Dynamic, 1>
 

Functions

template<typename T >
std::expected< Mat< T >, std::ios_base::failure > carotid::loadBinaryIntoMatrix (const Path &filename, int rows, int cols)
 
template<typename T >
std::expected< Vec< T >, std::ios_base::failure > carotid::loadBinaryIntoVector (const Path &filename, int n)