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

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

#include <outputMatlab.hh>

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

Public Member Functions

 OutputMatlab (const Array< F > &val, 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 bool transposed_
 
const Array< F > & val_
 

Detailed Description

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

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

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

Definition at line 30 of file outputMatlab.hh.

Constructor & Destructor Documentation

◆ OutputMatlab()

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

Definition at line 32 of file outputMatlab.hh.

Member Function Documentation

◆ info()

template<typename F >
std::ostream & concepts::OutputMatlab< Array< 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 44 of file outputMatlab.hh.

Member Data Documentation

◆ transposed_

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

Definition at line 39 of file outputMatlab.hh.

◆ val_

template<typename F >
const Array<F>& concepts::OutputMatlab< Array< F > >::val_
private

Definition at line 38 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