• APIブラウザ
  • 設計思想
Show / Hide Table of Contents
  • ExapisSOP
    • AppWorker
    • ContextEventArgs
    • HostRunner
    • IConfiguration
    • IContext
    • IPipeline
    • IProcess
    • IProcess<TParam, TResult>
    • IService
    • TerminationEventArgs
    • TerminationException
    • TerminationReason
    • UnhandledErrorEventArgs
    • VersionInfo
  • ExapisSOP.Binary
    • DataValue
  • ExapisSOP.Core
    • ConfigurationExtensions
    • ContextExtensions
    • CustomPipelineProcess<TParam, TResult>
    • ImmutablePipeline
    • Pipeline
    • PipelineExtensions
    • PipelineExtensions.ExceptionHandler
    • PipelineExtensions.ExceptionHandler<TParam, TResult>
    • PipelineExtensions.LoggingProcess
    • PipelineExtensions.NextProcessFunc
    • PipelineExtensions.ProcessFunc
    • PipelineExtensions.ProcessFunc<TParam, TResult>
    • PipelineExtensions.ProcessFuncWrapper
    • PipelineExtensions.ProcessFuncWrapper<TParam, TResult>
  • ExapisSOP.Globalization
    • EnglishErrorReportBuilder
    • JapaneseErrorReportBuilder
  • ExapisSOP.IO
    • CachedStream
    • DefaultPath
    • FileSystemServiceOptions
    • FileSystemServiceOptionsExtensions
    • IFileSystemService
    • InvalidPathFormatException
    • IPathList
    • Paths
    • PathString
    • PathStringFormatter
  • ExapisSOP.IO.Logging
    • ConsoleLogger
    • DefaultErrorDetailProvider
    • ErrorReportBuilder
    • ExceptionRecord
    • HResultDetailProvider
    • ICustomErrorDetailProvider
    • ILogFile
    • ILoggable
    • ILogger
    • ILoggingSystemService
    • LogData
    • LogFile
    • LogFileType
    • Logger
    • LoggerExtension
    • LoggingSystemServiceOptions
    • LoggingSystemServiceOptions.CreateLogFile
    • LogLevel
    • LongMessageRecord
    • MultipleLogger
    • OutputStreamLogger
  • ExapisSOP.IO.Settings
    • CustomSettings
    • DataStore
    • DefaultSettings
    • EnvironmentSettings
    • ISettingsSystemService
    • OptimizedSettings
    • SettingsSystemServiceOptions
    • SettingsSystemServiceOptions.ConfirmVersionInfo
    • SettingsSystemServiceOptions.GetVersionInfo
  • ExapisSOP.IO.Settings.CommandLine
    • CommandLineConverter
    • CommandLineParser
    • CommandLineServiceOptions
    • CommandLineServiceOptions.CreateConverterMappingTable
    • FileNameList
    • IArgumentConverter
    • IArgumentConverter<T>
    • ICommandLineService
    • ManualAttribute
    • Option
    • Option.Value
    • OptionAttribute
    • Switch
    • SwitchAttribute
  • ExapisSOP.NativeWrapper
    • INativeCaller
    • WinAPI
  • ExapisSOP.NativeWrapper.Windows
    • Kernel32
  • ExapisSOP.Numerics
    • CryptionRandom
    • IRandom
    • LinearCongruentialGenerator
    • RandomExtension
    • SerializableRandom
    • SystemRandom
    • Xorshift
    • Xorshift2
  • ExapisSOP.Text
    • SimpleEncoding
    • SimpleString
  • ExapisSOP.Utils
    • ArrayExtensions
    • ConsoleUtil
    • DisposableBase
    • IAwaitable<T>
    • IAwaiter<T>
    • IUtilityService
    • SecureStringExtensions
    • SerializationInfoExtensions
    • StringExtensions
    • StringUtil
    • UtilityConfigurationExtensions
    • UtilityContextExtensions

LinearCongruentialGenerator クラス

線形合同法を利用した疑似乱数生成器を表します。

継承
System.Object
SerializableRandom
LinearCongruentialGenerator
実装
IRandom
System.Runtime.Serialization.ISerializable
継承されたメンバー
SerializableRandom.NextBytes(Int32)
SerializableRandom.NextDouble()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
名前空間: ExapisSOP.Numerics
アセンブリ: ExapisSOP.Utils.dll
構文
[Serializable]
public class LinearCongruentialGenerator : SerializableRandom, IRandom, ISerializable
脚注

Wikipedia: https://en.wikipedia.org/wiki/Linear_congruential_generator

コンストラクタ 一覧

| 編集/提案 ソースを表示

LinearCongruentialGenerator()

型'LinearCongruentialGenerator'の新しいインスタンスを生成します。

宣言
public LinearCongruentialGenerator()
| 編集/提案 ソースを表示

LinearCongruentialGenerator(Int64)

型'LinearCongruentialGenerator'の新しいインスタンスを生成します。

宣言
public LinearCongruentialGenerator(long seed)
引数
型 名前 説明
System.Int64 seed

シード値です。

| 編集/提案 ソースを表示

LinearCongruentialGenerator(SerializationInfo, StreamingContext)

型'Xorshift'を逆直列化します。

宣言
protected LinearCongruentialGenerator(SerializationInfo info, StreamingContext context)
引数
型 名前 説明
System.Runtime.Serialization.SerializationInfo info

直列化されたデータを含むオブジェクトです。

System.Runtime.Serialization.StreamingContext context

ストリームの転送先または転送元に関する文脈情報です。

プロパティ 一覧

| 編集/提案 ソースを表示

CanGetSeed

このクラスはシード値を取得する事ができる為、常にtrueを返します。

宣言
public override bool CanGetSeed { get; protected set; }
プロパティ値
型 説明
System.Boolean
上書き
SerializableRandom.CanGetSeed
| 編集/提案 ソースを表示

Seed

シード値を取得します。

宣言
public override long Seed { get; protected set; }
プロパティ値
型 説明
System.Int64
上書き
SerializableRandom.Seed

メソッド 一覧

| 編集/提案 ソースを表示

GetObjectData(SerializationInfo, StreamingContext)

現在のオブジェクトを直列化します。

宣言
public override void GetObjectData(SerializationInfo info, StreamingContext context)
引数
型 名前 説明
System.Runtime.Serialization.SerializationInfo info

直列化されたデータを含むオブジェクトです。

System.Runtime.Serialization.StreamingContext context

ストリームの転送先または転送元に関する文脈情報です。

上書き
SerializableRandom.GetObjectData(SerializationInfo, StreamingContext)
| 編集/提案 ソースを表示

NextSInt64()

64ビット符号付き整数値を生成します。

宣言
public override long NextSInt64()
戻り値
型 説明
System.Int64

結果の分からない値を返します。

上書き
SerializableRandom.NextSInt64()

実装

IRandom
System.Runtime.Serialization.ISerializable

拡張関数 一覧

RandomExtension.NextUInt8(IRandom)
RandomExtension.NextUInt16(IRandom)
RandomExtension.NextUInt32(IRandom)
RandomExtension.NextUInt64(IRandom)
RandomExtension.NextSInt8(IRandom)
RandomExtension.NextSInt16(IRandom)
RandomExtension.NextSInt32(IRandom)
RandomExtension.NextSingle(IRandom)
RandomExtension.NextDecimal(IRandom)
RandomExtension.NextUInt8(IRandom, Byte)
RandomExtension.NextUInt16(IRandom, UInt16)
RandomExtension.NextUInt32(IRandom, UInt32)
RandomExtension.NextUInt64(IRandom, UInt64)
RandomExtension.NextSInt8(IRandom, SByte)
RandomExtension.NextSInt16(IRandom, Int16)
RandomExtension.NextSInt32(IRandom, Int32)
RandomExtension.NextSInt64(IRandom, Int64)
RandomExtension.NextSingle(IRandom, Single)
RandomExtension.NextDouble(IRandom, Double)
RandomExtension.NextDecimal(IRandom, Decimal)
RandomExtension.NextUInt8(IRandom, Byte, Byte)
RandomExtension.NextUInt16(IRandom, UInt16, UInt16)
RandomExtension.NextUInt32(IRandom, UInt32, UInt32)
RandomExtension.NextUInt64(IRandom, UInt64, UInt64)
RandomExtension.NextSInt8(IRandom, SByte, SByte)
RandomExtension.NextSInt16(IRandom, Int16, Int16)
RandomExtension.NextSInt32(IRandom, Int32, Int32)
RandomExtension.NextSInt64(IRandom, Int64, Int64)
RandomExtension.NextSingle(IRandom, Single, Single)
RandomExtension.NextDouble(IRandom, Double, Double)
RandomExtension.NextDecimal(IRandom, Decimal, Decimal)
  • 編集/提案
  • ソースを表示
Back to top Generated by DocFX