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(>}o[LZ@-1B8305=Hgb u%UӎkP\jDD$w#[ EIWyYu6t ʛ>51d9oY_(c8"=QJ >w's-{KM謶 [I9ŀ;S{``V=A7|1cexf⽧=8zxVY~M^n]JGl9us/ >I^[.7] w="<5%4S +Vp'!z;@o͑K*ClW[G sIGiRDdže Z=s=,z4Ao&?52k@ǔuOv_0=mLDg/u!!{N[ϛt<~@6}4%E-i^@@UBelRI8,!S.dNI!>2 DJm V,iAu '4v:@/@v@N3{17*8O3Pcf=m:y#ã5\.'ZIap.D.\Ib%tШBPa*~DXnt| 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'
  •  JAMA Pythagorean Theorem: a = 3 b = 4 r = sqrt(square(a) + square(b)) r = 5 r = sqrt(a^2 + b^2) without under/overflow
  •  PHPExcel
  • OLE package base class.

    author Xavier Noguer
    author Christian Schmidt
    category PHPExcel
    package PHPExcel_Shared_OLE

     Methods

    Utility function to transform ASCII text to Unicode

    Asc2Ucs(string $ascii) : string
    Static
    access public
    static

    Parameters

    $ascii

    string

    The ASCII string to transform

    Returns

    stringThe string in Unicode

    Utility function Returns a string for the OLE container with the date given

    LocalDate2OLE(integer $date) : string
    Static
    access public
    static

    Parameters

    $date

    integer

    A timestamp

    Returns

    stringThe string for the OLE container

    Returns a timestamp from an OLE container's date

    OLE2LocalDate(integer $string) : string
    Static
    access public
    static

    Parameters

    $string

    integer

    A binary string with the encoded date

    Returns

    stringThe timestamp corresponding to the string

    _getBlockOffset()

    _getBlockOffset(int $blockId) 
    access public

    Parameters

    $blockId

    int

    block id

    It checks whether the PPS tree is complete (all PPS's read) starting with the given PPS (not necessarily root)

    _ppsTreeComplete(integer $index) : boolean
    access public

    Parameters

    $index

    integer

    The index of the PPS from which we are checking

    Returns

    booleanWhether the PPS tree for the given PPS is complete

    Gets information about all PPS's on the OLE container from the PPS WK's creates an OLE_PPS object for each one.

    _readPpsWks(integer $blockId) : mixed
    access public

    Parameters

    $blockId

    integer

    the block id of the first block

    Returns

    mixedtrue on success, PEAR_Error on failure

    Gets data from a PPS If there is no PPS for the index given, it will return an empty string.

    getData(integer $index, integer $position, integer $length) : string
    access public
    see \OLE_PPS_File::getStream()

    Parameters

    $index

    integer

    The index for the PPS

    $position

    integer

    The position from which to start reading (relative to the PPS)

    $length

    integer

    The amount of bytes to read (at most)

    Returns

    stringThe binary string containing the data requested

    Gets the data length from a PPS If there is no PPS for the index given, it will return 0.

    getDataLength(integer $index) : integer
    access public

    Parameters

    $index

    integer

    The index for the PPS

    Returns

    integerThe amount of bytes in data the PPS has

    Returns a stream for use with fread() etc.

    getStream(int | \PPS $blockIdOrPps) : resource

    External callers should use PHPExcel_Shared_OLE_PPS_File::getStream().

    Parameters

    $blockIdOrPps

    int\PPS

    block id or PPS

    Returns

    resourceread-only stream

    Checks whether a PPS is a File PPS or not.

    isFile(integer $index) : bool

    If there is no PPS for the index given, it will return false.

    access public

    Parameters

    $index

    integer

    The index for the PPS

    Returns

    booltrue if it's a File PPS, false otherwise

    Checks whether a PPS is a Root PPS or not.

    isRoot(integer $index) : bool

    If there is no PPS for the index given, it will return false.

    access public

    Parameters

    $index

    integer

    The index for the PPS.

    Returns

    booltrue if it's a Root PPS, false otherwise

    Gives the total number of PPS's found in the OLE container.

    ppsTotal() : integer
    access public

    Returns

    integerThe total number of PPS's found in the OLE container

    Reads an OLE container from the contents of the file given.

    read(string $file) : mixed
    acces public

    Parameters

    $file

    string

    Returns

    mixedtrue on success, PEAR_Error on failure

    Reads a signed char.

    _readInt1(resource $fh) : int
    Static
    access public

    Parameters

    $fh

    resource

    file handle

    Returns

    int

    Reads an unsigned short (2 octets).

    _readInt2(resource $fh) : int
    Static
    access public

    Parameters

    $fh

    resource

    file handle

    Returns

    int

    Reads an unsigned long (4 octets).

    _readInt4(resource $fh) : int
    Static
    access public

    Parameters

    $fh

    resource

    file handle

    Returns

    int

     Properties

     

    $_file_handle : resource
     

    $_list : array
     

    $bbat : array
     

    $bigBlockSize : int

    This is usually 512.

     

    $root : \OLE_PPS_Root
     

    $sbat : array
     

    $smallBlockSize : int

    This is usually 64.

     Constants

     

    OLE_DATA_SIZE_SMALL

    OLE_DATA_SIZE_SMALL 
     

    OLE_LONG_INT_SIZE

    OLE_LONG_INT_SIZE 
     

    OLE_PPS_SIZE

    OLE_PPS_SIZE 
     

    OLE_PPS_TYPE_DIR

    OLE_PPS_TYPE_DIR 
     

    OLE_PPS_TYPE_FILE

    OLE_PPS_TYPE_FILE 
     

    OLE_PPS_TYPE_ROOT

    OLE_PPS_TYPE_ROOT