#include "magick/studio.h"#include "magick/matrix.h"#include "magick/memory_.h"#include "magick/utility.h"
Go to the source code of this file.
Defines | |
| #define | GaussJordanSwap(x, y) |
Functions | |
| MagickExport double ** | AcquireMagickMatrix (const unsigned long nptrs, const unsigned long size) |
| MagickExport MagickBooleanType | GaussJordanElimination (double **matrix, double **vectors, const unsigned long rank, const unsigned long nvecs) |
| MagickExport void | LeastSquaresAddTerms (double **matrix, double **vectors, const double *terms, const double *results, const unsigned long rank, const unsigned long nvecs) |
| MagickExport double ** | RelinquishMagickMatrix (double **matrix, const unsigned long nptrs) |
| #define GaussJordanSwap | ( | x, | |||
| y | ) |
{ \
if ((x) != (y)) \
{ \
(x)+=(y); \
(y)=(x)-(y); \
(x)=(x)-(y); \
} \
}
Referenced by GaussJordanElimination().
| MagickExport double** AcquireMagickMatrix | ( | const unsigned long | nptrs, | |
| const unsigned long | size | |||
| ) |
Definition at line 79 of file matrix.c.
References AcquireQuantumMemory(), and RelinquishMagickMemory().
Referenced by GenerateCoefficients().
| MagickExport MagickBooleanType GaussJordanElimination | ( | double ** | matrix, | |
| double ** | vectors, | |||
| const unsigned long | rank, | |||
| const unsigned long | nvecs | |||
| ) |
Definition at line 181 of file matrix.c.
References AcquireQuantumMemory(), GaussJordanSwap, MagickFalse, MagickTrue, RelinquishMagickMemory(), and ResetMagickMemory().
Referenced by GenerateCoefficients().
| MagickExport void LeastSquaresAddTerms | ( | double ** | matrix, | |
| double ** | vectors, | |||
| const double * | terms, | |||
| const double * | results, | |||
| const unsigned long | rank, | |||
| const unsigned long | nvecs | |||
| ) |
Definition at line 359 of file matrix.c.
Referenced by GenerateCoefficients().
| MagickExport double** RelinquishMagickMatrix | ( | double ** | matrix, | |
| const unsigned long | nptrs | |||
| ) |
Definition at line 403 of file matrix.c.
References RelinquishMagickMemory().
Referenced by GenerateCoefficients().
1.6.1