ÿØÿà JFIF ÿá Exif MM * ÿÛ C
Server IP : 199.250.214.225 / Your IP : 3.14.244.27 Web Server : Apache System : Linux vps64074.inmotionhosting.com 3.10.0-1160.105.1.vz7.214.3 #1 SMP Tue Jan 9 19:45:01 MSK 2024 x86_64 User : nicngo5 ( 1001) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /home/nicngo5/funds.upgrade.nicn.gov.ng/funds-upgraded/vendor/markbaker/matrix/classes/src/Functions/ |
Upload File : |
<?php /** * * Function code for the matrix transpose() function * * @copyright Copyright (c) 2018 Mark Baker (https://github.com/MarkBaker/PHPMatrix) * @license https://opensource.org/licenses/MIT MIT */ namespace Matrix; /** * Returns the transpose of a matrix or an array. * * @param Matrix|array $matrix Matrix or an array to treat as a matrix. * @return Matrix The transposed matrix * @throws Exception If argument isn't a valid matrix or array. */ if (!function_exists(__NAMESPACE__ . '\\transpose')) { function transpose($matrix): Matrix { if (is_array($matrix)) { $matrix = new Matrix($matrix); } if (!$matrix instanceof Matrix) { throw new Exception('Must be Matrix or array'); } return Functions::transpose($matrix); } }