Click or drag to resize
Accord.NET (logo)

SingletonFunctionGetMembership Method

Calculate membership of a given value to the singleton function.

Namespace:  Accord.Fuzzy
Assembly:  Accord.Fuzzy (in Accord.Fuzzy.dll) Version: 3.6.0
Syntax
public float GetMembership(
	float x
)
Request Example View Source

Parameters

x
Type: SystemSingle
Value which membership will to be calculated.

Return Value

Type: Single
Degree of membership {0,1} since singletons do not admit memberships different from 0 and 1.

Implements

IMembershipFunctionGetMembership(Single)
See Also