# SuanShu, a Java numerical and statistical library

com.numericalmethod.suanshu.analysis.function.special.beta

## Class MultinomialBetaFunction

• All Implemented Interfaces:
Function<Vector,Double>, RealScalarFunction

public class MultinomialBetaFunction
extends AbstractRealScalarFunction
A multinomial Beta function is defined as: $\frac{\prod_{i=1}^K \Gamma(\alpha_i)}{\Gamma\left(\sum_{i=1}^K \alpha_i\right)},\qquad\boldsymbol{\alpha}=(\alpha_1,\cdots,\alpha_K)$
See Also:
Wikipedia: Probability density function

• ### Nested classes/interfaces inherited from interface com.numericalmethod.suanshu.analysis.function.Function

Function.EvaluationException
• ### Constructor Summary

Constructors
Constructor and Description
MultinomialBetaFunction(int k)
Constructs an instance of a multinomial Beta function.
• ### Method Summary

All Methods
Modifier and Type Method and Description
Double evaluate(Vector a)
Evaluate the function f at x, where x is from the domain.
• ### Methods inherited from class com.numericalmethod.suanshu.analysis.function.rn2r1.AbstractRealScalarFunction

dimensionOfDomain, dimensionOfRange
• ### Methods inherited from class java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
• ### Constructor Detail

• #### MultinomialBetaFunction

public MultinomialBetaFunction(int k)
Constructs an instance of a multinomial Beta function.
Parameters:
k - the dimension of the function
• ### Method Detail

• #### evaluate

public Double evaluate(Vector a)
Description copied from interface: Function
Evaluate the function f at x, where x is from the domain.
Parameters:
a - x
Returns:
f(x)

Copyright © 2010-2018 Numerical Method Incorporation Limited. All Rights Reserved.