Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F78919284
ComplexMatrix3x3.hpp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Fri, Aug 23, 18:20
Size
1 KB
Mime Type
text/x-c++
Expires
Sun, Aug 25, 18:20 (1 d, 21 h)
Engine
blob
Format
Raw Data
Handle
20122031
Attached To
R9360 PCSC_git
ComplexMatrix3x3.hpp
View Options
/*
* ComplexMatrix3x3.hpp
*
* Created on: Oct 19, 2012
* Author: rpopescu
*/
#ifndef COMPLEXMATRIX3X3_HPP_
#define COMPLEXMATRIX3X3_HPP_
#include <iostream>
#include "ComplexNumber.hpp"
class ComplexMatrix3x3 {
public:
// Constructors and destructor
ComplexMatrix3x3();
ComplexMatrix3x3(const ComplexMatrix3x3 &m);
virtual ~ComplexMatrix3x3();
// Get methods
ComplexNumber Get(const int i, const int j) const;
// Set methods
void Set(const int i, const int j, const ComplexNumber &value);
// Public methods
bool IsZero() const;
ComplexMatrix3x3 PowerOverFact(const int n) const;
void Exponential(ComplexMatrix3x3 &E, const int power) const;
void Print(std::ostream &s = std::cout);
// Operators
ComplexMatrix3x3 &operator=(const ComplexMatrix3x3 &m);
ComplexMatrix3x3 operator*(const double d) const;
ComplexMatrix3x3 operator+(const double d) const;
ComplexMatrix3x3 operator+(const ComplexMatrix3x3 &m) const;
ComplexMatrix3x3 operator*(const ComplexMatrix3x3 &m) const;
private:
ComplexNumber **mMatrix;
};
#endif /* COMPLEXMATRIX3X3_HPP_ */
Event Timeline
Log In to Comment