-
Notifications
You must be signed in to change notification settings - Fork 0
@ralphschuler.random.strategies.LaggedFibonacci.strategy.LaggedFibonacci
@ralphschuler/random.strategies/LaggedFibonacci.strategy.LaggedFibonacci
-
↳
LaggedFibonacci
• new LaggedFibonacci(seed
, size?
, j?
, k?
): LaggedFibonacci
Name | Type | Default value |
---|---|---|
seed |
Seed |
undefined |
size |
number |
100 |
j |
number |
24 |
k |
number |
55 |
PseudoRandomNumberGenerator.constructor
packages/random/src/strategies/LaggedFibonacci.strategy.ts:12
• Private
index: number
packages/random/src/strategies/LaggedFibonacci.strategy.ts:10
• Private
j: number
packages/random/src/strategies/LaggedFibonacci.strategy.ts:7
• Private
k: number
packages/random/src/strategies/LaggedFibonacci.strategy.ts:8
• Private
s: Buffer
[]
packages/random/src/strategies/LaggedFibonacci.strategy.ts:9
• Protected
seed: Seed
PseudoRandomNumberGenerator.seed
packages/random/src/PseudoRandomNumberGenerator.ts:4
• Private
size: number
packages/random/src/strategies/LaggedFibonacci.strategy.ts:6
▸ initializeSeedArray(): void
void
packages/random/src/strategies/LaggedFibonacci.strategy.ts:26
▸ nextFloat(): number
number
PseudoRandomNumberGenerator.nextFloat
packages/random/src/strategies/LaggedFibonacci.strategy.ts:45
▸ nextInt(min
, max
): number
Name | Type |
---|---|
min |
number |
max |
number |
number
- @ralphschuler/ai-function-caller
- index
- types/AIFunction
- types/Message
- @ralphschuler/assert
- assert
- assert
- assert
- assert
- assert
- assert
- assert
- assert
- assert
- assert
- assert
- assert
- assert
- error
- index
- util
- @ralphschuler/better-map
- @ralphschuler/better-set
- @ralphschuler/binary-serializer
- @ralphschuler/bit-mask
- @ralphschuler/complex-compare
- @ralphschuler/i811n
- @ralphschuler/logger
- Color
- ColorMap
- Logger
- animations/BallonAnimation
- animations/BaseAnimation
- animations/BombAnimation
- animations/BouncingBallAnimation
- animations/ClockAnimation
- animations/DotsAnimation
- animations/HorizontalBarAnimation
- animations/PongAnimation
- animations/ProgressAnimation
- animations/ProgressBarAnimation
- animations/SpinnerAnimation
- animations/VerticalBarAnimation
- enums/LogLevel
- index
- interfaces/IColor
- interfaces/IMessage
- types/ColorName
- types/Colors
- @ralphschuler/lsystem
- @ralphschuler/mixin-class-factory
- @ralphschuler/neuronal-network
- @ralphschuler/parser-combinator
- index
- inputTypes
- parser
- unicode
- @ralphschuler/prom-metrics-decorator
- @ralphschuler/prom-metrics-parser
- @ralphschuler/random
- PseudoRandomItemSelector
- PseudoRandomNumberGenerator
- Seed
- index
- strategies
- strategy
- strategy
- strategy
- strategy
- strategy
- strategy
- types
- type
- type
- type
- @ralphschuler/safe-array
- @ralphschuler/slot-mashine
- @ralphschuler/state-store
- StateStore
- index
- type
- type
- type
- type
- type
- type
- type
- type
- util
- @ralphschuler/stats-tracker
- @ralphschuler/ts-error
- error
- index
- type
- util
- util
- util
- util
- @ralphschuler/webgl-sand-engine
- index
- pixel-renderer
- @ralphschuler/webgl-shader-factory
- "node:stream/consumers"
- "node:stream/promises"
- ChatCompletionSnapshot
- Choice
- Message
- ToolCall
- EventEmitter
- FormData
- OpenAI
- OpenAI
- Audio
- Speech
- Transcriptions
- Translations
- Beta
- Assistants
- Assistant
- AssistantCreateParams
- AssistantUpdateParams
- Files
- Chat
- Threads
- Messages
- Files
- MessageContentImageFile
- MessageContentText
- Text
- FileCitation
- FilePath
- Runs
- RequiredActionFunctionToolCall
- Run
- RequiredAction
- RunCreateParams
- RunSubmitToolOutputsParams
- Steps
- CodeToolCall
- CodeInterpreter
- Image
- FunctionToolCall
- MessageCreationStepDetails
- RunStep
- ThreadCreateAndRunParams
- Thread
- ThreadCreateParams
- Chat
- Completions
- ChatCompletion
- ChatCompletionAssistantMessageParam
- ChatCompletionChunk
- Choice
- Delta
- ToolCall
- ChatCompletionContentPartImage
- ChatCompletionCreateParams
- ChatCompletionMessage
- ChatCompletionMessageToolCall
- ChatCompletionNamedToolChoice
- Completions
- CompletionChoice
- CompletionCreateParams
- Edits
- Edit
- Embeddings
- CreateEmbeddingResponse
- Files
- FineTunes
- FineTune
- FineTuneCreateParams
- FineTuneListEventsParams
- FineTuning
- Jobs
- FineTuningJob
- JobCreateParams
- Images
- Models
- Moderations
- Moderation
- internal
- finished
- pipeline
- "node:stream/consumers"
- "node:stream/promises"
- EventEmitter
- internal
- finished
- pipeline
- Counter
- Gauge
- Histogram
- Summary