proj home

Files   Classes   Functions   Hierarchy  

rpnfconj Class Reference

#include <mathfunc.h>

Inheritance diagram for rpnfconj:
Collaboration diagram for rpnfconj:

List of all members.

Public Member Functions

string const name () const
void visit (deque< rpnbase * > &ds, rpncomplex &n)
 rpnfconj ()
 rpnfconj (deque< rpnbase * > &ds, bool const evaluate=true)
 ~rpnfconj ()
rpnbasecopy () const


Detailed Description

Definition at line 536 of file mathfunc.h.


Constructor & Destructor Documentation

rpnfconj::rpnfconj (  )  [inline]

Definition at line 546 of file mathfunc.h.

Referenced by copy().

00546 {}

rpnfconj::rpnfconj ( deque< rpnbase * > &  ds,
bool const   evaluate = true 
) [inline]

Definition at line 547 of file mathfunc.h.

References rpnfunction::eval().

00548     {  
00549       if (evaluate)
00550         eval(ds);
00551       else
00552         ds.push_front(this);
00553     }

rpnfconj::~rpnfconj (  )  [inline]

Definition at line 554 of file mathfunc.h.

00554 {} 


Member Function Documentation

rpnbase* rpnfconj::copy (  )  const [inline, virtual]

Reimplemented from rpnfunction.

Definition at line 555 of file mathfunc.h.

References rpnfconj().

00556     { return new rpnfconj(); } 

string const rpnfconj::name (  )  const [inline, virtual]

Reimplemented from rpnfunction.

Definition at line 540 of file mathfunc.h.

00541     { return string("conj"); }

void rpnfconj::visit ( deque< rpnbase * > &  ds,
rpncomplex n 
) [inline, virtual]

Reimplemented from rpnfunction.

Definition at line 543 of file mathfunc.h.

References rpncomplex::num.

00544     { n.num = conj(n.num); }


The documentation for this class was generated from the following file:

Generated on Fri Mar 4 00:50:13 2011 for Chelton Evans Source by  doxygen 1.5.8