<commit_before>/** @file gsFunctionExpr.hpp

    @brief Provides implementation of FunctionExpr class.

    This file is part of the G+Smo library. 

    This Source Code Form is subject to the terms of the Mozilla Public
    License, v. 2.0. If a copy of the MPL was not distributed with this
    file, You can obtain one at http://mozilla.org/MPL/2.0/.
    
    Author(s): <NAME>
*/

#pragma once

#include <gsCore/gsLinearAlgebra.h>

/* ExprTk options */

//This define will enable printing of debug information to stdout during
//the compilation process.
//#define exprtk_enable_debugging

// This define will disable the ability for expressions to have comments.
// Expressions that have comments when parsed with a build that has this
// option, will result in a compilation failure.
#define exprtk_disable_comments

// This define will disable the loop-wise 'break' and 'continue'
// capabilities. Any expression that contains those keywords will result
// in a compilation failure.
#define exprtk_disable_break_continue

// This define will disable the short-circuit '&' (and) and '|' (or)
// operators
#define exprtk_disable_sc_andor

// This define will disable all enhanced features such as strength
// reduction and special function optimisations and expression specific
// type instantiations. This feature will reduce compilation times and
// binary sizes but will also result in massive performance degradation
// of expression evaluations.
#if !defined(NDEBUG) || defined(__MINGW32__)
#define exprtk_disable_enhanced_features
#endif

// This define will disable all string processing capabilities. Any
// expression that contains a string or string related syntax will result
// in a compilation failure.
#define exprtk_disable_string_capabilities

#define exprtk_disable_rtl_io_file
#define exprtk_disable_rtl_vecops

// The order in which header files are included is essential.
//
// It is important that all forward declaration file
// "exprtk_X_forward.hpp"" are included BEFORE the header file
// "exprtk.hpp" so that specializations for is_true(), is_false(),
// etcetera are not known for ALL types that should be supported. All
// adaptor files "exprtk_X_adaptor.hpp" have to be included AFTER the
// file "exprtk.hpp".

#if defined(GISMO_WITH_ADIFF)
#define DScalar gismo::ad:OB:DScalar2<real_t,-1>
#include <exprtk_ad_forward.hpp><commit_msg>fix typo<commit_after>/** @file gsFunctionExpr.hpp

    @brief Provides implementation of FunctionExpr class.

    This file is part of the G+Smo library. 

    This Source Code Form is subject to the terms of the Mozilla Public
    License, v. 2.0. If a copy of the MPL was not distributed with this
    file, You can obtain one at http://mozilla.org/MPL/2.0/.
    
    Author(s): <NAME>
*/

#pragma once

#include <gsCore/gsLinearAlgebra.h>

/* ExprTk options */

//This define will enable printing of debug information to stdout during
//the compilation process.
//#define exprtk_enable_debugging

// This define will disable the ability for expressions to have comments.
// Expressions that have comments when parsed with a build that has this
// option, will result in a compilation failure.
#define exprtk_disable_comments

// This define will disable the loop-wise 'break' and 'continue'
// capabilities. Any expression that contains those keywords will result
// in a compilation failure.
#define exprtk_disable_break_continue

// This define will disable the short-circuit '&' (and) and '|' (or)
// operators
#define exprtk_disable_sc_andor

// This define will disable all enhanced features such as strength
// reduction and special function optimisations and expression specific
// type instantiations. This feature will reduce compilation times and
// binary sizes but will also result in massive performance degradation
// of expression evaluations.
#if !defined(NDEBUG) || defined(__MINGW32__)
#define exprtk_disable_enhanced_features
#endif

// This define will disable all string processing capabilities. Any
// expression that contains a string or string related syntax will result
// in a compilation failure.
#define exprtk_disable_string_capabilities

#define exprtk_disable_rtl_io_file
#define exprtk_disable_rtl_vecops

// The order in which header files are included is essential.
//
// It is important that all forward declaration file
// "exprtk_X_forward.hpp"" are included BEFORE the header file
// "exprtk.hpp" so that specializations for is_true(), is_false(),
// etcetera are not known for ALL types that should be supported. All
// adaptor files "exprtk_X_adaptor.hpp" have to be included AFTER the
// file "exprtk.hpp".

#if defined(GISMO_WITH_ADIFF)
#define DScalar gismo::ad::DScalar2<real_t,-1>
#include <exprtk_ad_forward.hpp>
{'fraction_non_alphanumeric': 0.07524836186852674, 'fraction_numerical': 0.0033819488480236735, 'mean_word_length': 4.257777777777778, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4014175', 'n_tokens_mistral': 1310, 'n_tokens_neox': 1281, 'n_words': 562}