Difference between revisions of "Functions by category"
m |
(Updated local declaration options to Local, LocalAlias, LocalIndex. Added some missing. Corrected a few misclassified functions.) |
||
Line 9: | Line 9: | ||
'''[[IF a THEN b ELSE c|Conditionals]]:''' [[If-Then-Else]], [[Ifall-Then-Else]], [[Ifonly-Then-Else]], [[If0]], [[Ifpos]], [[Functions Min and Max#CondMin(X, cond, I), CondMax(X, cond, I)|CondMin]], [[Functions Min and Max#CondMin(X, cond, I), CondMax(X, cond, I)|CondMax]] | '''[[IF a THEN b ELSE c|Conditionals]]:''' [[If-Then-Else]], [[Ifall-Then-Else]], [[Ifonly-Then-Else]], [[If0]], [[Ifpos]], [[Functions Min and Max#CondMin(X, cond, I), CondMax(X, cond, I)|CondMin]], [[Functions Min and Max#CondMin(X, cond, I), CondMax(X, cond, I)|CondMax]] | ||
− | |||
− | |||
'''Grouped expressions:''' [[Begin-End for Grouping Expressions |(expr; expr)]], [[Begin-End for Grouping Expressions |BEGIN expr; expr END]] | '''Grouped expressions:''' [[Begin-End for Grouping Expressions |(expr; expr)]], [[Begin-End for Grouping Expressions |BEGIN expr; expr END]] | ||
Line 16: | Line 14: | ||
'''Comments:''' { comment }, /* comment */ | '''Comments:''' { comment }, /* comment */ | ||
− | '''Local variable declarations:''' [[ | + | '''Local variable declarations:''' [[Local Values|Local..Do]], [[LocalAlias..Do]], [[LocalIndex..Do|LocalIndex i]], [[Local Index Operator::A.I]] |
+ | |||
+ | '''iteration Loops:''' [[While..Do]], [[For..Do]] | ||
=== Mathematics === | === Mathematics === | ||
− | '''[[Math functions|Basic math]]:''' [[Abs]], [[Sign]], [[Mod]], [[Round]], [[Ceil]], [[Floor]], [[Sqr]], [[Sqrt]], [[Exp]], [[Ln]], [[LogTen]], [[ | + | '''[[Math functions|Basic math]]:''' [[Abs]], [[Sign]], [[Mod]], [[Round]], [[Ceil]], [[Floor]], [[Sqr]], [[Sqrt]], [[Exp]], [[Ln]], [[LogTen]], [[Degrees]], [[Radians]], [[Sigmoid]] |
'''[[Trig Functions]]: '''[[Trig Functions| Sin, Cos, Tan]], [[Trig Functions| Sinh, Cosh, Tanh]], [[ArcSin]], [[ArcCos]], [[ArcTan]], [[ArcTan2]]; [[ArcSinH]], [[ArcCosH]], [[ArcTanH]] | '''[[Trig Functions]]: '''[[Trig Functions| Sin, Cos, Tan]], [[Trig Functions| Sinh, Cosh, Tanh]], [[ArcSin]], [[ArcCos]], [[ArcTan]], [[ArcTan2]]; [[ArcSinH]], [[ArcCosH]], [[ArcTanH]] | ||
Line 25: | Line 25: | ||
'''[[Set Functions]]: '''[[SetContains]], [[SetDifference]], [[SetEvaluationFlag]], [[SetIntersection]], [[SetUnion]] | '''[[Set Functions]]: '''[[SetContains]], [[SetDifference]], [[SetEvaluationFlag]], [[SetIntersection]], [[SetUnion]] | ||
− | '''[[Complex Numbers]]:''' [[RealPart]], [[ImPart]], [[ComplexDegrees]], [[ComplexRadians]], [[Conj]] | + | '''[[Complex Numbers]]:''' [[Abs]], [[RealPart]], [[ImPart]], [[ComplexDegrees]], [[ComplexRadians]], [[Conj]] |
'''Signal processing:''' [[FFT]], [[FFTInv]] | '''Signal processing:''' [[FFT]], [[FFTInv]] | ||
+ | |||
+ | '''Combinatorics:''' [[Combinations]], [[Permutations]], [[Factorial]], [[Partitions]] | ||
+ | |||
+ | '''Bit functions:''' [[BitAnd]], [[BitCount]], [[BitNot]], [[BitOr]], [[BitShift]], [[BitXOr]]. | ||
+ | |||
+ | '''Bessel and related functions:''' [[Airy_Ai]], [[Airy_Ai_deriv]], [[Airy_Ai_zero]], [[Airy_Bi]], [[Airy_Bi_deriv]], [[Airy_Bi_zero]], [[BesselJ]], [[BesselY]], [[BesselI]], [[BesselK]], [[BesselJzero]], [[BesselYzero]] | ||
=== Dates, Text, Financial=== | === Dates, Text, Financial=== | ||
Line 45: | Line 51: | ||
'''[[Subscript and slice of a subarray|Subscript, selection, lookup]]: ''' [[Subscript and slice of a subarray|x[i=j]]], [[Slice]], [[Subscript]], [[Subscript/Slice Operator|Slice Operator: [@I=n]]], [[StepInterp]] | '''[[Subscript and slice of a subarray|Subscript, selection, lookup]]: ''' [[Subscript and slice of a subarray|x[i=j]]], [[Slice]], [[Subscript]], [[Subscript/Slice Operator|Slice Operator: [@I=n]]], [[StepInterp]] | ||
− | '''[[Transforming functions|Array transforming]]: '''[[Cumulate]], [[Uncumulate]], [[CumProduct]], [[Normalize]], [[Integrate]], [[Rank]], [[Sort]], [[Aggregate]] | + | '''[[Transforming functions|Array transforming]]: '''[[Cumulate]], [[Uncumulate]], [[CumProduct]], [[CumMax]], [[CumMin]], [[Normalize]], [[Integrate]], [[Rank]], [[Sort]], [[Aggregate]] |
'''[[Interpolation functions|Interpolation]]: '''[[StepInterp]], [[LinearInterp]], [[CubicInterp]], [[MonoCubicInterp]] | '''[[Interpolation functions|Interpolation]]: '''[[StepInterp]], [[LinearInterp]], [[CubicInterp]], [[MonoCubicInterp]] | ||
Line 51: | Line 57: | ||
'''[[Matrix functions|Matrix]]: '''[[MatrixMultiply]], [[Transpose]], [[Invert]], [[Determinant]], [[Decompose]], [[EigenDecomp]], [[SingularValueDecomp]], [[VectorCrossProduct]] | '''[[Matrix functions|Matrix]]: '''[[MatrixMultiply]], [[Transpose]], [[Invert]], [[Determinant]], [[Decompose]], [[EigenDecomp]], [[SingularValueDecomp]], [[VectorCrossProduct]] | ||
− | '''Information about arrays: '''[[Size]], [[IndexesOf]], [[IndexLength]], [[IndexNames]], [[MemoryInUseBy]] | + | '''Information about arrays: '''[[Size]], [[IndexesOf]], [[IndexLength]], [[IndexNames]], [[HasImplicitDimension]], [[HasIndex]], [[MemoryInUseBy]] |
'''[[Relational tables and multiD arrays|Relational tables]]: '''[[MdTable]], [[MdArrayToTable]] | '''[[Relational tables and multiD arrays|Relational tables]]: '''[[MdTable]], [[MdArrayToTable]] | ||
Line 64: | Line 70: | ||
'''[[Custom discrete probabilities]]:''' [[ChanceDist]], [[ProbTable]], [[Determtable]], [[Random]] | '''[[Custom discrete probabilities]]:''' [[ChanceDist]], [[ProbTable]], [[Determtable]], [[Random]] | ||
− | '''[[Parametric discrete distributions]]: '''[[Bernoulli]], [[Binomial]], [[NegativeBinomial]], [[ | + | '''[[Parametric discrete distributions]]: '''[[Bernoulli]], [[Binomial]], [[NegativeBinomial]], [[Poisson]], [[Geometric]], [[HyperGeometric]], [[Certain]] |
− | '''[[Parametric continuous distributions]]: '''[[Uniform]], [[Normal]], [[LogNormal]], [[Beta]], [[Triangular | + | '''[[Parametric continuous distributions]]: '''[[Uniform]], [[Normal]], [[LogNormal]], [[Beta]], [[Triangular]], [[Exponential]], [[Gamma]], [[StudentT]], [[Weibull]], [[Wilcoxon]], [[Logistic]], [[ChiSquared]] |
'''[[Special probabilistic functions|Special and modifying distributions]]: ''' [[Mid]], [[Certain]], [[Sample]], [[Truncate]], [[Shuffle]], [[Random]] | '''[[Special probabilistic functions|Special and modifying distributions]]: ''' [[Mid]], [[Certain]], [[Sample]], [[Truncate]], [[Shuffle]], [[Random]] | ||
Line 109: | Line 115: | ||
'''[[COM Integration]]: '''[[COMArray]], [[COMCallMethod]], [[COMCreateObject]], [[COMGetProperty]] | '''[[COM Integration]]: '''[[COMArray]], [[COMCallMethod]], [[COMCreateObject]], [[COMGetProperty]] | ||
+ | |||
+ | '''[[:category:File_system_functions|File System Functions]]:''' [[CurrentDataFolder]], [[CurrentModelFolder]], [[FileFullPath]], [[FilePathPart]], [[FileSystemCopy]], [[FileSystemDelete]], [[FileSystemListing]], [[FileSystemMove]], [[FileSystemNewFolder]]. | ||
=== Special functions === | === Special functions === |
Revision as of 16:18, 17 August 2021
Use this list of functions, operators, attributes, etc. organized by category to help you find something when you don't know its name. If you know its name, use the Search box (top left) or Alphabetical Function List and Category: Functions
Language, control, and syntax
Operators: Arithmetic: + - * / ^ Comparison: < > <> <= >= Logical: And, Or, Not; Text concatenation &, Subscript and slice: x[I=x], x[@I=x] , IdentPred, Assignment :=, Reference \ and Dereference #
Conditionals: If-Then-Else, Ifall-Then-Else, Ifonly-Then-Else, If0, Ifpos, CondMin, CondMax
Grouped expressions: (expr; expr), BEGIN expr; expr END
Comments: { comment }, /* comment */
Local variable declarations: Local..Do, LocalAlias..Do, LocalIndex i, Local Index Operator::A.I
iteration Loops: While..Do, For..Do
Mathematics
Basic math: Abs, Sign, Mod, Round, Ceil, Floor, Sqr, Sqrt, Exp, Ln, LogTen, Degrees, Radians, Sigmoid
Trig Functions: Sin, Cos, Tan, Sinh, Cosh, Tanh, ArcSin, ArcCos, ArcTan, ArcTan2; ArcSinH, ArcCosH, ArcTanH
Set Functions: SetContains, SetDifference, SetEvaluationFlag, SetIntersection, SetUnion
Complex Numbers: Abs, RealPart, ImPart, ComplexDegrees, ComplexRadians, Conj
Signal processing: FFT, FFTInv
Combinatorics: Combinations, Permutations, Factorial, Partitions
Bit functions: BitAnd, BitCount, BitNot, BitOr, BitShift, BitXOr.
Bessel and related functions: Airy_Ai, Airy_Ai_deriv, Airy_Ai_zero, Airy_Bi, Airy_Bi_deriv, Airy_Bi_zero, BesselJ, BesselY, BesselI, BesselK, BesselJzero, BesselYzero
Dates, Text, Financial
Date and Time: MakeDate, DateAdd, DatePart, Today, ParseDate, IsDateTime
Text: SelectText, FindInText, TextReplace, SplitText, JoinText, Text Concatenation: t1&t2, TextLength, TextLowerCase, TextUpperCase, TextSentenceCase, TextTrim
Financial: Pv, Fv, Npv, XNpv, Rate, NPer, Pmt, PPmt, IPmt, CumIPmt, Irr, XIrr
Array functions
Make an Index: [x, y], Sequence, Sequence Operator: first..last, Concat, SortIndex, SplitText, SubIndex, Subset, Unique, Copyindex
Functions that create arrays: Array, Table, SubTable, MultiTable, DetermTable, ProbTable, AddIndex
Array reducing: Sum, Product, Average,| Max Min, ArgMin_and_ArgMax, JoinText, Condmax, Condmin, Area
Subscript, selection, lookup: x[i=j], Slice, Subscript, Slice Operator: [@I=n], StepInterp
Array transforming: Cumulate, Uncumulate, CumProduct, CumMax, CumMin, Normalize, Integrate, Rank, Sort, Aggregate
Interpolation: StepInterp, LinearInterp, CubicInterp, MonoCubicInterp
Matrix: MatrixMultiply, Transpose, Invert, Determinant, Decompose, EigenDecomp, SingularValueDecomp, VectorCrossProduct
Information about arrays: Size, IndexesOf, IndexLength, IndexNames, HasImplicitDimension, HasIndex, MemoryInUseBy
Relational tables: MdTable, MdArrayToTable
Other array functions: Aggregate
Statistics and Probability distributions
Statistics: Median, Mean, SDeviation, Variance, Skewness, Kurtosis, Statistics, Probability, Frequency, GetFract, ProbBands, Correlation, RankCorrel, Regression, Cdf, Pdf
Custom continuous distributions: CumDist, ProbDist, Fractiles
Custom discrete probabilities: ChanceDist, ProbTable, Determtable, Random
Parametric discrete distributions: Bernoulli, Binomial, NegativeBinomial, Poisson, Geometric, HyperGeometric, Certain
Parametric continuous distributions: Uniform, Normal, LogNormal, Beta, Triangular, Exponential, Gamma, StudentT, Weibull, Wilcoxon, Logistic, ChiSquared
Special and modifying distributions: Mid, Certain, Sample, Truncate, Shuffle, Random
Sensitivity analysis: Dydx, Elasticity, Importance analysis, Correlation, RankCorrel, Regression, WhatIf, WhatIfAll , Tornado charts, X-Y plots, Scatter plots
Functions for distributions: ProbWilcoxon, CumWilcoxon, CumWilcoxonInv, BetaI, BetaIInv, GammaI, GammaIInv, CumNormal, CumNormalInv, Erf, ErfInv
SIPs and SLURPs: SipDecode, SipEncode
Distribution Variations.ana: Gamma_m_sd, GammaFn, GammaI, GammaIInv, InverseGaussian, InvertedWishart, Lorenzian, NegBinomial
Multivariate Distributions.ana: Gaussian, Multinomial, MultiNormal, MultiUniform, Normal_additive_gro, Normal_compound_gro, Normal_correl, Normal_serial_correl
Distribution Densities.ana: LDens_InvertedWishart, LDens_Wishart, LGamma
User interaction and dialogs
User input: Choice, Checkbox, Choices & Checkboxes in an Edit table
Dialog Functions: MsgBox, Error, AskMsgText, AskMsgChoice, AskMsgNumber, ShowProgressBar
Controlling the interface: ChangeNodeVisibility, CloseWindow, ShowWindow
Types and type conversion
Convert type: Chr, Asc, NumberToText, ParseDate, ParseNumber
Data Type Functions: TypeOf, IsDateTime, IsHandle, IsNaN, IsNull, IsNumber, IsRealNumber, IsReference, IsText, IsUndef, IsResultComputed, IsNotSpecified
Optimizer functions
Optimizer formulation: DefineOptimization, OptSolution, OptInfo, OptObjective, GroupedInteger, OptGuess, OptEngineInfo
Optimizer diagnostics: OptStatusNum, OptStatusText, OptFindIIS, OptWriteIIS, OptObjectiveSa, OptRead, OptWrite, OptReducedCost, OptRhsSa, OptScalarToConstraint, OptScalarToDecision, OptShadow, OptSlack
Integration with other applications
Reading and writing data: ReadFromUrl, OpenURL, ReadImageFile, ReadTextFile, WriteTextFile, ShowPdfFile
Spreadsheet access: SpreadsheetOpen, SpreadsheetCell, SpreadsheetRange, SpreadsheetSetCell, SpreadsheetSetRange,SpreadsheetSave, SpreadsheetInfo, SpreadsheetSetInfo
Database and ODBC access: SqlDriverInfo, DbLabels, DbQuery, DbTable, DbTablenames, DbWrite, MdxQuery
Run other applications: RunConsoleProcess
COM Integration: COMArray, COMCallMethod, COMCreateObject, COMGetProperty
File System Functions: CurrentDataFolder, CurrentModelFolder, FileFullPath, FilePathPart, FileSystemCopy, FileSystemDelete, FileSystemListing, FileSystemMove, FileSystemNewFolder.
Special functions
Meta-inference: Handle, HandleFromIdentifier, ListOfHandles, FindObjects, Dereference Operator: #R IndexesOf, IndexNames, GetVariableByName, IndexValue, AttribGet
Evaluation: Mid, Sample, Evaluate, EvaluateScript, GetEvaluationContext
Error handling: Error, IgnoreWarnings, Try, ReThrow, Error Message Types
Miscellaneous: Discrete, Dispatch, FunctionOf, Dynamic, Iterate, FindPolynomialZeroes
Domain Expressions: Continuous, Discrete, Integer, Boolean and Discrete
Domain Access Functions: DomainType, DomainType, DomainLowerBound, DomainUpperBound, DomainIntegerGroup
Attributes
Editable attributes for variables: Class, Identifier, Title, Units, Description, Definition, Check, Domain, MetaIndex, User-defined attributes
User editable for Functions: Parameters, Recursive
User editable for Models, Modules, and Libraries: Author, Savedate, Filename
Computed attributes: Value, Probvalue, Inputs, Outputs
Internal: Diagwindow, ObjectWindow.
System variables
Common: Run, SampleSize, Time
System info: AnalyticaLicenseInfo, GetProcessInfo, GetRegistryValue, MemoryInUseBy
Function parameter qualifiers
Data types: Number, Text, Positive, NonNegative, Ascending, Descending, Reference, Handle, Coerce <type>
Object class: Index, Variable, Object
Optional and repeated parameters: Optional, Default, Repeated parameters (...)
Arrays: Atom or scalar, Vector, Array, Reduced
Libraries
Standard libraries, Additional libraries, GCD function library.ana: GCD
Optimization Functions.ana: GoalSeek, Gradient
Financial library.ana: Implied_volatility_c, Implied_volatility_p
ODBC Library.ana: InsertRecSql,
Generalized Regression.ana: InvLogit, Logistic_Regression, Logit
Linked List Library.ana: LL_First, LL_Length, LL_Nth, LL_Push, LL_Remove_First, LL_To_Array, LL_to_RArray
Obsolete and deprecated functions
These still work and you might find them in older models, but have been replaced by equivalents that are more general or with more consistent naming.
Enable comment auto-refresher