codac 2.0.0
Loading...
Searching...
No Matches
codac2_analytic_componentwise.h
Go to the documentation of this file.
1
9
10#pragma once
11
12#include <functional>
13
15
16namespace codac2
17{
24 using ScalarExprTransform = std::function<ScalarExpr(const ScalarExpr&)>;
25
33 AnalyticFunction<ScalarType>
34 map_scalar_entries(const AnalyticFunction<ScalarType>& f, const ScalarExprTransform& transform);
35
45 AnalyticFunction<VectorType>
46 map_scalar_entries(const AnalyticFunction<VectorType>& f, const ScalarExprTransform& transform);
47
57 AnalyticFunction<MatrixType>
58 map_scalar_entries(const AnalyticFunction<MatrixType>& f, const ScalarExprTransform& transform);
59}
Definition codac2_OctaSym.h:21
AnalyticFunction< ScalarType > map_scalar_entries(const AnalyticFunction< ScalarType > &f, const ScalarExprTransform &transform)
Applies a scalar transformation to a scalar analytic function.
std::function< ScalarExpr(const ScalarExpr &)> ScalarExprTransform
Scalar transformation applied to the entries of an analytic function output.
Definition codac2_analytic_componentwise.h:24