getTranspose() public method

Returns the transposed NumArray
Since: 1.0.0
public getTranspose ( ) : NumArray
return NumArray
Beispiel #1
0
 /**
  * Tests caching of NumArray::getTranspose
  */
 public function testTransposeCache()
 {
     $numArray = new NumArray(5);
     $numArray->setCache(NumArray\Transpose::CACHE_KEY_TRANSPOSE, 8);
     $this->assertSame(8, $numArray->getTranspose());
 }