Difference between revisions of "Functions by category"

m
Line 1: Line 1:
Function list (to be categorized)
+
[[Category:Functions]](Back to [[Analytica Reference]])
 
 
[[Category:Functions]]
 
(Back to [[Analytica Reference]])
 
 
 
See also: [[:Category:Functions|functions by category]].
 
[[Functions to be organized]]
 
[[Rare and deprecated functions]]
 
  
 
== Language, control, and syntax ==
 
== Language, control, and syntax ==
Line 17: Line 10:
 
'''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]]
  
'''Comments:''' { commented text }
+
'''Comments:''' { comment }, /* comment */
 +
 
 +
'''Local variables:'''  [[Var..Do|VAR x]], [[Index..Do|Index i]];  [[MetaVar |MetaVar v]]; [[MetaIndex |MetaIndex i]]; [[Alias..Do|Alias a]], [[Local Index Operator::A.I]]
  
'''Local variables:''' [[Var..Do|VAR x]], [[Index..Do|Index i]];  [[MetaVar |MetaVar v]]; [[MetaIndex |MetaIndex i]]; [[Alias..Do|Alias a]], [[Local Index Operator::A.I]]  
+
'''Sensitivity analysis:''' [[Dydx]], [[Elasticity]], [[WhatIf]], [[WhatIfAll]]  
  
 
==Mathematics==
 
==Mathematics==
Line 30: Line 25:
 
'''[[Complex Numbers|Complex numbers]]:''' [[RealPart]], [[ImPart]], [[ComplexDegrees]], [[ComplexRadians]], [[Conj]]
 
'''[[Complex Numbers|Complex numbers]]:''' [[RealPart]], [[ImPart]], [[ComplexDegrees]], [[ComplexRadians]], [[Conj]]
  
==Statistics and Probability distributions==
+
'''Signal processing:''' [[FFT]], [[FFTInv]]
'''[[Statistics]]: '''[[Median]], [[Mean]],  [[SDeviation]], [[Variance]], [[Skewness]], [[Kurtosis]], [[Statistics]], [[Probability]], [[GetFract]],  [[ProbBands]], [[Correlation]], [[RankCorrel]], [[Regression]], [[Cdf]],  [[Pdf]]
 
 
 
'''Custom distributions: '''[[CumDist]], [[Fractiles]], [[ChanceDist]], [[ProbDist]], [[ProbTable]], [[Random]]
 
 
 
'''Discrete distributions: '''[[Bernoulli]], [[Binomial]], [[NegativeBinomial]], [[Combinations]],  [[Permutations]], [[Geometric]], [[HyperGeometric]], [[Certain]]
 
 
 
'''Continuous distribution functions: '''[[Uniform]], [[Normal]], [[LogNormal]], [[Beta]], [[Triangular]], [[Poisson]], [[Exponential]], [[Gamma]], [[StudentT]], [[Weibull]], [[Wilcoxon]], [[Logistic]], [[BesselJ]], [[BesselY]], [[BesselI]], [[BesselK]], [[ChiSquared]]
 
 
 
'''Modifying distributions: ''' [[Mid]], [[Sample]],  [[Truncate]], [[Shuffle]]
 
 
 
'''Functions for distributions: '''[[ProbWilcoxon]], [[CumWilcoxon]], [[CumWilcoxonInv]], [[BetaI]], [[BetaIInv]], [[GammaI]], [[GammaIInv]], [[CumNormal]], [[CumNormalInv]]
 
 
 
'''SIPs and SLURPs: '''[[SipDecode]], [[SipEncode]]
 
 
 
'''Distributions from function libraries'''
 
 
 
'''Distribution Variations.ana:''' [[Gamma_m_sd|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]]
 
  
=== Other types of data ===
+
==Dates, Text, Financial==
 
'''[[Date and Time Values|Date and Time]]:'''[[Date_Functions#MakeDate.28year.2C_month.2C_day.29| MakeDate]], [[DateAdd]], [[DatePart]], [[Today]], [[ParseDate]], [[IsDateTime]]
 
'''[[Date and Time Values|Date and Time]]:'''[[Date_Functions#MakeDate.28year.2C_month.2C_day.29| MakeDate]], [[DateAdd]], [[DatePart]], [[Today]], [[ParseDate]], [[IsDateTime]]
  
[[Text values|'''Text''']]''': '''[[SelectText]],  [[FindInText]], [[TextReplace]], [[SplitText]], [[JoinText]], [[Text Concatenation Operator: &|Text Concatenation: t1&<nowiki/>t2]], [[TextLength]], [[TextLowerCase]], [[TextUpperCase]], [[TextSentenceCase]], [[TextTrim]]
+
[[Text values|'''Text''']]''': '''[[SelectText]],  [[FindInText]], [[TextReplace]], [[SplitText]], [[JoinText]], [[Text Concatenation Operator: &|Text Concatenation: t1&t2]], [[TextLength]], [[TextLowerCase]], [[TextUpperCase]], [[TextSentenceCase]], [[TextTrim]]
 
 
'''[[:Category:Financial Functions|Financial]]''': [[Pv]], [[Fv]], [[Npv]], [[XNpv]], [[Rate]], [[NPer]], [[Pmt]], [[PPmt]], [[IPmt]], [[CumIPmt]], [[Irr]], [[XIrr]]<nowiki/>
 
  
 +
'''[[: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]]
 
'''Make an Index: '''[[Sequence]],  [[Sequence Operator|Sequence Operator: first..last]], [[SortIndex]], [[SplitText]], [[SubIndex]], [[Subset]], [[Unique]]
Line 81: Line 54:
 
'''Other array functions: '''[[Aggregate]]
 
'''Other array functions: '''[[Aggregate]]
  
'''Sensitivity analysis:''' [[Dydx]], [[Elasticity]], [[WhatIf]], [[WhatIfAll]]'''<nowiki/>'''
+
==Statistics and Probability distributions==
 +
'''[[Statistics]]: '''[[Median]], [[Mean]],  [[SDeviation]], [[Variance]], [[Skewness]], [[Kurtosis]], [[Statistics]], [[Probability]], [[GetFract]],  [[ProbBands]], [[Correlation]], [[RankCorrel]], [[Regression]], [[Cdf]],  [[Pdf]]
 +
 
 +
'''Custom distributions: '''[[CumDist]], [[Fractiles]], [[ChanceDist]], [[ProbDist]], [[ProbTable]], [[Random]]
 +
 
 +
'''Discrete distributions: '''[[Bernoulli]], [[Binomial]], [[NegativeBinomial]], [[Combinations]],  [[Permutations]], [[Geometric]], [[HyperGeometric]], [[Certain]]
 +
 
 +
'''Continuous distribution functions: '''[[Uniform]], [[Normal]], [[LogNormal]], [[Beta]], [[Triangular]], [[Poisson]], [[Exponential]], [[Gamma]], [[StudentT]], [[Weibull]], [[Wilcoxon]], [[Logistic]], [[BesselJ]], [[BesselY]], [[BesselI]], [[BesselK]], [[ChiSquared]]
 +
 
 +
'''Modifying distributions: ''' [[Mid]], [[Sample]], [[Truncate]], [[Shuffle]]
 +
 
 +
[[Erf]], [[ErfInv]]
 +
 
 +
'''Functions for distributions: '''[[ProbWilcoxon]], [[CumWilcoxon]], [[CumWilcoxonInv]], [[BetaI]], [[BetaIInv]], [[GammaI]], [[GammaIInv]], [[CumNormal]], [[CumNormalInv]]
 +
 
 +
'''SIPs and SLURPs: '''[[SipDecode]], [[SipEncode]]
 +
 
 +
'''Distributions from function libraries'''
 +
 
 +
'''Distribution Variations.ana:''' [[Gamma_m_sd|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]][[Text Concatenation Operator: &|<nowiki/>]]<nowiki/>'''<nowiki/>'''
  
 
== User interaction and dialog ==
 
== User interaction and dialog ==
Line 103: Line 99:
  
 
'''Database and ODBC access: '''[[SqlDriverInfo]], [[DbLabels]], [[DbQuery]], [[DbTable]], [[DbTablenames]], [[DbWrite]], [[MdxQuery]]
 
'''Database and ODBC access: '''[[SqlDriverInfo]], [[DbLabels]], [[DbQuery]], [[DbTable]], [[DbTablenames]], [[DbWrite]], [[MdxQuery]]
 +
 +
'''Run other applications:''' [[RunConsoleProcess]]
  
 
'''[[COM Integration|COM API]]: '''[[COMArray]], [[COMCallMethod]], [[COMCreateObject]], [[COMGetProperty]]
 
'''[[COM Integration|COM API]]: '''[[COMArray]], [[COMCallMethod]], [[COMCreateObject]], [[COMGetProperty]]
  
[[RunConsoleProcess]]
+
=== Special functions ===
 +
[[Dynamic]], [[Iterate]], [[FindPolynomialZeroes]]
  
=== Other functions ===
+
[[Objects and meta-inference:|'''Objects and meta-inference:''']] [[ListOfHandles]], [[Dereference Operator::#|Dereference Operator: #R]] [[VarTerm Functions#Function_IndexesOf| IndexesOf]], [[IndexNames]], [[VarTerm Functions#Function_GetVariableByName| GetVariableByName]], [[IndexValue]], [[AttribGet]]
[[Dynamic]]
 
  
 
'''[[Evaluation Modes|Evaluation]]:''' [[Mid]], [[Sample]], [[Evaluate]], [[EvaluateScript]], [[GetEvaluationContext]]
 
'''[[Evaluation Modes|Evaluation]]:''' [[Mid]], [[Sample]], [[Evaluate]], [[EvaluateScript]], [[GetEvaluationContext]]
Line 115: Line 113:
 
'''Error handling:''' [[Error]], [[IgnoreWarnings]], [[Try]], [[ReThrow]]
 
'''Error handling:''' [[Error]], [[IgnoreWarnings]], [[Try]], [[ReThrow]]
  
'''Miscellaneous: '''[[Discrete]], [[Dispatch]]  
+
'''Miscellaneous: '''[[Discrete]], [[Dispatch]], [[FunctionOf]]  
  
 
[[Domain Expressions|'''Domain expressions''']]: [[Continuous]], [[Discrete]], [[Integer]], [[Boolean]] and [[Discrete]]
 
[[Domain Expressions|'''Domain expressions''']]: [[Continuous]], [[Discrete]], [[Integer]], [[Boolean]] and [[Discrete]]
  
 
'''[[Domain Access Functions]]: '''[[Domain Access Functions|DomainType, DomainType, DomainLowerBound, DomainUpperBound, DomainIntegerGroup]]
 
'''[[Domain Access Functions]]: '''[[Domain Access Functions|DomainType, DomainType, DomainLowerBound, DomainUpperBound, DomainIntegerGroup]]
 
[[Objects and meta-inference:|'''Objects and meta-inference:''']] [[ListOfHandles]], [[Dereference Operator::#|Dereference Operator: #R]] [[VarTerm Functions#Function_IndexesOf| IndexesOf]], [[IndexNames]], [[VarTerm Functions#Function_GetVariableByName| GetVariableByName]], [[IndexValue]], [[AttribGet]]
 
  
 
=== Attributes ===
 
=== Attributes ===
Line 135: Line 131:
 
'''Internal:''' Diagwindow, ObjectWindow ..... [add the rest]
 
'''Internal:''' Diagwindow, ObjectWindow ..... [add the rest]
  
=== Special ===
+
'''System variables:''' Run, Time,''' '''[[AnalyticaLicenseInfo]], [[GetProcessInfo]], [[GetRegistryValue]], [[MemoryInUseBy]]
[[FunctionOf]]
 
 
 
'''Environment information: '''[[AnalyticaLicenseInfo]], [[GetProcessInfo]], [[GetRegistryValue]], [[MemoryInUseBy]]
 
  
 
== Function parameter qualifiers ==
 
== Function parameter qualifiers ==
Line 150: Line 143:
  
 
== Functions still to be categorized ==
 
== Functions still to be categorized ==
[[Erf]], [[ErfInv]]
 
 
[[FFT]], [[FFTInv]]
 
  
 
[[Frequency]]
 
[[Frequency]]
 
[[Iterate]], [[FindPolynomialZeroes]]
 
  
 
=== Functions libraries ===
 
=== Functions libraries ===
Line 171: Line 159:
 
'''Linked List Library.ana:''' [[LL_First]], [[LL_Length]], [[LL_Nth]], [[LL_Push]], [[LL_Remove_First]], [[LL_To_Array]], [[LL_to_RArray]]
 
'''Linked List Library.ana:''' [[LL_First]], [[LL_Length]], [[LL_Nth]], [[LL_Push]], [[LL_Remove_First]], [[LL_To_Array]], [[LL_to_RArray]]
  
=== Obsolete optimizer functions:  ===
+
=== Obsolete optimizer functions: [Move to a separate page of obsolete functions] ===
 
[[LpDefine]], [[LpFindIIS]], [[LpObjSa]], [[LpOpt]], [[LpRead]], [[LpReducedCost]], [[LpRhsSa]], [[LpShadow]], [[LpSlack]], [[LpSolution]], [[LpStatusNum]], [[LpStatusText]], [[LpWrite]], [[LpWriteIIS]], [[NlpDefine]]
 
[[LpDefine]], [[LpFindIIS]], [[LpObjSa]], [[LpOpt]], [[LpRead]], [[LpReducedCost]], [[LpRhsSa]], [[LpShadow]], [[LpSlack]], [[LpSolution]], [[LpStatusNum]], [[LpStatusText]], [[LpWrite]], [[LpWriteIIS]], [[NlpDefine]]
  
 
=== Other deprecated functions ===
 
=== Other deprecated functions ===
 
[[Join]]
 
[[Join]]

Revision as of 17:13, 9 February 2016

(Back to Analytica Reference)

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

Loops: While..Do, For..Do

Grouped expressions: (expr; expr), BEGIN expr; expr END

Comments: { comment }, /* comment */

Local variables: VAR x, Index i; MetaVar v; MetaIndex i; Alias a, Local Index Operator::A.I

Sensitivity analysis: Dydx, Elasticity, WhatIf, WhatIfAll

Mathematics

Basic math: Abs, Sign, Mod, Round, Ceil, Floor, Sqr, Sqrt, Exp, Ln, LogTen, Factorial, Degrees, Radians

Trigonometry: 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: Sequence, Sequence Operator: first..last, SortIndex, SplitText, SubIndex, Subset, Unique

Array reducing: Sum, Product, Average, Max Min, ArgMin_and_ArgMax, JoinText, Condmax, Condmin, Area

Subscript, selection, lookup: 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, GetFract, ProbBands, Correlation, RankCorrel, Regression, Cdf, Pdf

Custom distributions: CumDist, Fractiles, ChanceDist, ProbDist, ProbTable, Random

Discrete distributions: Bernoulli, Binomial, NegativeBinomial, Combinations, Permutations, Geometric, HyperGeometric, Certain

Continuous distribution functions: Uniform, Normal, LogNormal, Beta, Triangular, Poisson, Exponential, Gamma, StudentT, Weibull, Wilcoxon, Logistic, BesselJ, BesselY, BesselI, BesselK, ChiSquared

Modifying distributions: Mid, Sample, Truncate, Shuffle

Erf, ErfInv

Functions for distributions: ProbWilcoxon, CumWilcoxon, CumWilcoxonInv, BetaI, BetaIInv, GammaI, GammaIInv, CumNormal, CumNormalInv

SIPs and SLURPs: SipDecode, SipEncode

Distributions from function libraries

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 dialog

User input: Choice, Checkbox

Dialog boxes: MsgBox, Error, AskMsgText, AskMsgChoice, AskMsgNumber, ShowProgressBar

Types and type conversion

Convert type: Chr, Asc, NumberToText, ParseDate, ParseNumber

Get or test type: TypeOf, IsDateTime, IsHandle, IsNaN, IsNull, IsNumber, IsRealNumber, IsReference, IsText, IsUndef, IsResultComputed, IsNotSpecified

Optimizer functions

DefineOptimization, OptInfo, OptObjective, OptSolution, OptStatusNum, OptStatusText, OptEngineInfo, GroupedInteger, OptFindIIS, OptWriteIIS, OptGuess

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 API: COMArray, COMCallMethod, COMCreateObject, COMGetProperty

Special functions

Dynamic, Iterate, FindPolynomialZeroes

Objects and meta-inference: ListOfHandles, Dereference Operator: #R IndexesOf, IndexNames, GetVariableByName, IndexValue, AttribGet

Evaluation: Mid, Sample, Evaluate, EvaluateScript, GetEvaluationContext

Error handling: Error, IgnoreWarnings, Try, ReThrow

Miscellaneous: Discrete, Dispatch, FunctionOf

Domain expressions: ContinuousDiscreteIntegerBoolean 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 [add the rest]

Internal: Diagwindow, ObjectWindow ..... [add the rest]

System variables: Run, Time, AnalyticaLicenseInfo, GetProcessInfo, GetRegistryValue, MemoryInUseBy

Function parameter qualifiers

Type: Boolean, Integer, Index, Variable, Handle

Number of parameters: Optional, Repeated

Array qualifiers: Scalar, Vector, Array

[Add all qualifiers and links to them]

Functions still to be categorized

Frequency

Functions 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 optimizer functions: [Move to a separate page of obsolete functions]

LpDefine, LpFindIIS, LpObjSa, LpOpt, LpRead, LpReducedCost, LpRhsSa, LpShadow, LpSlack, LpSolution, LpStatusNum, LpStatusText, LpWrite, LpWriteIIS, NlpDefine

Other deprecated functions

Join

Comments


You are not allowed to post comments.