UNPKG

mathjs

Version:

Math.js is an extensive math library for JavaScript and Node.js. It features a flexible expression parser with support for symbolic computation, comes with a large set of built-in functions and constants, and offers an integrated solution to work with dif

14 lines (13 loc) 421 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.kldivergenceDocs = void 0; var kldivergenceDocs = exports.kldivergenceDocs = { name: 'kldivergence', category: 'Probability', syntax: ['kldivergence(x, y)'], description: 'Calculate the Kullback-Leibler (KL) divergence between two distributions.', examples: ['kldivergence([0.7,0.5,0.4], [0.2,0.9,0.5])'], seealso: [] };