|
MANUAL Code Files, Commands, Creating Scripts, Entering Expressions, Graphing Equations, Include Folder, Lists, Matrices, Strings, Symbols, Time Graphing ALGEBRA Apart, Coefficient, Degree, Denominator, Divisors, DivisorSigma, Eval, Expand, Factor, GCD, LCM, PolyDivide, PolyFit, PolyGCD, PolyLCM, PowerExpand, Quotient, Remainder, Sequence, SimplifyPoly, Solve, SolveSystem, Together BASIC CALCULUS D, Diff, DSolve, fDiff, FourierCos, FourierSeries, FourierSin, iDiff, iLaplace, Integrate, Laplace, Limit, NIntegrate, pDiff, Product, Series, Sum CAS Append, Call, Caps, Char, Choose, Clear, Command, Date, Delete, Extract, Function, Insert, IsList, IsMatrix, IsNumber, IsPoly, Left, Length, List, Matrix, Part, Replace, Reshape, Reverse, Right, Size, Sort, String, Value, Variables DATA ELEMENTARY Binomial, Ceil, Eulerian, Factorial, Floor, fPart, iPart, Mod, Multinomial, nCr, nPr, nRoot, Pochhammer, Round, Sign, Sqrt GRAPHING MATRIX Cholesky, coFactor, Det, Eigenvalues, Eigenvectors, Identity, Inverse, LUDecomposition, QR, RowReduce, SVD, Transpose NUMBER AlternatingSeries, Catalan, cFrac, Convergents, IsPrime, LegendreP, nFactors, nPrimes, Pi_Digits, Random PLOT BodePlot, ContourPlot, CylindricalPlot3D, FractalPlot, ImagePlot, ImplicitPlot, JuliaPlot, ListPlot, ListPlot3D, MultiPlot, MultiPlot3D, ParametricPlot, ParametricPlot3D, Plot, Plot3D, PolarPlot, SphericalPlot3D, VectorPlot, VectorPlot3D SCRIPTING Animate, CheckBox, Draw, DrawColor, DrawWindow, Else If, Error, If, Include, Loop, Message, Return, Scroll, Trace, While SPECIAL AiryAi, AiryBi, BesselI, BesselJ, BesselK, BesselY, Beta, Chi, Ci, Dawson, DiGamma, DiLog, Dirichlet_Eta, Dirichlet_Lambda, Ei, Erf, Erfc, FresnelCos, FresnelSin, Gamma, Gudermannian, HankelH1, HankelH2, Harmonic, Hypergeom_2F1, invGudermannian, KelvinBei, KelvinBer, KelvinKei, KelvinKer, LambertW, Li, LnGamma, PolyGamma, PolyLog, Psi, RK4, RK45, Shi, Si, Zeta SPECIAL POLYNOMIALS Bernoulli, ChebyshevT, ChebyshevU, Euler, Fibonacci, GegenbauerC, HermiteH, LaguerreL, LegendreQ, Lucas STATISTICAL BinomialCDF, BinomialPDF, ChiSquareCDF, ChiSquarePDF, Fcdf, Fpdf, GeoCDF, GeoPDF, InverseNormal, Max, Mean, Min, NormalCDF, NormalPDF, PoissonCDF, PoissonPDF, StandardDeviation, StudentTCDF, StudentTPDF, Variance TRIGONOMETRIC VECTOR CALCULUS |
Creating Scripts
Scripts are a series of commands, expressions, and functions which are used together to create a new function.
Create scripts by Right-clicking on the numbered entry bar or by pressing the Entry button on the button pad and then pressing the Script button on the button pad. Scripts have a Name and a list of Parameters that are used to identify them. SpaceTime supports overloaded scripts which are scripts with the same name but different set of parameters. Parameters are a list of variables separated by a comma that are used to pass values to the script. You can also set the type of value the parameter should be by using the following set of parameter identifiers. These identifies will produce an error if the value does not match the parameter type used to call the script. These identifiers are not case sensitive. Integer - Real integer Real - Real number Complex - Complex number Variable - Undefined variable or string Number - Real or complex number NumberList - List of real and/or complex numbers List - List of number or symbolic values Matrix - A matrix of numbers or symbolic values Variables - A list of undefined variables such as [a,b,c] You can also make parameters optional by setting the variable equation to a value. For examples, Parameters=x,n=1 will set the variable n equal to one if it is not given in the call to the script. All variables (including the parameters) used within a script are local variables meaning they are only available within the script. Scripts can return any type of calculation value from single values, lists, matrices, strings or even plot functions. Scripts are called just like built-in functions in SpaceTime by typing the script name followed by each parameter separated by a comma between parenthesis. You can have SpaceTime automatically include you scripts at start-up by placing your compiled Code Files in your Include Folder. Related Functions Include Shared Files
|