Template Function icrar::read_binary(const char *, Matrix&)

Function Documentation

template<class Matrix>
void icrar::read_binary(const char *filepath, Matrix &matrix)

Reads matrix from a file by resizing and overwriting the existing matrix (throws if fails)

Template Parameters:

Matrix – Eigen Matrix type

Parameters:
  • filepath – filepath to read from

  • matrix – matrix to read