code stringlengths 1 2.01M | repo_name stringlengths 3 62 | path stringlengths 1 267 | language stringclasses 231
values | license stringclasses 13
values | size int64 1 2.01M |
|---|---|---|---|---|---|
<?php
/**
* PHPExcel
*
* Copyright (c) 2006 - 2011 PHPExcel
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any... | zysms | trunk/zysms/customer/PHPExcel/Reader/Excel5.php | PHP | asf20 | 225,085 |
<?php
/**
* PHPExcel
*
* Copyright (c) 2006 - 2011 PHPExcel
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later ve... | zysms | trunk/zysms/customer/PHPExcel/Reader/DefaultReadFilter.php | PHP | asf20 | 1,799 |
<?php
/**
* PHPExcel
*
* Copyright (c) 2006 - 2011 PHPExcel
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later ve... | zysms | trunk/zysms/customer/PHPExcel/Reader/Excel5/Escher.php | PHP | asf20 | 18,841 |
<?php
/**
* PHPExcel
*
* Copyright (c) 2006 - 2011 PHPExcel
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later ve... | zysms | trunk/zysms/customer/PHPExcel/Reader/Excel2003XML.php | PHP | asf20 | 25,585 |
<?php
/**
* PHPExcel
*
* Copyright (c) 2006 - 2011 PHPExcel
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later ve... | zysms | trunk/zysms/customer/PHPExcel/Reader/CSV.php | PHP | asf20 | 9,201 |
<?php
/**
* PHPExcel
*
* Copyright (c) 2006 - 2011 PHPExcel
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later ve... | zysms | trunk/zysms/customer/PHPExcel/Worksheet.php | PHP | asf20 | 67,544 |
<?php
/**
* PHPExcel
*
* Copyright (c) 2006 - 2011 PHPExcel
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later ve... | zysms | trunk/zysms/customer/PHPExcel/Calculation/ExceptionHandler.php | PHP | asf20 | 1,572 |
<?php
/**
* PHPExcel
*
* Copyright (c) 2006 - 2011 PHPExcel
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later ve... | zysms | trunk/zysms/customer/PHPExcel/Calculation/Statistical.php | PHP | asf20 | 109,004 |
<?php
/**
* PHPExcel
*
* Copyright (c) 2006 - 2011 PHPExcel
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later ve... | zysms | trunk/zysms/customer/PHPExcel/Calculation/FormulaToken.php | PHP | asf20 | 5,507 |
<?php
/**
* PHPExcel
*
* Copyright (c) 2006 - 2011 PHPExcel
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later ve... | zysms | trunk/zysms/customer/PHPExcel/Calculation/DateTime.php | PHP | asf20 | 40,428 |
<?php
/**
* PHPExcel
*
* Copyright (c) 2006 - 2011 PHPExcel
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later ve... | zysms | trunk/zysms/customer/PHPExcel/Calculation/LookupRef.php | PHP | asf20 | 26,664 |
<?php
/**
* PHPExcel
*
* Copyright (c) 2006 - 2011 PHPExcel
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later ve... | zysms | trunk/zysms/customer/PHPExcel/Calculation/Financial.php | PHP | asf20 | 70,665 |
<?php
/**
* PHPExcel
*
* Copyright (c) 2006 - 2011 PHPExcel
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later ve... | zysms | trunk/zysms/customer/PHPExcel/Calculation/Functions.php | PHP | asf20 | 20,111 |
<?php
/**
* PHPExcel
*
* Copyright (c) 2006 - 2011 PHPExcel
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later ve... | zysms | trunk/zysms/customer/PHPExcel/Calculation/Exception.php | PHP | asf20 | 1,648 |
<?php
/**
* PHPExcel
*
* Copyright (c) 2006 - 2011 PHPExcel
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later ve... | zysms | trunk/zysms/customer/PHPExcel/Calculation/FormulaParser.php | PHP | asf20 | 22,063 |
<?php
/**
* PHPExcel
*
* Copyright (c) 2006 - 2011 PHPExcel
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later ve... | zysms | trunk/zysms/customer/PHPExcel/Calculation/TextData.php | PHP | asf20 | 16,957 |
<?php
/**
* PHPExcel
*
* Copyright (c) 2006 - 2011 PHPExcel
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later ve... | zysms | trunk/zysms/customer/PHPExcel/Calculation/Function.php | PHP | asf20 | 3,902 |
<?php
/**
* PHPExcel
*
* Copyright (c) 2006 - 2011 PHPExcel
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later ve... | zysms | trunk/zysms/customer/PHPExcel/Calculation/Database.php | PHP | asf20 | 10,454 |
<?php
/**
* PHPExcel
*
* Copyright (c) 2006 - 2011 PHPExcel
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later ve... | zysms | trunk/zysms/customer/PHPExcel/Calculation/Logical.php | PHP | asf20 | 10,185 |
<?php
/**
* PHPExcel
*
* Copyright (c) 2006 - 2011 PHPExcel
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later ve... | zysms | trunk/zysms/customer/PHPExcel/Calculation/Engineering.php | PHP | asf20 | 79,791 |
<?php
/**
* PHPExcel
*
* Copyright (c) 2006 - 2011 PHPExcel
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later ve... | zysms | trunk/zysms/customer/PHPExcel/ReferenceHelper.php | PHP | asf20 | 25,022 |
<?php
/**
* PHPExcel
*
* Copyright (c) 2006 - 2011 PHPExcel
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later ve... | zysms | trunk/zysms/customer/PHPExcel/DocumentProperties.php | PHP | asf20 | 12,271 |
<?php
/**
* PHPExcel
*
* Copyright (c) 2006 - 2011 PHPExcel
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later v... | zysms | trunk/zysms/customer/PHPExcel/Shared/Date.php | PHP | asf20 | 10,431 |
<?php
/**
* PHPExcel
*
* Copyright (c) 2006 - 2011 PHPExcel
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later ve... | zysms | trunk/zysms/customer/PHPExcel/Shared/ZipArchive.php | PHP | asf20 | 2,308 |
<?php
/**
* PHPExcel
*
* Copyright (c) 2006 - 2011 PHPExcel
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later ve... | zysms | trunk/zysms/customer/PHPExcel/Shared/Drawing.php | PHP | asf20 | 8,630 |
<?php
/**
* PHPExcel
*
* Copyright (c) 2006 - 2011 PHPExcel
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later ve... | zysms | trunk/zysms/customer/PHPExcel/Shared/Font.php | PHP | asf20 | 22,725 |
<?php
// --------------------------------------------------------------------------------
// PhpConcept Library - Zip Module 2.8.2
// --------------------------------------------------------------------------------
// License GNU/LGPL - Vincent Blavet - August 2009
// http://www.phpconcept.net
// ----------------... | zysms | trunk/zysms/customer/PHPExcel/Shared/PCLZip/pclzip.lib.php | PHP | asf20 | 202,844 |
<?php
/**
* PHPExcel
*
* Copyright (c) 2006 - 2011 PHPExcel
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later ve... | zysms | trunk/zysms/customer/PHPExcel/Shared/XMLWriter.php | PHP | asf20 | 3,043 |
<?php
/* vim: set expandtab tabstop=4 shiftwidth=4: */
// +----------------------------------------------------------------------+
// | PHP Version 4 |
// +----------------------------------------------------------------------+
// | Copyright (c) 1997-2002 The PHP ... | zysms | trunk/zysms/customer/PHPExcel/Shared/OLE/PPS/Root.php | PHP | asf20 | 14,132 |
<?php
/* vim: set expandtab tabstop=4 shiftwidth=4: */
// +----------------------------------------------------------------------+
// | PHP Version 4 |
// +----------------------------------------------------------------------+
// | Copyright (c) 1997-2002 The PHP ... | zysms | trunk/zysms/customer/PHPExcel/Shared/OLE/PPS/File.php | PHP | asf20 | 2,403 |
<?php
/* vim: set expandtab tabstop=4 shiftwidth=4: */
// +----------------------------------------------------------------------+
// | PHP Version 4 |
// +----------------------------------------------------------------------+
// | Copyright (c) 1997-2002 The PHP ... | zysms | trunk/zysms/customer/PHPExcel/Shared/OLE/PPS.php | PHP | asf20 | 5,835 |
<?php
/**
* PHPExcel
*
* Copyright (C) 2006 - 2011 PHPExcel
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later ve... | zysms | trunk/zysms/customer/PHPExcel/Shared/OLE/ChainedBlockStream.php | PHP | asf20 | 6,210 |
<?php
/**
* PHPExcel
*
* Copyright (c) 2006 - 2011 PHPExcel
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later ve... | zysms | trunk/zysms/customer/PHPExcel/Shared/String.php | PHP | asf20 | 20,787 |
<?php
/**
* PHPExcel
*
* Copyright (c) 2006 - 2011 PHPExcel
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later ve... | zysms | trunk/zysms/customer/PHPExcel/Shared/Excel5.php | PHP | asf20 | 11,732 |
<?php
/**
* PHPExcel
*
* Copyright (c) 2006 - 2011 PHPExcel
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later ve... | zysms | trunk/zysms/customer/PHPExcel/Shared/Escher/DgContainer/SpgrContainer.php | PHP | asf20 | 2,763 |
<?php
/**
* PHPExcel
*
* Copyright (c) 2006 - 2011 PHPExcel
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later ve... | zysms | trunk/zysms/customer/PHPExcel/Shared/Escher/DgContainer/SpgrContainer/SpContainer.php | PHP | asf20 | 7,371 |
<?php
/**
* PHPExcel
*
* Copyright (c) 2006 - 2011 PHPExcel
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later ve... | zysms | trunk/zysms/customer/PHPExcel/Shared/Escher/DgContainer.php | PHP | asf20 | 1,944 |
<?php
/**
* PHPExcel
*
* Copyright (c) 2006 - 2011 PHPExcel
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later ve... | zysms | trunk/zysms/customer/PHPExcel/Shared/Escher/DggContainer/BstoreContainer.php | PHP | asf20 | 1,905 |
<?php
/**
* PHPExcel
*
* Copyright (c) 2006 - 2011 PHPExcel
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later ve... | zysms | trunk/zysms/customer/PHPExcel/Shared/Escher/DggContainer/BstoreContainer/BSE/Blip.php | PHP | asf20 | 2,135 |
<?php
/**
* PHPExcel
*
* Copyright (c) 2006 - 2011 PHPExcel
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later ve... | zysms | trunk/zysms/customer/PHPExcel/Shared/Escher/DggContainer/BstoreContainer/BSE.php | PHP | asf20 | 2,807 |
<?php
/**
* PHPExcel
*
* Copyright (c) 2006 - 2011 PHPExcel
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later ve... | zysms | trunk/zysms/customer/PHPExcel/Shared/Escher/DggContainer.php | PHP | asf20 | 4,121 |
<?php
/**
* PHPExcel
*
* Copyright (c) 2006 - 2011 PHPExcel
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later ve... | zysms | trunk/zysms/customer/PHPExcel/Shared/ZipStreamWrapper.php | PHP | asf20 | 4,161 |
<?php
include_once "includes/header.php";
include_once "includes/navbar.php";
?>
<h2>Magic Square Example</h2>
<p>
The Jama distribution comes with a magic square example that is used to
test and benchmark the LU, QR, SVD and symmetric Eig decompositions.
The example outputs a multi-column table with these column he... | zysms | trunk/zysms/customer/PHPExcel/Shared/JAMA/docs/example.php | PHP | asf20 | 6,009 |
<?php
include_once "includes/header.php";
include_once "includes/navbar.php";
?>
<p>
JAMA is a proposed standard matrix class for Java. The JAMA introduction
describes "JAMA : A Java Matrix Package" in this way:
</p>
<blockquote>
JAMA is a basic linear algebra package for Java. It provides user-level classes for
c... | zysms | trunk/zysms/customer/PHPExcel/Shared/JAMA/docs/index.php | PHP | asf20 | 1,217 |
<?php
/**
* Script to create REGRESS package for download
*
* @author Mike Bommarito
* @author Paul Meagher
* @version 0.3
* @modified Apr 2, 2006
*
* Note: Script requires the PEAR Archive_Tar package be installed:
*
* @see http://pear.php.net/package/Archive_Tar
*/
// name and directory of package
$pkgName = "JAMA... | zysms | trunk/zysms/customer/PHPExcel/Shared/JAMA/docs/download.php | PHP | asf20 | 1,670 |
<center>
<hr />
[ <a href="index.php">index.php</a> ] [ <a href="docs.php">docs.php</a> ] [ <a href="package.php">package.php</a> ] [ <a href="test.php">test.php</a> ] [ <a href="example.php">example.php</a> ] [ <a href="download.php">download.php</a> ]
<hr />
</center>
| zysms | trunk/zysms/customer/PHPExcel/Shared/JAMA/docs/includes/navbar.php | Hack | asf20 | 279 |
<div id="credits">
<p>
Brought to you by:
</p>
<ul>
<li><a href="http://math.nist.gov/">National Institute of Standards and Technology</a></li>
<li><a href="http://math.nist.gov/">MathWorks</a></li>
<li><a href="http://math.nist.gov/javanumerics/jama/">JAMA : A Java Matrix Package</a></li>
<li>Paul... | zysms | trunk/zysms/customer/PHPExcel/Shared/JAMA/docs/includes/credits.php | Hack | asf20 | 435 |
</body>
</html>
| zysms | trunk/zysms/customer/PHPExcel/Shared/JAMA/docs/includes/footer.php | Hack | asf20 | 17 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>JAMA v1.0.1</title>
<meta name="description" content="JAMA v1.0.1 - Port of the proposed standard Java Matrix ... | zysms | trunk/zysms/customer/PHPExcel/Shared/JAMA/docs/includes/header.php | Hack | asf20 | 660 |
<?php
include_once "includes/header.php";
include_once "includes/navbar.php";
?>
<p>
The first script your should run when you install Jama is the TestMatrix.php script.
</p>
<p>
This will run the unit tests for methods in the <code>Matrix.php</code> class. Because
the Matrix.php class can be used to invoke all the de... | zysms | trunk/zysms/customer/PHPExcel/Shared/JAMA/docs/test.php | PHP | asf20 | 1,191 |
<?php
include_once "includes/header.php";
include_once "includes/navbar.php";
?>
<p>
Source Listing:
</p>
<ul>
<?php
chdir("../");
$files = glob("*.php");
$files = array_merge($files, glob("util/*.php"));
foreach ($files as $fileName) {
?>
<li><a href="package.php?view=<?php echo sha1($fileName);?>"><?... | zysms | trunk/zysms/customer/PHPExcel/Shared/JAMA/docs/package.php | PHP | asf20 | 746 |
<?php
require_once "includes/header.php";
require_once "includes/navbar.php";
require_once "sections/Home.php";
require_once "includes/footer.php";
?>
| zysms | trunk/zysms/customer/PHPExcel/Shared/JAMA/docs/docs.php | PHP | asf20 | 152 |
<?php
/**
* @package JAMA
*
* Pythagorean Theorem:
*
* a = 3
* b = 4
* r = sqrt(square(a) + square(b))
* r = 5
*
* r = sqrt(a^2 + b^2) without under/overflow.
*/
function hypo($a, $b) {
if (abs($a) > abs($b)) {
$r = $b / $a;
$r = abs($a) * sqrt(1 + $r * $r);
} elseif ($b != 0) {
$r = $a / $b;
$r = ... | zysms | trunk/zysms/customer/PHPExcel/Shared/JAMA/utils/Maths.php | PHP | asf20 | 690 |
<?php
/**
* @package JAMA
*
* Error handling
* @author Michael Bommarito
* @version 01292005
*/
//Language constant
define('JAMALANG', 'EN');
//All errors may be defined by the following format:
//define('ExceptionName', N);
//$error['lang'][ExceptionName] = 'Error message';
$error = array();
/*
I've used Bab... | zysms | trunk/zysms/customer/PHPExcel/Shared/JAMA/utils/Error.php | PHP | asf20 | 3,031 |
<?php
require_once "../Matrix.php";
class TestMatrix {
function TestMatrix() {
// define test variables
$errorCount = 0;
$warningCount = 0;
$columnwise = array(1.,2.,3.,4.,5.,6.,7.,8.,9.,10.,11.,12.);
$rowwise = array(1.,4.,7.,10.,2.,5.,8.,11.,3.,6.,9.,12.);
$avals = array... | zysms | trunk/zysms/customer/PHPExcel/Shared/JAMA/tests/TestMatrix.php | PHP | asf20 | 13,963 |
<?php
/**
* @package JAMA
*/
/** PHPExcel root directory */
if (!defined('PHPEXCEL_ROOT')) {
/**
* @ignore
*/
define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../../../');
require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');
}
/*
* Matrix class
*
* @author Paul Meagher
* @author Michael Bommarito
* @author... | zysms | trunk/zysms/customer/PHPExcel/Shared/JAMA/Matrix.php | PHP | asf20 | 28,846 |
<?php
/**
* @package JAMA
*
* Class to obtain eigenvalues and eigenvectors of a real matrix.
*
* If A is symmetric, then A = V*D*V' where the eigenvalue matrix D
* is diagonal and the eigenvector matrix V is orthogonal (i.e.
* A = V.times(D.times(V.transpose())) and V.times(V.transpose())
* equals the identity ... | zysms | trunk/zysms/customer/PHPExcel/Shared/JAMA/EigenvalueDecomposition.php | PHP | asf20 | 22,708 |
<?php
error_reporting(E_ALL);
/**
* @package JAMA
*/
require_once '../Matrix.php';
require_once 'Stats.php';
/**
* Example of use of Matrix Class, featuring magic squares.
*/
class Benchmark {
public $stat;
/**
* Simple function to replicate PHP 5 behaviour
*/
function microtime_float() {
list($usec... | zysms | trunk/zysms/customer/PHPExcel/Shared/JAMA/examples/benchmark.php | PHP | asf20 | 6,781 |
<?php
require_once "../Matrix.php";
/*
* @package JAMA
* @author Michael Bommarito
* @author Paul Meagher
* @version 0.1
*
* Function to fit an order n polynomial function through
* a series of x-y data points using least squares.
*
* @param $X array x values
* @param $Y array y values
* @param $n int order of polynomi... | zysms | trunk/zysms/customer/PHPExcel/Shared/JAMA/examples/polyfit.php | PHP | asf20 | 1,814 |
<?php
require_once "../Matrix.php";
/**
* Given n points (x0,y0)...(xn-1,yn-1), the following methid computes
* the polynomial factors of the n-1't degree polynomial passing through
* the n points.
*
* Example: Passing in three points (2,3) (1,4) and (3,7) will produce
* the results [2.5, -8.5, 10] which means ... | zysms | trunk/zysms/customer/PHPExcel/Shared/JAMA/examples/LagrangeInterpolation.php | PHP | asf20 | 1,305 |
<?php
/**
* quadratic (p-o)'S'S(p-o)
* solve for o, S
* S is a single scale factor
*/
class LMQuadTest {
/**
* @param array[] $x
* @param array[] $a
*/
function val($x, $a) {
if (count($a) != 3) die ("Wrong number of elements in array a");
if (count($x) != 2) die ("Wrong number of elements in array x")... | zysms | trunk/zysms/customer/PHPExcel/Shared/JAMA/examples/LMQuadTest.php | PHP | asf20 | 2,030 |
<?php
require_once "../Matrix.php";
/**
* Given n points (x0,y0)...(xn-1,yn-1), the following method computes
* the polynomial factors of the n-1't degree polynomial passing through
* the n points.
*
* Example: Passing in three points (2,3) (1,4) and (3,7) will produce
* the results [2.5, -8.5, 10] which means ... | zysms | trunk/zysms/customer/PHPExcel/Shared/JAMA/examples/LagrangeInterpolation2.php | PHP | asf20 | 1,420 |
<?php
/**
* @package JAMA
*/
require_once "../Matrix.php";
/**
* Example of use of Matrix Class, featuring magic squares.
*/
class MagicSquareExample {
/**
* Generate magic square test matrix.
* @param int n dimension of matrix
*/
function magic($n) {
// Odd order
if (($n % 2) == 1) {
$a = ... | zysms | trunk/zysms/customer/PHPExcel/Shared/JAMA/examples/MagicSquareExample.php | PHP | asf20 | 4,495 |
<?php
//
// +----------------------------------------------------------------------+
// | PHP Version 4 |
// +----------------------------------------------------------------------+
// | Copyright (c) 1997-2003 The PHP Group |
// +---... | zysms | trunk/zysms/customer/PHPExcel/Shared/JAMA/examples/Stats.php | PHP | asf20 | 55,778 |
<?php
include "../Matrix.php";
/**
* Tiling of matrix X in [rowWise by colWise] dimension. Tiling
* creates a larger matrix than the original data X. Example, if
* X is to be tiled in a [3 x 4] manner, then:
*
* / \
* | X X X X |
* C = | X X X X |
* | X X X X |
* \ /
*
* ... | zysms | trunk/zysms/customer/PHPExcel/Shared/JAMA/examples/tile.php | PHP | asf20 | 1,476 |
<?php
// Levenberg-Marquardt in PHP
// http://www.idiom.com/~zilla/Computer/Javanumeric/LM.java
class LevenbergMarquardt {
/**
* Calculate the current sum-squared-error
*
* Chi-squared is the distribution of squared Gaussian errors,
* thus the name.
*
* @param double[][] $x
* @param double[] $a
* @... | zysms | trunk/zysms/customer/PHPExcel/Shared/JAMA/examples/LevenbergMarquardt.php | PHP | asf20 | 5,216 |
<?php
/**
* @package JAMA
*
* For an m-by-n matrix A with m >= n, the QR decomposition is an m-by-n
* orthogonal matrix Q and an n-by-n upper triangular matrix R so that
* A = Q*R.
*
* The QR decompostion always exists, even if the matrix does not have
* full rank, so the constructor will never fail. The prima... | zysms | trunk/zysms/customer/PHPExcel/Shared/JAMA/QRDecomposition.php | PHP | asf20 | 5,732 |
<?php
/**
* @package JAMA
*
* For an m-by-n matrix A with m >= n, the singular value decomposition is
* an m-by-n orthogonal matrix U, an n-by-n diagonal matrix S, and
* an n-by-n orthogonal matrix V so that A = U*S*V'.
*
* The singular values, sigma[$k] = S[$k][$k], are ordered so that
* sigma[0] >= sigma[1] >... | zysms | trunk/zysms/customer/PHPExcel/Shared/JAMA/SingularValueDecomposition.php | PHP | asf20 | 13,005 |
<?php
/**
* @package JAMA
*
* For an m-by-n matrix A with m >= n, the LU decomposition is an m-by-n
* unit lower triangular matrix L, an n-by-n upper triangular matrix U,
* and a permutation vector piv of length m so that A(piv,:) = L*U.
* If m < n, then L is m-by-m and U is m-by-n.
*
* The LU decompostion with... | zysms | trunk/zysms/customer/PHPExcel/Shared/JAMA/LUDecomposition.php | PHP | asf20 | 6,105 |
<?php
/**
* @package JAMA
*
* Cholesky decomposition class
*
* For a symmetric, positive definite matrix A, the Cholesky decomposition
* is an lower triangular matrix L so that A = L*L'.
*
* If the matrix is not symmetric or positive definite, the constructor
* returns a partial decomposition and sets an inter... | zysms | trunk/zysms/customer/PHPExcel/Shared/JAMA/CholeskyDecomposition.php | PHP | asf20 | 3,274 |
<?php
/**
* PHPExcel
*
* Copyright (c) 2006 - 2011 PHPExcel
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later ve... | zysms | trunk/zysms/customer/PHPExcel/Shared/PasswordHasher.php | PHP | asf20 | 2,342 |
<?php
/* vim: set expandtab tabstop=4 shiftwidth=4: */
// +----------------------------------------------------------------------+
// | PHP Version 4 |
// +----------------------------------------------------------------------+
// | Copyright (c) 1997-2002 The PHP ... | zysms | trunk/zysms/customer/PHPExcel/Shared/OLE.php | PHP | asf20 | 15,008 |
<?php
//============================================================+
// File name : unicode_data.php
// Version : 1.0.006
// Begin : 2008-01-01
// Last Update : 2010-10-18
// Author : Nicola Asuni - Tecnick.com S.r.l - Via Della Pace, 11 - 09044 - Quartucciu (CA) - ITALY - www.tecnick.com - info@tecni... | zysms | trunk/zysms/customer/PHPExcel/Shared/PDF/unicode_data.php | PHP | asf20 | 228,322 |
<?php
//============================================================+
// File name : ita.php
// Begin : 2004-03-03
// Last Update : 2010-08-08
//
// Description : Language module for TCPDF
// (contains translated texts)
//
// Author: Nicola Asuni
//
// (c) Copyright:
// Nicola Asu... | zysms | trunk/zysms/customer/PHPExcel/Shared/PDF/config/lang/ita.php | PHP | asf20 | 1,485 |
<?php
//============================================================+
// File name : eng.php
// Begin : 2004-03-03
// Last Update : 2010-08-08
//
// Description : Language module for TCPDF
// (contains translated texts)
//
// Author: Nicola Asuni
//
// (c) Copyright:
// Nicola Asu... | zysms | trunk/zysms/customer/PHPExcel/Shared/PDF/config/lang/eng.php | PHP | asf20 | 1,483 |
<?php
//============================================================+
// File name : eng.php
// Begin : 2004-03-03
// Last Update : 2010-08-08
//
// Description : Language module for TCPDF
// (contains translated texts)
//
// Author: Nicola Asuni
//
// (c) Copyright:
// Nicola Asu... | zysms | trunk/zysms/customer/PHPExcel/Shared/PDF/config/lang/ger.php | PHP | asf20 | 1,484 |
<?php
//============================================================+
// File name : eng.php
// Begin : 2004-03-03
// Last Update : 2010-08-08
//
// Description : Language module for TCPDF
// (contains translated texts)
//
// Author: Nicola Asuni
//
// (c) Copyright:
// Nicola Asu... | zysms | trunk/zysms/customer/PHPExcel/Shared/PDF/config/lang/bra.php | PHP | asf20 | 1,486 |
<?php
//============================================================+
// File name : tcpdf_config.php
// Begin : 2004-06-11
// Last Update : 2010-08-19
//
// Description : Configuration file for TCPDF.
//
// Author: Nicola Asuni
//
// (c) Copyright:
// Nicola Asuni
// Tecnick.com s.r... | zysms | trunk/zysms/customer/PHPExcel/Shared/PDF/config/tcpdf_config.php | PHP | asf20 | 5,926 |
<?php
//============================================================+
// File name : tcpdf_config.php
// Begin : 2004-06-11
// Last Update : 2010-08-19
//
// Description : Alternative configuration file for TCPDF.
//
// Author: Nicola Asuni
//
// (c) Copyright:
// Nicola Asuni
// Tec... | zysms | trunk/zysms/customer/PHPExcel/Shared/PDF/config/tcpdf_config_alt.php | PHP | asf20 | 5,580 |
<?php
//============================================================+
// File name : qrcode.php
// Version : 1.0.006
// Begin : 2010-03-22
// Last Update : 2010-08-30
// Author : Nicola Asuni - Tecnick.com S.r.l - Via Della Pace, 11 - 09044 - Quartucciu (CA) - ITALY - www.tecnick.com - info@tecnick.com... | zysms | trunk/zysms/customer/PHPExcel/Shared/PDF/qrcode.php | PHP | asf20 | 83,191 |
<?php
//============================================================+
// File name : htmlcolors.php
// Version : 1.0.007
// Begin : 2002-04-09
// Last Update : 2010-10-18
// Author : Nicola Asuni - Tecnick.com S.r.l - Via Della Pace, 11 - 09044 - Quartucciu (CA) - ITALY - www.tecnick.com - info@tecnick... | zysms | trunk/zysms/customer/PHPExcel/Shared/PDF/htmlcolors.php | PHP | asf20 | 5,742 |
<?php
//============================================================+
// File name : barcodes.php
// Version : 1.0.011
// Begin : 2008-06-09
// Last Update : 2010-08-08
// Author : Nicola Asuni - Tecnick.com S.r.l - Via Della Pace, 11 - 09044 - Quartucciu (CA) - ITALY - www.tecnick.com - info@tecnick.c... | zysms | trunk/zysms/customer/PHPExcel/Shared/PDF/barcodes.php | PHP | asf20 | 60,253 |
<?php
//============================================================+
// File name : pdf417.php
// Version : 1.0.003
// Begin : 2010-06-03
// Last Update : 2010-08-08
// Author : Nicola Asuni - Tecnick.com S.r.l - Via Della Pace, 11 - 09044 - Quartucciu (CA) - ITALY - www.tecnick.com - info@tecnick.com... | zysms | trunk/zysms/customer/PHPExcel/Shared/PDF/pdf417.php | PHP | asf20 | 55,407 |
<?php
$type = 'cidfont0';
$name = 'KozMinPro-Regular-Acro';
$displayname = 'Kozuka Mincho Pro (Japanese Serif)';
$desc = array(
'Ascent' => 880,
'Descent' => -120,
'CapHeight' => 740,
'Flags' => 6,
'FontBBox' => '[-195 -272 1110 1075]',
'ItalicAngle' => 0,
'StemV' => 86,
'XHeight' => 502,
);
$cidinfo = array(
... | zysms | trunk/zysms/customer/PHPExcel/Shared/PDF/fonts/kozminproregular.php | PHP | asf20 | 3,454 |
<?php
$type = 'cidfont0';
$name = 'KozGoPro-Medium-Acro';
$displayname = 'Kozuka Gothic Pro (Japanese Sans-Serif)';
$desc = array(
'Ascent' => 880,
'Descent' => -120,
'CapHeight' => 763,
'Flags' => 4,
'FontBBox' => '[-149 -374 1254 1008]',
'ItalicAngle' => 0,
'StemV' => 99,
'Style' => '<< /Panose <0000020b07000... | zysms | trunk/zysms/customer/PHPExcel/Shared/PDF/fonts/kozgopromedium.php | PHP | asf20 | 3,577 |
<?php
$type='TrueTypeUnicode';
$name='DejaVuSans-BoldOblique';
$desc=array('Ascent'=>928,'Descent'=>-236,'CapHeight'=>-51,'Flags'=>96,'FontBBox'=>'[-1067 -385 2005 1121]','ItalicAngle'=>-11,'StemV'=>120,'MissingWidth'=>600);
$up=-63;
$ut=44;
$dw=600;
$cw=array(
0=>600,32=>348,33=>456,34=>521,35=>696,36=>696,37=>1002,38... | zysms | trunk/zysms/customer/PHPExcel/Shared/PDF/fonts/dejavusansbi.php | PHP | asf20 | 45,096 |
<?php
$type='TrueTypeUnicode';
$name='FreeSansBoldOblique';
$desc=array('Ascent'=>1000,'Descent'=>-300,'CapHeight'=>22,'Flags'=>96,'FontBBox'=>'[-769 -1175 1591 1639]','ItalicAngle'=>-12,'StemV'=>120,'MissingWidth'=>600);
$up=-145;
$ut=69;
$dw=600;
$cw=array(
32=>278,33=>333,34=>474,35=>556,36=>556,37=>889,38=>722,39=>... | zysms | trunk/zysms/customer/PHPExcel/Shared/PDF/fonts/freesansbi.php | PHP | asf20 | 20,602 |
<?php
$type='TrueTypeUnicode';
$name='FreeSerifItalic';
$desc=array('Ascent'=>900,'Descent'=>-300,'CapHeight'=>-29,'Flags'=>96,'FontBBox'=>'[-879 -434 1673 900]','ItalicAngle'=>-16.5,'StemV'=>70,'MissingWidth'=>600);
$up=-125;
$ut=50;
$dw=600;
$cw=array(
32=>250,33=>333,34=>420,35=>500,36=>500,37=>833,38=>778,39=>214,4... | zysms | trunk/zysms/customer/PHPExcel/Shared/PDF/fonts/freeserifi.php | PHP | asf20 | 23,653 |
<?php
// core font definition file for TCPDF (www.tcpdf.org)
$type='core';
$dw=788;
$cw=array(0=>0,1=>0,2=>0,3=>0,4=>0,5=>0,6=>0,7=>0,8=>0,9=>0,10=>0,11=>0,12=>0,
13=>0,14=>0,15=>0,16=>0,17=>0,18=>0,19=>0,20=>0,21=>0,22=>0,23=>0,24=>0,25=>0,
26=>0,27=>0,28=>0,29=>0,30=>0,31=>0,32=>278,33=>974,34=>961,35=>974,36=... | zysms | trunk/zysms/customer/PHPExcel/Shared/PDF/fonts/zapfdingbats.php | PHP | asf20 | 2,257 |
<?php
// core font definition file for TCPDF (www.tcpdf.org)
$type='core';
$dw=500;
$cw=array(0=>250,1=>250,2=>250,3=>250,4=>250,5=>250,6=>250,7=>250,8=>250,9=>250,
10=>250,11=>250,12=>250,13=>250,14=>250,15=>250,16=>250,17=>250,18=>250,19=>250,
20=>250,21=>250,22=>250,23=>250,24=>250,25=>250,26=>250,27=>250,28=>250,2... | zysms | trunk/zysms/customer/PHPExcel/Shared/PDF/fonts/timesbi.php | PHP | asf20 | 2,337 |
<?php
$type='TrueTypeUnicode';
$name='FreeSerif';
$desc=array('Ascent'=>900,'Descent'=>-300,'CapHeight'=>10,'Flags'=>96,'FontBBox'=>'[-879 -1201 1767 2606]','ItalicAngle'=>-33.2,'StemV'=>70,'MissingWidth'=>600);
$up=-125;
$ut=50;
$dw=600;
$cw=array(
32=>250,33=>333,34=>408,35=>500,36=>500,37=>833,38=>778,39=>180,40=>33... | zysms | trunk/zysms/customer/PHPExcel/Shared/PDF/fonts/freeserif.php | PHP | asf20 | 48,954 |
<?php
// core font definition file for TCPDF (www.tcpdf.org)
$type='core';
$dw=600;
$cw=array(0=>600,1=>600,2=>600,3=>600,4=>600,5=>600,6=>600,7=>600,8=>600,9=>600,
10=>600,11=>600,12=>600,13=>600,14=>600,15=>600,16=>600,17=>600,18=>600,19=>600,
20=>600,21=>600,22=>600,23=>600,24=>600,25=>600,26=>600,27=>600,28=>600,2... | zysms | trunk/zysms/customer/PHPExcel/Shared/PDF/fonts/courier.php | PHP | asf20 | 2,333 |
<?php
$type='TrueTypeUnicode';
$name='DejaVuSans-Bold';
$desc=array('Ascent'=>928,'Descent'=>-236,'CapHeight'=>19,'Flags'=>32,'FontBBox'=>'[-1069 -385 1975 1174]','ItalicAngle'=>0,'StemV'=>120,'MissingWidth'=>600);
$up=-63;
$ut=44;
$dw=600;
$cw=array(
0=>600,32=>348,33=>456,34=>521,35=>838,36=>696,37=>1002,38=>872,39=>... | zysms | trunk/zysms/customer/PHPExcel/Shared/PDF/fonts/dejavusansb.php | PHP | asf20 | 50,084 |
<?php
$type='TrueTypeUnicode';
$name='DejaVuSans-Oblique';
$desc=array('Ascent'=>928,'Descent'=>-236,'CapHeight'=>-43,'Flags'=>96,'FontBBox'=>'[-1016 -350 1659 1068]','ItalicAngle'=>-11,'StemV'=>70,'MissingWidth'=>600);
$up=-63;
$ut=44;
$dw=600;
$cw=array(
0=>600,32=>318,33=>401,34=>460,35=>838,36=>636,37=>950,38=>780,... | zysms | trunk/zysms/customer/PHPExcel/Shared/PDF/fonts/dejavusansi.php | PHP | asf20 | 46,180 |
<?php
$type='TrueTypeUnicode';
$name='DejaVuSerifCondensed-Italic';
$desc=array('Ascent'=>928,'Descent'=>-236,'CapHeight'=>-59,'Flags'=>96,'FontBBox'=>'[-755 -347 1485 1227]','ItalicAngle'=>-11,'StemV'=>70,'MissingWidth'=>540);
$up=-63;
$ut=44;
$dw=540;
$cw=array(
0=>540,32=>286,33=>361,34=>414,35=>754,36=>572,37=>855,... | zysms | trunk/zysms/customer/PHPExcel/Shared/PDF/fonts/dejavuserifcondensedi.php | PHP | asf20 | 29,985 |
<?php
$type='TrueTypeUnicode';
$name='DejaVuSerifCondensed-Bold';
$desc=array('Ascent'=>939,'Descent'=>-236,'CapHeight'=>4,'Flags'=>32,'FontBBox'=>'[-752 -389 1616 1235]','ItalicAngle'=>0,'StemV'=>120,'MissingWidth'=>540);
$up=-63;
$ut=44;
$dw=540;
$cw=array(
0=>540,32=>313,33=>395,34=>469,35=>754,36=>626,37=>855,38=>8... | zysms | trunk/zysms/customer/PHPExcel/Shared/PDF/fonts/dejavuserifcondensedb.php | PHP | asf20 | 28,679 |
<?php
// core font definition file for TCPDF (www.tcpdf.org)
$type='core';
$dw=556;
$cw=array(0=>278,1=>278,2=>278,3=>278,4=>278,5=>278,6=>278,7=>278,8=>278,9=>278,
10=>278,11=>278,12=>278,13=>278,14=>278,15=>278,16=>278,17=>278,18=>278,19=>278,
20=>278,21=>278,22=>278,23=>278,24=>278,25=>278,26=>278,27=>278,28=>278,2... | zysms | trunk/zysms/customer/PHPExcel/Shared/PDF/fonts/helvetica.php | PHP | asf20 | 2,340 |
<?php
$type='TrueTypeUnicode';
$name='DejaVuSansCondensed-Oblique';
$desc=array('Ascent'=>928,'Descent'=>-236,'CapHeight'=>-39,'Flags'=>96,'FontBBox'=>'[-914 -350 1493 1068]','ItalicAngle'=>-11,'StemV'=>70,'MissingWidth'=>540);
$up=-63;
$ut=44;
$dw=540;
$cw=array(
0=>540,32=>286,33=>360,34=>414,35=>754,36=>572,37=>855,... | zysms | trunk/zysms/customer/PHPExcel/Shared/PDF/fonts/dejavusanscondensedi.php | PHP | asf20 | 46,054 |
<?php
$type='TrueTypeUnicode';
$name='DejaVuSerif-Bold';
$desc=array('Ascent'=>939,'Descent'=>-236,'CapHeight'=>5,'Flags'=>32,'FontBBox'=>'[-836 -389 1796 1235]','ItalicAngle'=>0,'StemV'=>120,'MissingWidth'=>600);
$up=-63;
$ut=44;
$dw=600;
$cw=array(
0=>600,32=>348,33=>439,34=>521,35=>838,36=>696,37=>950,38=>903,39=>30... | zysms | trunk/zysms/customer/PHPExcel/Shared/PDF/fonts/dejavuserifb.php | PHP | asf20 | 28,779 |
<?php
$type='TrueTypeUnicode';
$name='DejaVuSansCondensed';
$desc=array('Ascent'=>928,'Descent'=>-236,'CapHeight'=>26,'Flags'=>96,'FontBBox'=>'[-918 -350 1513 1167]','ItalicAngle'=>-18.9,'StemV'=>70,'MissingWidth'=>540);
$up=-63;
$ut=44;
$dw=540;
$cw=array(
0=>540,32=>286,33=>360,34=>414,35=>754,36=>572,37=>855,38=>702... | zysms | trunk/zysms/customer/PHPExcel/Shared/PDF/fonts/dejavusanscondensed.php | PHP | asf20 | 50,984 |