Download model/comp_surface/tools/transfer/APBS-3.4.1.Linux/include/punc/slu_scomplex.h from OneScience-Group/SurfDock: direct link, hf CLI and curl.
- Browser
- Download file 2.18 kB
-
https://huggingface.co/OneScience-Group/SurfDock/resolve/main/model/comp_surface/tools/transfer/APBS-3.4.1.Linux/include/punc/slu_scomplex.h
- Command line
-
hf download hf://OneScience-Group/SurfDock/model/comp_surface/tools/transfer/APBS-3.4.1.Linux/include/punc/slu_scomplex.h
-
curl -L -o slu_scomplex.h https://huggingface.co/OneScience-Group/SurfDock/resolve/main/model/comp_surface/tools/transfer/APBS-3.4.1.Linux/include/punc/slu_scomplex.h
2.18 kB
| /*! \file | |
| Copyright (c) 2003, The Regents of the University of California, through | |
| Lawrence Berkeley National Laboratory (subject to receipt of any required | |
| approvals from U.S. Dept. of Energy) | |
| All rights reserved. | |
| The source code is distributed under BSD license, see the file License.txt | |
| at the top-level directory. | |
| */ | |
| /*! @file slu_scomplex.h | |
| * \brief Header file for complex operations | |
| * <pre> | |
| * -- SuperLU routine (version 2.0) -- | |
| * Univ. of California Berkeley, Xerox Palo Alto Research Center, | |
| * and Lawrence Berkeley National Lab. | |
| * November 15, 1997 | |
| * | |
| * Contains definitions for various complex operations. | |
| * This header file is to be included in source files c*.c | |
| * </pre> | |
| */ | |
| typedef struct { float r, i; } complex; | |
| /* Macro definitions */ | |
| /*! \brief Complex Addition c = a + b */ | |
| /*! \brief Complex Subtraction c = a - b */ | |
| /*! \brief Complex-Double Multiplication */ | |
| /*! \brief Complex-Complex Multiplication */ | |
| /*! \brief Complex equality testing */ | |
| extern "C" { | |
| /* Prototypes for functions in scomplex.c */ | |
| void c_div(complex *, complex *, complex *); | |
| double c_abs(complex *); /* exact */ | |
| double c_abs1(complex *); /* approximate */ | |
| void c_exp(complex *, complex *); | |
| void r_cnjg(complex *, complex *); | |
| double r_imag(complex *); | |
| complex c_sgn(complex *); | |
| complex c_sqrt(complex *); | |
| } | |