Typedef
Static Public Summary | ||
public |
Setting of calculation result of division. |
|
public |
BigDecimal type argument. |
|
public |
KBigDecimalLocalInputData: number | boolean | string | BigDecimal | BigInteger | {toBigDecimal: function} | {doubleValue: number} | {toString: function} BigDecimal type argument.(local)
|
|
public |
KBigDecimalScaleData: {integer: BigInteger, scale: ?number, context: ?MathContext} ScaleData for argument of BigDecimal. |
|
public |
BigInteger type argument. |
|
public |
KComplexInputData: Complex | number | boolean | string | Array<number> | {_re: number, _im: number} | {doubleValue: number} | {toString: function} Complex type argument. |
|
public |
KFractionInputData: Fraction | BigInteger | BigDecimal | number | boolean | string | Array<KBigIntegerInputData> | {numerator: KBigIntegerInputData, denominator: KBigIntegerInputData} | {doubleValue: number} | {toString: function} Fraction type argument. |
|
public |
Matrix type argument. |
|
public |
Collection of calculation settings for matrix. |
|
public |
Analysis of variance. |
|
public |
Output for multiple regression analysis |
|
public |
Regression table. |
|
public |
Regression table data. |
|
public |
Settings for multiple regression analysis |
|
public |
Vector state |
|
public |
|
|
public |
Output for principal component analysis. |
|
public |
Settings for principal component analysis. |
|
public |
Setting random numbers |
|
public |
Collection of calculation settings for matrix. |
|
public |
Collection of calculation settings for matrix. |
Static Public
public KBigDecimalDivideType: Object source
Setting of calculation result of division.
Properties:
Name | Type | Attribute | Description |
scale | number |
|
Scale of rounding. |
roundingMode | RoundingModeEntity |
|
Rounding mode. |
context | MathContext |
|
Configuration.(scale and roundingMode are unnecessary.) |
public KBigDecimalInputData: KBigDecimalLocalInputData source
BigDecimal type argument.
- KBigDecimalLocalInputData
- Array<KBigDecimalLocalInputData|MathContext>
- KBigDecimalScaleData
Initialization can be performed as follows.
- 1200, "1200", "12e2", "1.2e3"
- When initializing with array. [ integer, [scale = 0], [context=default]].
- When initializing with object. { integer, [scale = 0], [context=default]}.
Description of the settings are as follows, you can also omitted.
- The "scale" is an integer scale factor.
- The "context" is used to normalize the created floating point.
If "context" is not specified, the "default_context" set for the class is used. The "context" is the used when no environment settings are specified during calculation.
public KBigDecimalLocalInputData: number | boolean | string | BigDecimal | BigInteger | {toBigDecimal: function} | {doubleValue: number} | {toString: function} source
BigDecimal type argument.(local)
- number
- boolean
- string
- BigDecimal
- BigInteger
- {toBigDecimal:function}
- {doubleValue:number}
- {toString:function}
public KBigDecimalScaleData: {integer: BigInteger, scale: ?number, context: ?MathContext} source
ScaleData for argument of BigDecimal.
- {integer:BigInteger,scale:?number,context:?MathContext}
public KBigIntegerInputData: BigInteger source
BigInteger type argument.
- BigInteger
- number
- string
- Array<string|number>
- {toBigInteger:function}
- {intValue:number}
- {toString:function}
Initialization can be performed as follows.
- 1200, "1200", "12e2", "1.2e3", ["1200", 10]
- "0xff", ["ff", 16]
- "0o01234567", ["01234567", 8]
- "0b0110101", ["0110101", 2]
public KComplexInputData: Complex | number | boolean | string | Array<number> | {_re: number, _im: number} | {doubleValue: number} | {toString: function} source
Complex type argument.
- Complex
- number
- boolean
- string
- Array<number>
- {_re:number,_im:number}
- {doubleValue:number}
- {toString:function}
Initialization can be performed as follows.
- 1200, "1200", "12e2", "1.2e3"
- "3 + 4i", "4j + 3", [3, 4].
public KFractionInputData: Fraction | BigInteger | BigDecimal | number | boolean | string | Array<KBigIntegerInputData> | {numerator: KBigIntegerInputData, denominator: KBigIntegerInputData} | {doubleValue: number} | {toString: function} source
Fraction type argument.
- Fraction
- BigInteger
- BigDecimal
- number
- boolean
- string
- Array<KBigIntegerInputData>
- {numerator:KBigIntegerInputData,denominator:KBigIntegerInputData}
- {doubleValue:number}
- {toString:function}
Initialization can be performed as follows.
- 10, "10", "10/1", "10.0/1.0", ["10", "1"], [10, 1]
- 0.01, "0.01", "0.1e-1", "1/100", [1, 100], [2, 200], ["2", "200"]
- "1/3", "0.[3]", "0.(3)", "0.'3'", "0."3"", [1, 3], [2, 6]
- "3.555(123)" = 3.555123123123..., "147982 / 41625"
public KMatrixInputData: Complex source
Matrix type argument.
- Matrix
- Complex
- number
- string
- Array<string|number|Complex|Matrix>
- Array<Array<string|number|Complex|Matrix>>
- {doubleValue:number}
- {toString:function}
Initialization can be performed as follows.
- 10, "10", "3 + 4j", "[ 1 ]", "[1, 2, 3]", "[1 2 3]", [1, 2, 3],
- [[1, 2], [3, 4]], "[1 2; 3 4]", "[1+2i 3+4i]",
- "[1:10]", "[1:2:3]" (MATLAB / Octave / Scilab compatible).
public KMatrixSettings: Object source
Collection of calculation settings for matrix.
- Available options vary depending on the method.
public KMultipleRegressionAnalysisAnova: Object source
Analysis of variance. ANOVA.
Properties:
Name | Type | Attribute | Description |
regression | KMultipleRegressionAnalysisVectorState | regression. |
|
residual | KMultipleRegressionAnalysisVectorState | residual error. |
|
total | KMultipleRegressionAnalysisVectorState | total. |
|
F | number | F value. Dispersion ratio (F0) |
|
significance_F | number | Significance F. Test with F distribution with q, n-q-1 degrees of freedom.(Probability of error.) |
public KMultipleRegressionAnalysisOutput: Object source
Output for multiple regression analysis
Properties:
Name | Type | Attribute | Description |
q | number | number of explanatory variables. |
|
n | number | number of samples. |
|
predicted_values | number[][] | predicted values. (column vector) |
|
sY | number | Variance of predicted values of target variable. |
|
sy | number | Variance of measured values of target variable. |
|
multiple_R | number | Multiple R. Multiple correlation coefficient. |
|
R_square | number | R Square. Coefficient of determination. |
|
adjusted_R_square | number | Adjusted R Square. Adjusted coefficient of determination. |
|
ANOVA | KMultipleRegressionAnalysisAnova | analysis of variance. |
|
Ve | number | Unbiased variance of residuals. (Ve) |
|
standard_error | number | Standard error. (SE) |
|
AIC | number | Akaike's Information Criterion. (AIC) |
|
regression_table | KMultipleRegressionAnalysisPartialRegression | Regression table. |
public KMultipleRegressionAnalysisPartialRegression: Object source
Regression table.
Properties:
Name | Type | Attribute | Description |
intercept | KMultipleRegressionAnalysisPartialRegressionData | Intercept. |
|
parameters | KMultipleRegressionAnalysisPartialRegressionData[] | Parameters. |
public KMultipleRegressionAnalysisSettings: Object source
Settings for multiple regression analysis
Properties:
Name | Type | Attribute | Description |
samples | KMatrixInputData | explanatory variable. (Each column is a parameters and each row is a samples.) |
|
target | KMatrixInputData | response variable. / actual values. (column vector) |
|
is_standardised | boolean |
|
Use standardized partial regression coefficients. |
public KPrincipalComponent: Object source
Properties:
Name | Type | Attribute | Description |
eigen_value | number | Contribution. Eigen value. Variance of principal components. |
|
factor_loading | number[] | Factor loading. Eigen vector. Principal component coefficients. |
|
factor_loading_contribution_rate | number[] | Factor loading contribution rate. |
|
cumulative_contribution_ratio | number | Cumulative contribution ratio. |
|
contribution_ratio | number | Contribution ratio. |
|
score | number[] | Principal component score. |
public KPrincipalComponentAnalysisOutput: Object source
Output for principal component analysis.
Properties:
Name | Type | Attribute | Description |
principal_component | KPrincipalComponent[] | Principal component. |
public KPrincipalComponentAnalysisSettings: Object source
Settings for principal component analysis.
Properties:
Name | Type | Attribute | Description |
samples | KMatrixInputData | explanatory variable. (Each column is a parameters and each row is a samples.) |
|
is_unbiased | boolean |
|
Use unbiased variance when calculating variance from samples. |
is_standardised | boolean |
|
Use standardized explanatory variables. Use the correlation matrix instead of the covariance matrix. |
public KSignalSettings: Object source
Collection of calculation settings for matrix.
- Available options vary depending on the method.