27 lines
355 B
PHP
27 lines
355 B
PHP
<?php
|
|
|
|
namespace Arma\Internal;
|
|
|
|
use Arma\SpMapVal;
|
|
|
|
interface SparseVector extends Sparse, Vector
|
|
{
|
|
/// Subview
|
|
|
|
/**
|
|
* {@inheritdoc}
|
|
*
|
|
* @param int $idx
|
|
* @return SpMapVal
|
|
*/
|
|
function __invoke($idx);
|
|
|
|
/**
|
|
* {@inheritdoc}
|
|
*
|
|
* @param int $idx
|
|
* @return SpMapVal
|
|
*/
|
|
function at($idx);
|
|
}
|