Download model/comp_surface/tools/transfer/APBS-3.4.1.Linux/include/punc/slu_dcomplex.h from OneScience-Group/SurfDock: direct link, hf CLI and curl.
- Browser
- Download file 2.28 kB
-
https://huggingface.co/OneScience-Group/SurfDock/resolve/main/model/comp_surface/tools/transfer/APBS-3.4.1.Linux/include/punc/slu_dcomplex.h
- Command line
-
hf download hf://OneScience-Group/SurfDock/model/comp_surface/tools/transfer/APBS-3.4.1.Linux/include/punc/slu_dcomplex.h
-
curl -L -o slu_dcomplex.h https://huggingface.co/OneScience-Group/SurfDock/resolve/main/model/comp_surface/tools/transfer/APBS-3.4.1.Linux/include/punc/slu_dcomplex.h
2.28 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_dcomplex.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 z*.c | |
| * </pre> | |
| */ | |
| typedef struct { double r, i; } doublecomplex; | |
| /* 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 dcomplex.c */ | |
| void z_div(doublecomplex *, doublecomplex *, doublecomplex *); | |
| double z_abs(doublecomplex *); /* exact */ | |
| double z_abs1(doublecomplex *); /* approximate */ | |
| void z_exp(doublecomplex *, doublecomplex *); | |
| void d_cnjg(doublecomplex *r, doublecomplex *z); | |
| double d_imag(doublecomplex *); | |
| doublecomplex z_sgn(doublecomplex *); | |
| doublecomplex z_sqrt(doublecomplex *); | |
| } | |