Skip to content
Snippets Groups Projects
Commit 08aca084 authored by Spiros Tsalikis's avatar Spiros Tsalikis
Browse files

Merge branch 'upstream-exprtk' into update-exprtk-0.0.3

# By ExprTk Upstream
* upstream-exprtk:
  exprtk 2025-03-11 (ae952e70)
parents 8a0d58a8 22a57829
No related branches found
No related tags found
No related merge requests found
set(headers set(headers
exprtk.hpp) include/exprtk.hpp)
vtk_module_install_headers( vtk_module_install_headers(
SUBDIR "vtkexprtk" SUBDIR "vtkexprtk"
......
/* MIT License
******************************************************************
* C++ Mathematical Expression Toolkit Library * Copyright (c) 1999-2024 Arash Partow
* *
* Author: Arash Partow (1999-2021) * https://www.partow.net/programming/exprtk/index.html
* URL: http://www.partow.net/programming/exprtk/index.html *
* * Permission is hereby granted, free of charge, to any person obtaining
* Copyright notice: * a copy of this software and associated documentation files (the
* Free use of the C++ Mathematical Expression Toolkit Library is * "Software"), to deal in the Software without restriction, including
* permitted under the guidelines and in accordance with the most * without limitation the rights to use, copy, modify, merge, publish,
* current version of the MIT License. * distribute, sublicense, and/or sell copies of the Software, and to
* http://www.opensource.org/licenses/MIT * permit persons to whom the Software is furnished to do so, subject to
* * the following conditions:
* Example expressions: *
* (00) (y + x / y) * (x - y / x) * The above copyright notice and this permission notice shall be
* (01) (x^2 / sin(2 * pi / y)) - x / 2 * included in all copies or substantial portions of the Software.
* (02) sqrt(1 - (x^2)) *
* (03) 1 - sin(2 * x) + cos(pi / y) * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
* (04) a * exp(2 * t) + c * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* (05) if(((x + 2) == 3) and ((y + 5) <= 9),1 + w, 2 / z) * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
* (06) (avg(x,y) <= x + y ? x - y : x * y) + 2 * pi / x * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
* (07) z := x + sin(2 * pi / y) * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
* (08) u := 2 * (pi * z) / (w := x + cos(y / pi)) * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
* (09) clamp(-1,sin(2 * pi * x) + cos(y / 2 * pi),+1) * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
* (10) inrange(-2,m,+2) == if(({-2 <= m} and [m <= +2]),1,0) *
* (11) (2sin(x)cos(2y)7 + 1) == (2 * sin(x) * cos(2*y) * 7 + 1) *
* (12) (x ilike 's*ri?g') and [y < (3 z^7 + w)] *
* *
******************************************************************
*/
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment