GammaLib  1.7.0.dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GRmf.hpp File Reference

XSPEC Redistribution Matrix File class definition. More...

#include <string>
#include "GBase.hpp"
#include "GFilename.hpp"
#include "GEbounds.hpp"
#include "GMatrixSparse.hpp"
#include "GFitsHeader.hpp"

Go to the source code of this file.

Classes

class  GRmf
 Redistribution Matrix File class. More...
 

Namespaces

 gammalib
 

Functions

GRmf operator+ (const GRmf &a, const GRmf &b)
 Redistribution Matrix File addition operator friend. More...
 
GRmf operator- (const GRmf &a, const GRmf &b)
 Redistribution Matrix File subtraction operator friend. More...
 
GRmf operator* (const GRmf &rmf, const double &scale)
 Redistribution Matrix File scaling operator friend. More...
 
GRmf operator* (const double &scale, const GRmf &rmf)
 Redistribution Matrix File scaling operator friend. More...
 
GRmf operator/ (const GRmf &rmf, const double &scale)
 Redistribution Matrix File vision operator friend. More...
 

Variables

const std::string gammalib::extname_rmf = "MATRIX"
 

Detailed Description

XSPEC Redistribution Matrix File class definition.

Author
Juergen Knoedlseder

Definition in file GRmf.hpp.

Function Documentation

GRmf operator* ( const GRmf rmf,
const double &  scale 
)
inline

Redistribution Matrix File scaling operator friend.

Parameters
[in]rmfRedistribution Matrix File.
[in]scaleScale factor.
Returns
Scaled Redistribution Matrix File.

Definition at line 365 of file GRmf.hpp.

GRmf operator* ( const double &  scale,
const GRmf rmf 
)
inline

Redistribution Matrix File scaling operator friend.

Parameters
[in]scaleScale factor.
[in]rmfRedistribution Matrix File.
Returns
Scaled Redistribution Matrix File.

Definition at line 381 of file GRmf.hpp.

GRmf operator+ ( const GRmf a,
const GRmf b 
)
inline

Redistribution Matrix File addition operator friend.

Parameters
[in]aFirst Redistribution Matrix File.
[in]bSecond Redistribution Matrix File.
Returns
Sum of Redistribution Matrix Files.

Definition at line 333 of file GRmf.hpp.

GRmf operator- ( const GRmf a,
const GRmf b 
)
inline

Redistribution Matrix File subtraction operator friend.

Parameters
[in]aFirst Redistribution Matrix File.
[in]bSecond Redistribution Matrix File.
Returns
Difference of Redistribution Matrix Files.

Definition at line 349 of file GRmf.hpp.

GRmf operator/ ( const GRmf rmf,
const double &  scale 
)
inline

Redistribution Matrix File vision operator friend.

Parameters
[in]rmfRedistribution Matrix File.
[in]scaleDivision factor.
Returns
Divided Redistribution Matrix File.

Definition at line 397 of file GRmf.hpp.