MathTL
 All Classes Functions Variables Typedefs Enumerations
Public Member Functions | Protected Attributes
MathTL::ProductFunction< DIM, VALUE > Class Template Reference

#include <function.h>

Inheritance diagram for MathTL::ProductFunction< DIM, VALUE >:
MathTL::Function< DIM, VALUE > MathTL::FunctionTime

List of all members.

Public Member Functions

 ProductFunction (const Function< DIM, VALUE > *f1, const Function< DIM, VALUE > *f2)
VALUE value (const Point< DIM, VALUE > &p, const unsigned int component=0) const
void vector_value (const Point< DIM, VALUE > &p, Vector< VALUE > &values) const

Protected Attributes

const Function< DIM, VALUE > * f1_
const Function< DIM, VALUE > * f2_

Detailed Description

template<unsigned int DIM, class VALUE = double>
class MathTL::ProductFunction< DIM, VALUE >

pointwise product of two (preferably scalar-valued) functions


Member Function Documentation

template<unsigned int DIM, class VALUE >
VALUE MathTL::ProductFunction< DIM, VALUE >::value ( const Point< DIM, VALUE > &  p,
const unsigned int  component = 0 
) const [inline, virtual]

evaluate (a component of) the function

Implements MathTL::Function< DIM, VALUE >.

template<unsigned int DIM, class VALUE >
void MathTL::ProductFunction< DIM, VALUE >::vector_value ( const Point< DIM, VALUE > &  p,
Vector< VALUE > &  values 
) const [inline, virtual]

evaluate the function (values should be of appropriate size)

Implements MathTL::Function< DIM, VALUE >.


The documentation for this class was generated from the following files:
 All Classes Functions Variables Typedefs Enumerations