Numworks Epsilon  1.4.1
Graphing Calculator Operating System
Poincare::ApproximationEngine Class Reference

#include <approximation_engine.h>

Public Types

template<typename T >
using ComplexCompute = Complex< T >(*)(const Complex< T >, Expression::AngleUnit angleUnit)
 
template<typename T >
using ComplexAndComplexReduction = Complex< T >(*)(const Complex< T >, const Complex< T >)
 
template<typename T >
using ComplexAndMatrixReduction = Matrix *(*)(const Complex< T > *c, const Matrix *m)
 
template<typename T >
using MatrixAndComplexReduction = Matrix *(*)(const Matrix *m, const Complex< T > *c)
 
template<typename T >
using MatrixAndMatrixReduction = Matrix *(*)(const Matrix *m, const Matrix *n)
 

Static Public Member Functions

template<typename T >
static Expressionmap (const Expression *expression, Context &context, Expression::AngleUnit angleUnit, ComplexCompute< T > compute)
 
template<typename T >
static ExpressionmapReduce (const Expression *expression, Context &context, Expression::AngleUnit angleUnit, ComplexAndComplexReduction< T > computeOnComplexes, ComplexAndMatrixReduction< T > computeOnComplexAndMatrix, MatrixAndComplexReduction< T > computeOnMatrixAndComplex, MatrixAndMatrixReduction< T > computeOnMatrices)
 
template<typename T >
static MatrixelementWiseOnComplexAndComplexMatrix (const Complex< T > *c, const Matrix *n, ComplexAndComplexReduction< T > computeOnComplexes)
 
template<typename T >
static MatrixelementWiseOnComplexMatrices (const Matrix *m, const Matrix *n, ComplexAndComplexReduction< T > computeOnComplexes)
 

Detailed Description

Definition at line 10 of file approximation_engine.h.

Member Typedef Documentation

◆ ComplexAndComplexReduction

template<typename T >
using Poincare::ApproximationEngine::ComplexAndComplexReduction = Complex<T>(*)(const Complex<T>, const Complex<T>)

Definition at line 15 of file approximation_engine.h.

◆ ComplexAndMatrixReduction

template<typename T >
using Poincare::ApproximationEngine::ComplexAndMatrixReduction = Matrix * (*)(const Complex<T> * c, const Matrix * m)

Definition at line 16 of file approximation_engine.h.

◆ ComplexCompute

template<typename T >
using Poincare::ApproximationEngine::ComplexCompute = Complex<T>(*)(const Complex<T>, Expression::AngleUnit angleUnit)

Definition at line 12 of file approximation_engine.h.

◆ MatrixAndComplexReduction

template<typename T >
using Poincare::ApproximationEngine::MatrixAndComplexReduction = Matrix * (*)(const Matrix * m, const Complex<T> * c)

Definition at line 17 of file approximation_engine.h.

◆ MatrixAndMatrixReduction

template<typename T >
using Poincare::ApproximationEngine::MatrixAndMatrixReduction = Matrix * (*)(const Matrix * m, const Matrix * n)

Definition at line 18 of file approximation_engine.h.

Member Function Documentation

◆ elementWiseOnComplexAndComplexMatrix()

template<typename T >
template Poincare::Matrix * Poincare::ApproximationEngine::elementWiseOnComplexAndComplexMatrix< double > ( const Complex< T > *  c,
const Matrix n,
ComplexAndComplexReduction< T computeOnComplexes 
)
static

Definition at line 68 of file approximation_engine.cpp.

◆ elementWiseOnComplexMatrices()

template<typename T >
template Poincare::Matrix * Poincare::ApproximationEngine::elementWiseOnComplexMatrices< double > ( const Matrix m,
const Matrix n,
ComplexAndComplexReduction< T computeOnComplexes 
)
static

Definition at line 79 of file approximation_engine.cpp.

◆ map()

template<typename T >
template Poincare::Expression * Poincare::ApproximationEngine::map ( const Expression expression,
Context context,
Expression::AngleUnit  angleUnit,
ComplexCompute< T compute 
)
static

Definition at line 10 of file approximation_engine.cpp.

◆ mapReduce()

template<typename T >
template Poincare::Expression * Poincare::ApproximationEngine::mapReduce ( const Expression expression,
Context context,
Expression::AngleUnit  angleUnit,
ComplexAndComplexReduction< T computeOnComplexes,
ComplexAndMatrixReduction< T computeOnComplexAndMatrix,
MatrixAndComplexReduction< T computeOnMatrixAndComplex,
MatrixAndMatrixReduction< T computeOnMatrices 
)
static

Definition at line 32 of file approximation_engine.cpp.


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