Krita Source Code Documentation
Loading...
Searching...
No Matches
nubspline_structs.h
Go to the documentation of this file.
1
2// einspline: a library for creating and evaluating B-splines //
3// Copyright (C) 2007 Kenneth P. Esler, Jr. //
4// //
5// This program is free software; you can redistribute it and/or modify //
6// it under the terms of the GNU General Public License as published by //
7// the Free Software Foundation; either version 2 of the License, or //
8// (at your option) any later version. //
9// //
10// This program is distributed in the hope that it will be useful, //
11// but WITHOUT ANY WARRANTY; without even the implied warranty of //
12// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
13// GNU General Public License for more details. //
14// //
15// You should have received a copy of the GNU General Public License //
16// along with this program; if not, write to the Free Software //
17// Foundation, Inc., 51 Franklin Street, Fifth Floor, //
18// Boston, MA 02110-1301 USA //
20
21#ifndef NUBSPLINE_STRUCTS_H
22#define NUBSPLINE_STRUCTS_H
23
24#include "bspline_base.h"
25#include "nubasis.h"
26
35
45
46typedef struct
47{
51 int x_stride, y_stride;
55
56
58// Single precision real //
69
80
81typedef struct
82{
86 int x_stride, y_stride;
89 BCtype_s xBC, yBC, zBC;
91
93// Double precision real //
104
115
116typedef struct
117{
121 int x_stride, y_stride;
124 BCtype_d xBC, yBC, zBC;
126
128// Single precision complex //
139
150
161
163// Double precision complex //
174
185
196
197#endif
complex float complex_float
type_code
complex double complex_double
spline_code
#define restrict
NUBasis *restrict x_basis
NUgrid *restrict x_grid
complex_float *restrict coefs
double *restrict coefs
spline_code sp_code
NUBasis *restrict x_basis
NUgrid *restrict x_grid
NUgrid *restrict x_grid
float *restrict coefs
NUBasis *restrict x_basis
spline_code sp_code
complex_double *restrict coefs
NUgrid *restrict x_grid
NUBasis *restrict x_basis
NUgrid *restrict x_grid
spline_code sp_code
void *restrict coefs
NUBasis *restrict x_basis
NUgrid *restrict x_grid
NUBasis *restrict x_basis
complex_float *restrict coefs
double *restrict coefs
NUBasis *restrict x_basis
NUgrid *restrict x_grid
NUBasis *restrict x_basis
NUgrid *restrict x_grid
float *restrict coefs
spline_code sp_code
NUgrid *restrict x_grid
complex_double *restrict coefs
NUBasis *restrict x_basis
NUBasis *restrict x_basis
NUgrid *restrict x_grid
void *restrict coefs
spline_code sp_code
NUgrid *restrict x_grid
NUBasis *restrict x_basis
complex_float *restrict coefs
NUgrid *restrict x_grid
NUBasis *restrict x_basis
double *restrict coefs
spline_code sp_code
NUBasis *restrict x_basis
NUgrid *restrict x_grid
float *restrict coefs
NUgrid *restrict x_grid
complex_double *restrict coefs
NUBasis *restrict x_basis
NUgrid *restrict x_grid
void *restrict coefs
spline_code sp_code
NUBasis *restrict x_basis