MathPHP\SetTheory\Set::asArray PHP 메소드

asArray() 공개 메소드

Get the set as an array
public asArray ( ) : array
리턴 array (values are the set members)
    public function asArray() : array
    {
        return $this->A;
    }

Usage Example

예제 #1
0
 /**
  * @dataProvider dataProviderForSingleSet
  */
 public function testAsArrayAnotherWay(array $members)
 {
     $set = new Set($members);
     $array = $set->asArray();
     $new_set = new Set($array);
     $this->assertEquals($new_set, $set);
 }
All Usage Examples Of MathPHP\SetTheory\Set::asArray