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/SparseResizableMatrix.php

34 lines
535 B
PHP
Raw Normal View History

2019-03-18 14:49:42 +00:00
<?php
namespace Arma\Internal;
2019-04-04 08:07:37 +00:00
use Arma\SpMapVal;
/**
* Interface for resizable (non-subview) sparse matrices.
*
* @package Arma\Internal
*/
2019-03-18 14:49:42 +00:00
interface SparseResizableMatrix extends SparseMatrix, ResizableMatrix
{
2019-03-23 16:24:34 +00:00
// Subview
2019-03-18 14:49:42 +00:00
2019-03-27 08:29:00 +00:00
/**
* {@inheritdoc}
*
* @param int $i
* @param int $j[optional]
2019-04-04 08:07:37 +00:00
* @return SpMapVal
2019-03-27 08:29:00 +00:00
*/
function __invoke($i, $j);
2019-03-23 16:24:34 +00:00
/**
* {@inheritdoc}
*
* @param int $i
* @param int $j[optional]
2019-04-04 08:07:37 +00:00
* @return SpMapVal
2019-03-23 16:24:34 +00:00
*/
function at($i, $j);
2019-03-18 14:49:42 +00:00
}