Jafar
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Public Attributes | Protected Member Functions
jafar::jmath::matrix_file< T > Class Template Reference

Class matrix_file loads/saves data into/from a matrix from/to a file. More...


Detailed Description

template<typename T>
class jafar::jmath::matrix_file< T >

Class matrix_file loads/saves data into/from a matrix from/to a file.

Remarks:
matrix is publicly accessed through data member

see a demo in jmath/demo_suite/mat_file.cpp

Definition at line 19 of file ublas_data_file.hpp.

#include <ublas_data_file.hpp>

Inheritance diagram for jafar::jmath::matrix_file< T >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 matrix_file ()
 default constructor
 matrix_file (const boost::numeric::ublas::matrix< T > &_data)
 constructor which initializes data content to

Public Attributes

boost::numeric::ublas::matrix< T > data

Protected Member Functions

void loadCSVFile (jafar::kernel::CSVFile &csvFile)
 Implement this method calling repeatedly CSVFile::getItem() method.
void saveCSVFile (jafar::kernel::CSVFile &csvFile)
 Implement this method calling repeatedly CSVFile::setItem() method.

Constructor & Destructor Documentation

template<typename T >
jafar::jmath::matrix_file< T >::matrix_file ( const boost::numeric::ublas::matrix< T > &  _data) [inline]

constructor which initializes data content to

Parameters:
_data

Definition at line 25 of file ublas_data_file.hpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Wed Oct 15 2014 00:37:40 for Jafar by doxygen 1.7.6.1
LAAS-CNRS