ProteoWizard
Public Member Functions | Private Attributes
pwiz::frequency::DerivativeTest::ParametrizedFunctionSlice< value_type > Class Template Reference

#include <DerivativeTest.hpp>

Inheritance diagram for pwiz::frequency::DerivativeTest::ParametrizedFunctionSlice< value_type >:
pwiz::frequency::DerivativeTest::VectorFunction< value_type >

List of all members.

Public Member Functions

 ParametrizedFunctionSlice (const ParametrizedFunction< value_type > &f, double x)
virtual unsigned int argumentCount () const
virtual unsigned int valueCount () const
virtual ublas::vector< value_type > operator() (ublas::vector< double > p) const
- Public Member Functions inherited from pwiz::frequency::DerivativeTest::VectorFunction< value_type >
ublas::matrix< value_type > differenceQuotient (ublas::vector< double > x, double delta) const
void printDifferenceQuotientSequence (ublas::vector< double > x, std::ostream &os) const

Private Attributes

const ParametrizedFunction
< value_type > & 
f_
double x_

Additional Inherited Members

- Protected Member Functions inherited from pwiz::frequency::DerivativeTest::VectorFunction< value_type >
virtual ~VectorFunction ()

Detailed Description

template<typename value_type>
class pwiz::frequency::DerivativeTest::ParametrizedFunctionSlice< value_type >

Definition at line 101 of file DerivativeTest.hpp.


Constructor & Destructor Documentation

template<typename value_type>
pwiz::frequency::DerivativeTest::ParametrizedFunctionSlice< value_type >::ParametrizedFunctionSlice ( const ParametrizedFunction< value_type > &  f,
double  x 
)
inline

Definition at line 104 of file DerivativeTest.hpp.

: f_(f), x_(x)
{}

Member Function Documentation

template<typename value_type>
virtual unsigned int pwiz::frequency::DerivativeTest::ParametrizedFunctionSlice< value_type >::argumentCount ( ) const
inlinevirtual

Implements pwiz::frequency::DerivativeTest::VectorFunction< value_type >.

Definition at line 108 of file DerivativeTest.hpp.

{return f_.parameterCount();}
template<typename value_type>
virtual unsigned int pwiz::frequency::DerivativeTest::ParametrizedFunctionSlice< value_type >::valueCount ( ) const
inlinevirtual

Implements pwiz::frequency::DerivativeTest::VectorFunction< value_type >.

Definition at line 109 of file DerivativeTest.hpp.

{return 1;}
template<typename value_type>
virtual ublas::vector<value_type> pwiz::frequency::DerivativeTest::ParametrizedFunctionSlice< value_type >::operator() ( ublas::vector< double >  p) const
inlinevirtual

Implements pwiz::frequency::DerivativeTest::VectorFunction< value_type >.

Definition at line 111 of file DerivativeTest.hpp.

{
ublas::vector<value_type> result(1);
result(0) = f_(x_, p);
return result;
}

Member Data Documentation

template<typename value_type>
const ParametrizedFunction<value_type>& pwiz::frequency::DerivativeTest::ParametrizedFunctionSlice< value_type >::f_
private

Definition at line 119 of file DerivativeTest.hpp.

template<typename value_type>
double pwiz::frequency::DerivativeTest::ParametrizedFunctionSlice< value_type >::x_
private

Definition at line 120 of file DerivativeTest.hpp.


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