Results of 1 - 10 of about 112 for vector (0.001 sec.)
- The Vector class 9101
- « Ds\Sequence::unshift Ds\Vector::allocate » PHP Manual Data Structures The Vector class The Vector
... mation available, might only be in Git) はじめに A Vector is a sequence of values in a contiguous buffer tha ... t() and remove() are all O(n). クラス概要 class Ds\Vector implements Ds\Sequence , ArrayAccess { /* Constant ... ains ( mixed ...$values ): bool public copy (): Ds\Vector public filter ( callable $callback = ? ): Ds\Vecto ... st (): mixed public map ( callable $callback ): Ds\Vector public merge ( mixed $values ): Ds\Vector public p ...
-
https://man.plustar.jp/php/class.ds-vector.html
- [similar]
- Returns a sub-vector of a given range 8697
- « Ds\Vector::shift Ds\Vector::sort » PHP Manual Vector Returns a sub-vector of a given range Ds\
... Vector::slice (PECL ds >= 1.0.0) Ds\Vector::slice — Returns a sub-vector of a given range 説明 ... public Ds\Vector::slice ( int $index , int $length = ? ): Ds\Vector ... Creates a sub-vector of a given range. パラメータ index The index at wh ... ich the sub-vector starts. If positive, the vector will start at that ...
-
https://man.plustar.jp/php/ds-vector.slice.html
- [similar]
- Rotates the vector by a given number of rotations 8457
- « Ds\Vector::reversed Ds\Vector::set » PHP Manual Vector Rotates the vector by a given number of
... rotations Ds\Vector::rotate (PECL ds >= 1.0.0) Ds\Vector::rotate — Rot ... ates the vector by a given number of rotations 説明 public Ds\Vect ... or::rotate ( int $rotations ): void Rotates the vector by a given number of rotations, which is equivalen ... t to successively calling $vector->push($vector->shift()) if the number of rotations ...
-
https://man.plustar.jp/php/ds-vector.rotate.html
- [similar]
- Adds values to the end of the vector 8178
- « Ds\Vector::pop Ds\Vector::reduce » PHP Manual Vector Adds values to the end of the vector Ds\Vector
... ector::push (PECL ds >= 1.0.0) Ds\Vector::push — Adds values to the end of the vector 説明 ... public Ds\Vector::push ( mixed ...$values ): void Adds values to th ... e end of the vector. パラメータ values The values to add. 戻り値 値を返 ... しません。 例 例1 Ds\Vector::push() example <?php $vector = new \ Ds \ Vector ...
-
https://man.plustar.jp/php/ds-vector.push.html
- [similar]
- Returns the sum of all values in the vector 8178
- « Ds\Vector::sorted Ds\Vector::toArray » PHP Manual Vector Returns the sum of all values in the
... vector Ds\Vector::sum (PECL ds >= 1.0.0) Ds\Vector::sum — Returns t ... he sum of all values in the vector 説明 public Ds\Vector::sum (): int | float Returns ... the sum of all values in the vector. 注意 : Arrays and objects are considered equal to ... ありません。 戻り値 The sum of all the values in the vector as either a float or int depending on the values i ...
-
https://man.plustar.jp/php/ds-vector.sum.html
- [similar]
- Creates a new vector using a callable to determine which values to include 8141
- « Ds\Vector::count Ds\Vector::find » PHP Manual Vector Creates a new vector using a callable to
... determine which values to include Ds\Vector::filter (PECL ds >= 1.0.0) Ds\Vector::filter — Cre ... ates a new vector using a callable to determine which values to incl ... ude 説明 public Ds\Vector::filter ( callable $callback = ? ): Ds\Vector Crea ... tes a new vector using a callable to determine which values to incl ...
-
https://man.plustar.jp/php/ds-vector.filter.html
- [similar]
- Data Structures 8115
- « untaint はじめに » PHP Manual その他の基本モジュール Data Structures Data Structures はじめに
... unshift — Adds values to the front of the sequence Vector — The Vector class Ds\Vector::allocate — Allocates ... enough memory for a required capacity Ds\Vector::apply — Updates all values by applying a callback ... function to each value Ds\Vector::capacity — Returns the current capacity Ds\Vector ... ::clear — Removes all values Ds\Vector::__construct — Creates a new instance Ds\Vector::c ...
-
https://man.plustar.jp/php/book.ds.html
- [similar]
- Determines if the vector contains given values 8115
- « Ds\Vector::__construct Ds\Vector::copy » PHP Manual Vector Determines if the vector contains g
... iven values Ds\Vector::contains (PECL ds >= 1.0.0) Ds\Vector::contains — ... Determines if the vector contains given values 説明 public Ds\Vector::conta ... ins ( mixed ...$values ): bool Determines if the vector contains all values. パラメータ values Values to c ... false if any of the provided values are not in the vector, true otherwise. 例 例1 Ds\Vector::contains() exam ...
-
https://man.plustar.jp/php/ds-vector.contains.html
- [similar]
- Returns the result of adding all given values to the vector 8077
- « Ds\Vector::map Ds\Vector::pop » PHP Manual Vector Returns the result of adding all given value
... s to the vector Ds\Vector::merge (PECL ds >= 1.0.0) Ds\Vector::mer ... turns the result of adding all given values to the vector 説明 public Ds\Vector::merge ( mixed $values ): Ds ... \Vector Returns the result of adding all given values to t ... he vector. パラメータ values A traversable object or an arra ...
-
https://man.plustar.jp/php/ds-vector.merge.html
- [similar]
- Sorts the vector in-place 8052
- « Ds\Vector::slice Ds\Vector::sorted » PHP Manual Vector Sorts the vector in-place Ds\Vector::so
... rt (PECL ds >= 1.0.0) Ds\Vector::sort — Sorts the vector in-place 説明 public Ds\V ... :sort ( callable $comparator = ? ): void Sorts the vector in-place, using an optional comparator function. パ ... values as equal. 戻り値 値を返しません。 例 例1 Ds\Vector::sort() example <?php $vector = new \ Ds \ Vector ... ([ 4 , 5 , 1 , 3 , 2 ]); $vector -> sort (); print_r ( $vector ); ?> 上の例の出力は ...
-
https://man.plustar.jp/php/ds-vector.sort.html
- [similar]