This repository has been archived on 2020-06-07. You can view files and clone it, but cannot push or open issues or pull requests.
php-armadillo/stubs/internal/Sparse.php
2019-03-13 23:19:05 +08:00

30 lines
504 B
PHP

<?php
namespace Arma\Internal;
/**
* Interface for objects whose elements are stored in CSC format (SpMat, SpCol and SpRow).
*
* @package Arma\Internal
*/
interface Sparse extends Common
{
/**
* {@inheritdoc}
*
* @param int $i
* @param int $j[optional]
* @return \Arma\SpSvVal
*/
function at($i, $j);
/**
* {@inheritdoc}
*
* @param int $i
* @param int $j[optional]
* @return \Arma\SpSvVal
*/
function __invoke($i, $j);
}