Skip to content

Interface: CosineShape

@kortexya/reasoninglayer


@kortexya/reasoninglayer / CosineShape

Defined in: src/types/values.ts:584

Cosine fuzzy membership function with compact support.

Membership: μ(x) = 0.5 * (1 + cos(2π/width * (x - center))) for |x - center| <= width/2, μ(x) = 0 otherwise.

Discriminator field is "kind", NOT "type".

center: number

Defined in: src/types/values.ts:586


kind: "Cosine"

Defined in: src/types/values.ts:585


width: number

Defined in: src/types/values.ts:587