>  Docs Center  >  Libraries  >  Salvaggio  >  DCT1D
Libraries

DCT1D

DCT1D

Name


    DCT1D

Purpose


    This function computes the one-dimensional discrete cosine transform
    (or its inverse) of the provide vector.

Category


    General.

Calling Sequence


    Result = DCT1D( functionValues, INVERSE=inverse )

Inputs


    functionValues
      A vector containing the data for which the one-dimensional DCT is
      to be computed.

Keyword Parametrs


    INVERSE
      A keyword parameter that if set will cause the provided data
      to be treated as DCT coefficients and cause the function to
      perform an inverse transformation to provide the spatial domain
      representation of the data.

Return Value


    Result is a double precision, floating point vector containing either the
    DCT coefficients or the inverse for the provided data.

Side Effects


    None

Requires


    None

Modification History


    Written by: Carl Salvaggio
    February, 2009 Original code
   

Disclaimer


    This source code is provided "as is" and without warranties as to performance
    or merchantability. The author and/or distributors of this source code may
    have made statements about this source code. Any such statements do not
    constitute warranties and shall not be relied on by the user in deciding
    whether to use this source code.
    This source code is provided without any express or implied warranties
    whatsoever. Because of the diversity of conditions and hardware under which
    this source code may be used, no warranty of fitness for a particular purpose
    is offered. The user is advised to test the source code thoroughly before
    relying on it. The user must assume the entire risk of using the source code.



© 2024 NV5 Geospatial Solutions, Inc. |  Legal
   Contact Us