Difference between revisions of "Functions by category"
m (Added links for Run, Samplesize, Time and made System variables a subhead) |
m (Added links especially for subheads) |
||
Line 14: | Line 14: | ||
'''Comments:''' { comment }, /* comment */ | '''Comments:''' { comment }, /* comment */ | ||
− | '''Local | + | '''Local variable declarations:''' [[Var..Do |VAR x]], [[Index..Do |Index i]]; [[MetaVar |MetaVar v]]; [[MetaIndex |MetaIndex i]]; [[LocalAlias..Do |LocalAlias a]], [[Local Index Operator::A.I]] |
==== Mathematics ==== | ==== Mathematics ==== | ||
− | '''Basic math:''' [[Abs]], [[Sign]], [[Mod]], [[Round]], [[Ceil]], [[Floor]], [[Sqr]], [[Sqrt]], [[Exp]], [[Ln]], [[LogTen]], [[Factorial]], [[Degrees]], [[Radians]] | + | '''[[Math functions|Basic math]]:''' [[Abs]], [[Sign]], [[Mod]], [[Round]], [[Ceil]], [[Floor]], [[Sqr]], [[Sqrt]], [[Exp]], [[Ln]], [[LogTen]], [[Factorial]], [[Degrees]], [[Radians]] |
− | ''' | + | '''[[Trig Functions]]: '''[[Trig Functions| Sin, Cos, Tan]], [[Trig Functions| Sinh, Cosh, Tanh]], [[ArcSin]], [[ArcCos]], [[ArcTan]], [[ArcTan2]]; [[ArcSinH]], [[ArcCosH]], [[ArcTanH]] |
− | '''[[Set Functions | + | '''[[Set Functions]]: '''[[SetContains]], [[SetDifference]], [[SetEvaluationFlag]], [[SetIntersection]], [[SetUnion]] |
− | '''[[Complex Numbers | + | '''[[Complex Numbers]]:''' [[RealPart]], [[ImPart]], [[ComplexDegrees]], [[ComplexRadians]], [[Conj]] |
'''Signal processing:''' [[FFT]], [[FFTInv]] | '''Signal processing:''' [[FFT]], [[FFTInv]] | ||
Line 33: | Line 33: | ||
'''[[:Category:Financial Functions |Financial]]''': [[Pv]], [[Fv]], [[Npv]], [[XNpv]], [[Rate]], [[NPer]], [[Pmt]], [[PPmt]], [[IPmt]], [[CumIPmt]], [[Irr]], [[XIrr]] | '''[[:Category:Financial Functions |Financial]]''': [[Pv]], [[Fv]], [[Npv]], [[XNpv]], [[Rate]], [[NPer]], [[Pmt]], [[PPmt]], [[IPmt]], [[CumIPmt]], [[Irr]], [[XIrr]] | ||
+ | |||
==== Array functions ==== | ==== Array functions ==== | ||
− | '''Make an Index: '''[[Sequence]], [[Sequence Operator |Sequence Operator: first..last]], [[SortIndex]], [[SplitText]], [[SubIndex]], [[Subset]], [[Unique]] | + | '''[[Functions that create indexes|Make an Index]]: ''' [x, y], [[Sequence]], [[Sequence Operator |Sequence Operator: first..last]], [[SortIndex]], [[SplitText]], [[SubIndex]], [[Subset]], [[Unique]], [[Copyindex]] |
'''[[:Category:Array-reducing functions |Array reducing]]: '''[[Sum]], [[Product]], [[Average]],[[Functions_Min_and_Max || Max]] [[Functions_Min_and_Max | Min]], [[ArgMin_and_ArgMax]], [[JoinText]], [[Functions_Min_and_Max | Condmax]], [[Functions_Min_and_Max | Condmin]], [[Area]] | '''[[:Category:Array-reducing functions |Array reducing]]: '''[[Sum]], [[Product]], [[Average]],[[Functions_Min_and_Max || Max]] [[Functions_Min_and_Max | Min]], [[ArgMin_and_ArgMax]], [[JoinText]], [[Functions_Min_and_Max | Condmax]], [[Functions_Min_and_Max | Condmin]], [[Area]] | ||
− | '''Subscript, selection, lookup: '''[[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]] |
'''Array mapping: '''[[Cumulate]], [[Uncumulate]], [[CumProduct]], [[Normalize]], [[Integrate]], [[Rank]], [[Sort]], [[Aggregate]] | '''Array mapping: '''[[Cumulate]], [[Uncumulate]], [[CumProduct]], [[Normalize]], [[Integrate]], [[Rank]], [[Sort]], [[Aggregate]] | ||
Line 44: | Line 45: | ||
'''Tables and functions to make arrays: '''[[Array]], [[Table]], [[SubTable]], [[MultiTable]], [[DetermTable]], [[ProbTable]], [[AddIndex]] | '''Tables and functions to make arrays: '''[[Array]], [[Table]], [[SubTable]], [[MultiTable]], [[DetermTable]], [[ProbTable]], [[AddIndex]] | ||
− | '''Interpolation: '''[[StepInterp]], [[LinearInterp]], [[CubicInterp]], [[MonoCubicInterp]] | + | '''[[Interpolation functions|Interpolation]]: '''[[StepInterp]], [[LinearInterp]], [[CubicInterp]], [[MonoCubicInterp]] |
− | '''Matrix: '''[[MatrixMultiply]], [[Transpose]], [[Invert]], [[Determinant]], [[Decompose]], [[EigenDecomp]], [[SingularValueDecomp]] | + | '''[[Matrix functions|Matrix]]: '''[[MatrixMultiply]], [[Transpose]], [[Invert]], [[Determinant]], [[Decompose]], [[EigenDecomp]], [[SingularValueDecomp]] |
'''Information about arrays: '''[[Size]], [[IndexesOf]], [[IndexNames]], [[MemoryInUseBy]] | '''Information about arrays: '''[[Size]], [[IndexesOf]], [[IndexNames]], [[MemoryInUseBy]] | ||
Line 57: | Line 58: | ||
'''[[Statistical functions|Statistics]]: '''[[Median]], [[Mean]], [[SDeviation]], [[Variance]], [[Skewness]], [[Kurtosis]], [[Statistics]], [[Probability]], [[Frequency]], [[GetFract]], [[ProbBands]], [[Correlation]], [[RankCorrel]], [[Regression]], [[Cdf]], [[Pdf]] | '''[[Statistical functions|Statistics]]: '''[[Median]], [[Mean]], [[SDeviation]], [[Variance]], [[Skewness]], [[Kurtosis]], [[Statistics]], [[Probability]], [[Frequency]], [[GetFract]], [[ProbBands]], [[Correlation]], [[RankCorrel]], [[Regression]], [[Cdf]], [[Pdf]] | ||
− | '''Custom distributions: '''[[CumDist]], [[Fractiles]] | + | '''[[Custom continuous distributions]]: '''[[CumDist]], [ProbDist]], [[Fractiles]] |
+ | |||
+ | '''[[Custom discrete probabilities]]:''' [[ChanceDist]], [[ProbTable]], [[Determtable]], [[Random]] | ||
− | ''' | + | '''[[Parametric discrete distributions]]: '''[[Bernoulli]], [[Binomial]], [[NegativeBinomial]], [[Combinations]], [[Permutations]], [[Geometric]], [[HyperGeometric]], [[Certain]] |
− | ''' | + | '''[[Parametric continuous distributions]]: '''[[Uniform]], [[Normal]], [[LogNormal]], [[Beta]], [[Triangular]], [[Poisson]], [[Exponential]], [[Gamma]], [[StudentT]], [[Weibull]], [[Wilcoxon]], [[Logistic]], [[BesselJ]], [[BesselY]], [[BesselI]], [[BesselK]], [[ChiSquared]] |
− | ''' | + | '''[[Special probabilistic functions|Special and modifying distributions]]: ''' [[Mid]], [[Sample]], [[Truncate]], [[Shuffle]], [[Certain]], [[Random]] |
− | '''[[Statistics, Sensitivity, and Uncertainty Analysis|Sensitivity analysis]]:''' [[Dydx]], [[Elasticity]], [[WhatIf]], [[WhatIfAll]] , [[Tornado charts]], [[X-Y plots]], [[Scatter plots]] | + | '''[[Statistics, Sensitivity, and Uncertainty Analysis|Sensitivity analysis]]:''' [[Dydx]], [[Elasticity]], [[Correlation]], [[Rankcorrelation]], [[Regression]], [[WhatIf]], [[WhatIfAll]] , [[Tornado charts]], [[X-Y plots]], [[Scatter plots]] |
'''Functions for distributions: '''[[ProbWilcoxon]], [[CumWilcoxon]], [[CumWilcoxonInv]], [[BetaI]], [[BetaIInv]], [[GammaI]], [[GammaIInv]], [[CumNormal]], [[CumNormalInv]], [[Erf]], [[ErfInv]] | '''Functions for distributions: '''[[ProbWilcoxon]], [[CumWilcoxon]], [[CumWilcoxonInv]], [[BetaI]], [[BetaIInv]], [[GammaI]], [[GammaIInv]], [[CumNormal]], [[CumNormalInv]], [[Erf]], [[ErfInv]] | ||
Line 85: | Line 88: | ||
'''Convert type: '''[[Chr]], [[Asc]], [[NumberToText]], [[ParseDate]], [[ParseNumber]] | '''Convert type: '''[[Chr]], [[Asc]], [[NumberToText]], [[ParseDate]], [[ParseNumber]] | ||
− | ''' | + | '''[[Data Type Functions]]:''' [[Data_Type_Functions#Function_TypeOf | TypeOf]], [[IsDateTime]], [[IsHandle]], [[Data_Type_Functions#Function_IsNaN | IsNaN]], [[IsNull]],[[Data_Type_Functions#Function_IsNumber | IsNumber]], [[IsRealNumber]],[[Data_Type_Functions#Function_IsReference | IsReference]],[[Data_Type_Functions#Function_IsText | IsText]], [[Data_Type_Functions#Function_IsUndef | IsUndef]], [[IsResultComputed]], [[Data_Type_Functions#Function_IsNotSpecified |IsNotSpecified]] |
==== Optimizer functions ==== | ==== Optimizer functions ==== | ||
Line 101: | Line 104: | ||
'''Run other applications:''' [[RunConsoleProcess]] | '''Run other applications:''' [[RunConsoleProcess]] | ||
− | '''[[COM Integration | + | '''[[COM Integration]]: '''[[COMArray]], [[COMCallMethod]], [[COMCreateObject]], [[COMGetProperty]] |
==== Special functions ==== | ==== Special functions ==== | ||
Line 109: | Line 112: | ||
'''[[Evaluation Modes|Evaluation]]:''' [[Mid]], [[Sample]], [[Evaluate]], [[EvaluateScript]], [[GetEvaluationContext]] | '''[[Evaluation Modes|Evaluation]]:''' [[Mid]], [[Sample]], [[Evaluate]], [[EvaluateScript]], [[GetEvaluationContext]] | ||
− | '''Error handling:''' [[Error]], [[IgnoreWarnings]], [[Try]], [[ReThrow]] | + | '''Error handling:''' [[Error]], [[IgnoreWarnings]], [[Try]], [[Try|ReThrow]], [[Error Message Types]] |
'''Miscellaneous: '' [[Discrete]], [[Dispatch]], [[FunctionOf]], [[Dynamic]], [[Iterate]], [[FindPolynomialZeroes]] | '''Miscellaneous: '' [[Discrete]], [[Dispatch]], [[FunctionOf]], [[Dynamic]], [[Iterate]], [[FindPolynomialZeroes]] |
Revision as of 18:33, 26 March 2016
Language, control, and syntax
Operators: Arithmetic: + - * / ^ Comparison: = < > <> <= >= Logical: And, Or, Not; Text concatenation: &; Subscript and slice: x[I=x], x[@I=x] , Assignment :=, Reference \, Dereference #,
Conditional constructs: If-Then-Else, Ifall-Then-Else, Ifonly-Then-Else, If0, Ifpos
Grouped expressions: (expr; expr), BEGIN expr; expr END
Comments: { comment }, /* comment */
Local variable declarations: VAR x, Index i; MetaVar v; MetaIndex i; LocalAlias a, Local Index Operator::A.I
Mathematics
Basic math: Abs, Sign, Mod, Round, Ceil, Floor, Sqr, Sqrt, Exp, Ln, LogTen, Factorial, Degrees, Radians
Trig Functions: Sin, Cos, Tan, Sinh, Cosh, Tanh, ArcSin, ArcCos, ArcTan, ArcTan2; ArcSinH, ArcCosH, ArcTanH
Set Functions: SetContains, SetDifference, SetEvaluationFlag, SetIntersection, SetUnion
Complex Numbers: RealPart, ImPart, ComplexDegrees, ComplexRadians, Conj
Signal processing: FFT, FFTInv
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, SortIndex, SplitText, SubIndex, Subset, Unique, Copyindex
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 mapping: Cumulate, Uncumulate, CumProduct, Normalize, Integrate, Rank, Sort, Aggregate
Tables and functions to make arrays: Array, Table, SubTable, MultiTable, DetermTable, ProbTable, AddIndex
Interpolation: StepInterp, LinearInterp, CubicInterp, MonoCubicInterp
Matrix: MatrixMultiply, Transpose, Invert, Determinant, Decompose, EigenDecomp, SingularValueDecomp
Information about arrays: Size, IndexesOf, IndexNames, 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, Combinations, Permutations, Geometric, HyperGeometric, Certain
Parametric continuous distributions: Uniform, Normal, LogNormal, Beta, Triangular, Poisson, Exponential, Gamma, StudentT, Weibull, Wilcoxon, Logistic, BesselJ, BesselY, BesselI, BesselK, ChiSquared
Special and modifying distributions: Mid, Sample, Truncate, Shuffle, Certain, Random
Sensitivity analysis: Dydx, Elasticity, Correlation, Rankcorrelation, 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, [Choice menus and Checkboxes in an edit table|Choices & Checkboxes in an Edit table]]
Dialog boxes: MsgBox, Error, AskMsgText, AskMsgChoice, AskMsgNumber, ShowProgressBar
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
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
User editable for variables: Class, Identifier, Title, Units, Description, Definition, Domain, MetaIndex, User-defined attributes
User editable for Functions: Parameters
User editable for Models, Modules, and Libraries: Author, Savedate, Filename
Computed: Value, Probvalue, Inputs, Outputs
Internal: Diagwindow, ObjectWindow.
System variables
Common: Run, SampleSize, Time
System information: 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, Extra 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
Enable comment auto-refresher