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