|
MNE-CPP 0.1.9
A Framework for Electrophysiology
|
Definition of the FwdCoil Class. More...

Go to the source code of this file.
Macros | |
| #define | MALLOC_5(x, t) (t *)malloc((x)*sizeof(t)) |
| #define | FREE_5(x) if ((char *)(x) != NULL) free((char *)(x)) |
| #define | FREE_CMATRIX_5(m) mne_free_cmatrix_5((m)) |
| #define | ALLOC_CMATRIX_5(x, y) mne_cmatrix_5((x),(y)) |
| #define | X_5 0 |
| #define | Y_5 1 |
| #define | Z_5 2 |
| #define | VEC_DOT_5(x, y) ((x)[X_5]*(y)[X_5] + (x)[Y_5]*(y)[Y_5] + (x)[Z_5]*(y)[Z_5]) |
| #define | VEC_LEN_5(x) sqrt(VEC_DOT_5(x,x)) |
| #define | VEC_COPY_5(to, from) |
Functions | |
| float ** | mne_cmatrix_5 (int nr, int nc) |
| void | mne_free_cmatrix_5 (float **m) |
Definition of the FwdCoil Class.
Copyright (C) 2016, Lorenz Esch, Matti Hamalainen, Christoph Dinh. All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Definition in file fwd_coil.cpp.
| #define ALLOC_CMATRIX_5 | ( | x, | |
| y | |||
| ) | mne_cmatrix_5((x),(y)) |
Definition at line 65 of file fwd_coil.cpp.
| #define FREE_5 | ( | x | ) | if ((char *)(x) != NULL) free((char *)(x)) |
Definition at line 62 of file fwd_coil.cpp.
| #define FREE_CMATRIX_5 | ( | m | ) | mne_free_cmatrix_5((m)) |
Definition at line 63 of file fwd_coil.cpp.
| #define MALLOC_5 | ( | x, | |
| t | |||
| ) | (t *)malloc((x)*sizeof(t)) |
Definition at line 60 of file fwd_coil.cpp.
| #define VEC_COPY_5 | ( | to, | |
| from | |||
| ) |
Definition at line 74 of file fwd_coil.cpp.
| #define VEC_DOT_5 | ( | x, | |
| y | |||
| ) | ((x)[X_5]*(y)[X_5] + (x)[Y_5]*(y)[Y_5] + (x)[Z_5]*(y)[Z_5]) |
Definition at line 71 of file fwd_coil.cpp.
| #define VEC_LEN_5 | ( | x | ) | sqrt(VEC_DOT_5(x,x)) |
Definition at line 72 of file fwd_coil.cpp.
| #define X_5 0 |
Definition at line 67 of file fwd_coil.cpp.
| #define Y_5 1 |
Definition at line 68 of file fwd_coil.cpp.
| #define Z_5 2 |
Definition at line 69 of file fwd_coil.cpp.
| float ** mne_cmatrix_5 | ( | int | nr, |
| int | nc | ||
| ) |
Definition at line 97 of file fwd_coil.cpp.
| void mne_free_cmatrix_5 | ( | float ** | m | ) |
Definition at line 114 of file fwd_coil.cpp.