/*
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE  AGREEMENT ("AGREEMENT") LOCATED HERE:
https://www.infragistics.com/legal/license/igultimate-la
https://www.infragistics.com/legal/license/igultimate-eula
GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE:  you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
*/
import * as tslib_1 from "tslib";
import { UltraCalcFunctionTwoMatrixFunction } from "./UltraCalcFunctionTwoMatrixFunction";
import { ExcelCalcValue } from "./ExcelCalcValue";
import { markType } from "igniteui-angular-core";
/**
 * @hidden
 */
var UltraCalcFunctionPearson = /** @class */ (function (_super) {
    tslib_1.__extends(UltraCalcFunctionPearson, _super);
    function UltraCalcFunctionPearson() {
        return _super !== null && _super.apply(this, arguments) || this;
    }
    UltraCalcFunctionPearson.prototype.evaluate = function (a, b) {
        var c;
        var d = ((function () { var e = UltraCalcFunctionTwoMatrixFunction._al(a, c); c = e.p1; return e.ret; })());
        if (c != null) {
            return new ExcelCalcValue(c);
        }
        return new ExcelCalcValue(d);
    };
    UltraCalcFunctionPearson.prototype.get_name = function () {
        return "pearson";
    };
    Object.defineProperty(UltraCalcFunctionPearson.prototype, "name", {
        get: function () {
            return this.get_name();
        },
        enumerable: true,
        configurable: true
    });
    UltraCalcFunctionPearson.$t = markType(UltraCalcFunctionPearson, 'UltraCalcFunctionPearson', UltraCalcFunctionTwoMatrixFunction.$);
    return UltraCalcFunctionPearson;
}(UltraCalcFunctionTwoMatrixFunction));
export { UltraCalcFunctionPearson };
//# sourceMappingURL=UltraCalcFunctionPearson.js.map