Complex2Constant.h
1//-*-C++-*-
2/***************************************************************************
3 *
4 * Copyright (C) 2004 by Willem van Straten
5 * Licensed under the Academic Free License version 2.1
6 *
7 ***************************************************************************/
8
9// psrchive/More/MEAL/MEAL/Complex2Constant.h
10
11#ifndef __Complex2Constant_H
12#define __Complex2Constant_H
13
14#include "MEAL/Complex2.h"
15
16namespace MEAL {
17
19 class Complex2Constant : public Complex2 {
20
21 public:
22
24 Complex2Constant (const Jones<double>& jones);
25
27 const Complex2Constant& operator = (const Complex2Constant& scalar);
28
29 // ///////////////////////////////////////////////////////////////////
30 //
31 // Function implementation
32 //
33 // ///////////////////////////////////////////////////////////////////
34
36 std::string get_name () const;
37
38 // ///////////////////////////////////////////////////////////////////
39 //
40 // Complex2 implementation
41 //
42 // ///////////////////////////////////////////////////////////////////
43
45 void calculate (Jones<double>&, std::vector<Jones<double> >*);
46
47 protected:
48
50 Jones<double> value;
51
52 };
53
54}
55
56#endif
Complex2Constant(const Jones< double > &jones)
Default constructor.
Definition Complex2Constant.C:12
const Complex2Constant & operator=(const Complex2Constant &scalar)
Assignment operator.
Definition Complex2Constant.C:22
Jones< double > value
The Jones matrix returned by evaluate.
Definition Complex2Constant.h:50
void calculate(Jones< double > &, std::vector< Jones< double > > *)
Return the Jones matrix.
Definition Complex2Constant.C:34
std::string get_name() const
Return the name of the class.
Definition Complex2Constant.C:29
Pure virtual base class of all complex 2x2 matrix functions.
Definition Complex2.h:40
Namespace in which all modeling and calibration related code is declared.
Definition ExampleComplex2.h:16

Generated using doxygen 1.14.0