concepts::OutputMatlab< Sequence< F > > Class Template Reference

Specialisation of class OutputMatlab<F> for output of objects to matlab to Sequence<F> More...

#include <outputMatlab.hh>

Inheritance diagram for concepts::OutputMatlab< Sequence< F > >:
concepts::OutputOperator

Public Member Functions

 OutputMatlab (const Sequence< F > &seq, const bool transposed=false)
 

Protected Member Functions

virtual std::ostream & info (std::ostream &os) const
 Returns information in an output stream. More...
 

Private Attributes

const Sequence< F > & seq_
 
const bool transposed_
 

Detailed Description

template<typename F>
class concepts::OutputMatlab< Sequence< F > >

Specialisation of class OutputMatlab<F> for output of objects to matlab to Sequence<F>

Use it like: std::cout << OutputMatlab<Sequence<double> >(val) << std::endl;

Definition at line 112 of file outputMatlab.hh.

Constructor & Destructor Documentation

◆ OutputMatlab()

template<typename F >
concepts::OutputMatlab< Sequence< F > >::OutputMatlab ( const Sequence< F > &  seq,
const bool  transposed = false 
)
inline

Definition at line 114 of file outputMatlab.hh.

Member Function Documentation

◆ info()

template<typename F >
std::ostream & concepts::OutputMatlab< Sequence< F > >::info ( std::ostream &  os) const
protectedvirtual

Returns information in an output stream.

Stores the array in a matlab format.

Reimplemented from concepts::OutputOperator.

Definition at line 126 of file outputMatlab.hh.

Member Data Documentation

◆ seq_

template<typename F >
const Sequence<F>& concepts::OutputMatlab< Sequence< F > >::seq_
private

Definition at line 120 of file outputMatlab.hh.

◆ transposed_

template<typename F >
const bool concepts::OutputMatlab< Sequence< F > >::transposed_
private

Definition at line 121 of file outputMatlab.hh.


The documentation for this class was generated from the following file:
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich