« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 21 for shape (0.001 sec.)
stats_dens_gamma — Probability density function of the gamma distribution | PHP... 13936
stats_dens_gamma (PECL stats >= 1.0.0) stats_dens_gamma — Probability density function of the gamma distribution 説明 function stats_dens_gamma ( float $x , float $shape , float $scale ): float Returns the probability density at x , where t ... he random variable follows the gamma distribution of which the shape parameter is shape and the scale parameter is scale . パラメータ x The value at which the probability density is calculate ... d shape The shape parameter of the distribution scale The scale parameter of the distribution 戻り値 The probability density at x ...
https://man.mtool.work/php/8.3/function.stats-dens-gamma.html
Application Performance Monitoring (APM) | PHP 8.3 10976
Application Performance Monitoring (APM) The extension contains an event subscriber API, which allows applications to monitor commands and internal activity pertaining to the » Server Discovery and Monitoring Specification . This tutorial w ... d (commandStarted and commandSucceeded), each event object exposes a requestId field. To record the average time per query shape, we will start by checking for a find command in the commandStarted event. We will then add an item to the pendingCommands ... property indexed by its requestId and with its value representing the query shape. If we receive a corresponding commandSucceeded event with the same requestId , we add the duration of the event (from dur ... QueryTimeCollector implements \MongoDB\Driver\Monitoring\CommandSubscriber { private $pendingCommands = []; private $queryShapeStats = []; /* Creates a query shape out of the filter argument. Right now it only * takes the top level fields into accoun ...
https://man.mtool.work/php/8.3/mongodb.tutorial.apm.html
stats_dens_beta — Probability density function of the beta distribution | PHP 8... 10875
stats_dens_beta (PECL stats >= 1.0.0) stats_dens_beta — Probability density function of the beta distribution 説明 function stats_dens_beta ( float $x , float $a , float $b ): float Returns the probability density at x , where the random va ... riable follows the beta distribution of which the shape parameters are a and b . パラメータ x The value at which the probability density is calculated a The shape parameter of th ... e distribution b The shape parameter of the distribution 戻り値 The probability density at x or false for failure. 他のマニュアルの関連ページ Linux J ...
https://man.mtool.work/php/8.3/function.stats-dens-beta.html
stats_dens_weibull — Probability density function of the Weibull distribution |... 9437
stats_dens_weibull (PECL stats >= 1.0.0) stats_dens_weibull — Probability density function of the Weibull distribution 説明 function stats_dens_weibull ( float $x , float $a , float $b ): float Returns the probability density at x , where t ... he random variable follows the Weibull distribution of which the shape parameter is a and the scale parameter is b . パラメータ x The value at which the probability density is calculated a The ...
https://man.mtool.work/php/8.3/function.stats-dens-weibull.html
列挙型とメソッド | PHP 8.3 9234
列挙型とメソッド 列挙型では、(Pure Enum と Backed Enum ともに) メソッドを含めることもできますし、 インターフェイスを実装することもできます。 列挙型がインターフェイスを実装する場合、 そのインターフェイスでの型チェックは、 実装した列挙型の全て ... 'Red' , Suit :: Clubs , Suit :: Spades => 'Black' , }; } // インターフェイスの一部ではないが、正しいコード public function shape (): string { return "Rectangle" ; } } function paint ( Colorful $c ) { print $c -> color () . "\n" ; } paint ( Suit :: Clu ... bs ); // 動作します print Suit :: Diamonds -> shape (); // "Rectangle" と表示 上記の例の Suit の4つのインスタンスは、 全てふたつのメソッド color() と shape() を持ちます。 コー ... ( $this ) { Suit :: Hearts , Suit :: Diamonds => 'Red' , Suit :: Clubs , Suit :: Spades => 'Black' , }; } public function shape (): string { return "Rectangle" ; } public static function cases (): array { // 不正なメソッド。列挙型では、手動で cases() ...
https://man.mtool.work/php/8.3/language.enumerations.methods.html
stats_rand_gen_beta — Generates a random deviate from the beta distribution | P... 9133
stats_rand_gen_beta (PECL stats >= 1.0.0) stats_rand_gen_beta — Generates a random deviate from the beta distribution 説明 function stats_rand_gen_beta ( float $a , float $b ): float Returns a random deviate from the beta distribution with ... rs A and B. The density of the beta is x^(a-1) * (1-x)^(b-1) / B(a,b) for 0 < x <. Method R. C. H. Cheng. パラメータ a The shape parameter of the beta distribution b The shape parameter of the beta distribution 戻り値 A random deviate 他のマニュアルの ...
https://man.mtool.work/php/8.3/function.stats-rand-gen-beta.html
トレイト | PHP 8.3 8727
トレイト 列挙型ではトレイトを使えます。 列挙型におけるトレイトは、クラスにおけるそれと同じ振る舞いをします。 注意すべきことは、列挙型で use されるトレイトには、プロパティが含まれていてはいけないという点です。 そのトレイトには、 メソッドと s ... 命的なエラーが発生します。 <?php interface Colorful { public function color (): string ; } trait Rectangle { public function shape (): string { return "Rectangle" ; } } enum Suit implements Colorful { use Rectangle ; case Hearts ; case Diamonds ; case C ... :: Clubs , Suit :: Spades => 'Black' , }; } } $suit = Suit :: Spades ; var_dump ( $suit -> color ()); var_dump ( $suit -> shape ()); 他のマニュアルの関連ページ Python enum Python enum FastAPI パスパラメータ Python turtle Django fields ...
https://man.mtool.work/php/8.3/language.enumerations.traits.html
extract — 配列からシンボルテーブルに変数をインポートする | PHP 8.3 8118
extract (PHP 4, PHP 5, PHP 7, PHP 8) extract — 配列からシンボルテーブルに変数をインポートする 説明 function extract ( array &$array , int $flags = EXTR_OVERWRITE , string $prefix = "" ): int 配列から シンボルテーブル に変数をインポートします ... 返していました。 例 例1 extract() の例 <?php $size = "large" ; $var_array = array( "color" => "blue" , "size" => "medium" , "shape" => "sphere" ); extract ( $var_array , EXTR_PREFIX_SAME , "wddx" ); echo " $color , $size , $shape , $wddx_size \n" ; ?> 上 ... VERWRITE の場合は、 $size の値は "medium" となります。 EXTR_PREFIX_ALL の場合は新規の変数 $wddx_color , $wddx_size , $wddx_shape が作成されます。 注意 警告 extract() をユーザー入力 ( $_GET や $_FILES など) のような信頼できないデータについて使用しないで ...
https://man.mtool.work/php/8.3/function.extract.html
プロパティ | PHP 8.3 8016
プロパティ クラスのメンバ変数のことを プロパティ といいます。 それ以外に フィールド などという呼びかたを見たことがあるかもしれません。 しかし、このマニュアルでは プロパティ と呼ぶことにします。 プロパティは、少なくともひとつのキーワード (た ... セスする前に初期化しなければいけません。 初期化しないと、 Error がスローされます。 例3 プロパティにアクセスする <?php class Shape { public int $numberOfSides ; public string $name ; public function setNumberOfSides ( int $numberOfSides ): void { $this ... ): int { return $this -> numberOfSides ; } public function getName (): string { return $this -> name ; } } $triangle = new Shape (); $triangle -> setName ( "triangle" ); $triangle -> setNumberOfSides ( 3 ); var_dump ( $triangle -> getName ()); var_dum ... p ( $triangle -> getNumberOfSides ()); $circle = new Shape (); $circle -> setName ( "circle" ); var_dump ( $circle -> getName ()); var_dump ( $circle -> getNumberOfSides ()); ?> 上の ...
https://man.mtool.work/php/8.3/language.oop5.properties.html
UI\Draw\Path::addRectangle — Draw a Rectangle | PHP 8.3 7915
UI\Draw\Path::addRectangle (UI 0.9.9) UI\Draw\Path::addRectangle — Draw a Rectangle 説明 public function UI\Draw\Path::addRectangle ( UI\Point $point , UI\Size $size ) Shall map the path of a rectangle of the given size, at the given point ... パラメータ point The point to begin the shape size The size of the rectangle 他のマニュアルの関連ページ DuckDB Numeric Types FastAPI Request Parameters Python pathlib L ...
https://man.mtool.work/php/8.3/ui-draw-path.addrectangle.html
PREV 1 2 3 NEXT