matrix.h

Go to the documentation of this file.
00001 /*
00002   Copyright 1999-2019 ImageMagick Studio LLC, a non-profit organization
00003   dedicated to making software imaging solutions freely available.
00004   
00005   You may not use this file except in compliance with the License.  You may
00006   obtain a copy of the License at
00007   
00008     https://imagemagick.org/script/license.php
00009   
00010   Unless required by applicable law or agreed to in writing, software
00011   distributed under the License is distributed on an "AS IS" BASIS,
00012   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00013   See the License for the specific language governing permissions and
00014   limitations under the License.
00015 
00016   MagickCore matrix methods.
00017 */
00018 #ifndef MAGICKCORE_MATRIX_H
00019 #define MAGICKCORE_MATRIX_H
00020 
00021 #if defined(__cplusplus) || defined(c_plusplus)
00022 extern "C" {
00023 #endif
00024 
00025 typedef struct _MatrixInfo
00026   MatrixInfo;
00027 
00028 extern MagickExport double
00029   **AcquireMagickMatrix(const size_t,const size_t),
00030   **RelinquishMagickMatrix(double **,const size_t);
00031 
00032 extern MagickExport Image
00033   *MatrixToImage(const MatrixInfo *,ExceptionInfo *);
00034 
00035 extern MagickExport MagickBooleanType
00036   GaussJordanElimination(double **,double **,const size_t,const size_t),
00037   GetMatrixElement(const MatrixInfo *,const ssize_t,const ssize_t,void *),
00038   NullMatrix(MatrixInfo *),
00039   SetMatrixElement(const MatrixInfo *,const ssize_t,const ssize_t,const void *);
00040 
00041 MagickExport MatrixInfo
00042   *AcquireMatrixInfo(const size_t,const size_t,const size_t,ExceptionInfo *),
00043   *DestroyMatrixInfo(MatrixInfo *);
00044 
00045 MagickExport size_t
00046   GetMatrixColumns(const MatrixInfo *),
00047   GetMatrixRows(const MatrixInfo *);
00048 
00049 extern MagickExport void
00050   LeastSquaresAddTerms(double **,double **,const double *,const double *,
00051     const size_t,const size_t);
00052 
00053 #if defined(__cplusplus) || defined(c_plusplus)
00054 }
00055 #endif
00056 
00057 #endif

Generated on 29 Oct 2019 for MagickCore by  doxygen 1.6.1