LogarithmPlotter/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/js/mathlib.js

42 lines
1.4 KiB
JavaScript
Raw Normal View History

/**
* LogarithmPlotter - 2D plotter software to make BODE plots, sequences and distribution functions.
* Copyright (C) 2022 Ad5001
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
.pragma library
2022-03-05 16:35:58 +00:00
.import "math/expression.js" as Expr
.import "math/sequence.js" as Seq
2022-03-05 16:35:58 +00:00
.import "math/domain.js" as Dom
2022-03-05 16:35:58 +00:00
var Expression = Expr.Expression
var executeExpression = Expr.executeExpression
var Sequence = Seq.Sequence
2020-12-26 18:35:38 +00:00
// Domains
2022-03-05 16:35:58 +00:00
var Domain = Dom.Domain
var EmptySet = Dom.EmptySet
var Range = Dom.Range
var SpecialDomain = Dom.SpecialDomain
var DomainSet = Dom.DomainSet
var UnionDomain = Dom.UnionDomain
var IntersectionDomain = Dom.IntersectionDomain
var MinusDomain = Dom.MinusDomain
var parseDomain = Dom.parseDomain
var parseDomainSimple = Dom.parseDomainSimple