NEURON
nvector_nrnserial_ld.cpp File Reference
#include <../../nrnconf.h>
#include <hocassrt.h>
#include <nrnassrt.h>
#include <stdio.h>
#include <stdlib.h>
#include "nvector_nrnserial_ld.h"
#include "shared/sundialsmath.h"
#include "shared/sundialstypes.h"

Go to the source code of this file.

Macros

#define ZERO   RCONST(0.0)
 
#define HALF   RCONST(0.5)
 
#define ONE   RCONST(1.0)
 
#define ONEPT5   RCONST(1.5)
 

Functions

static void VCopy_NrnSerialLD (N_Vector x, N_Vector z)
 
static void VSum_NrnSerialLD (N_Vector x, N_Vector y, N_Vector z)
 
static void VDiff_NrnSerialLD (N_Vector x, N_Vector y, N_Vector z)
 
static void VNeg_NrnSerialLD (N_Vector x, N_Vector z)
 
static void VScaleSum_NrnSerialLD (realtype c, N_Vector x, N_Vector y, N_Vector z)
 
static void VScaleDiff_NrnSerialLD (realtype c, N_Vector x, N_Vector y, N_Vector z)
 
static void VLin1_NrnSerialLD (realtype a, N_Vector x, N_Vector y, N_Vector z)
 
static void VLin2_NrnSerialLD (realtype a, N_Vector x, N_Vector y, N_Vector z)
 
static void Vaxpy_NrnSerialLD (realtype a, N_Vector x, N_Vector y)
 
static void VScaleBy_NrnSerialLD (realtype a, N_Vector x)
 
N_Vector N_VNewEmpty_NrnSerialLD (long int length)
 
N_Vector N_VNew_NrnSerialLD (long int length)
 
N_Vector N_VCloneEmpty_NrnSerialLD (N_Vector w)
 
N_Vector N_VMake_NrnSerialLD (long int length, realtype *v_data)
 
N_Vector * N_VNewVectorArray_NrnSerialLD (int count, long int length)
 
N_Vector * N_VNewVectorArrayEmpty_NrnSerialLD (int count, long int length)
 
void N_VDestroyVectorArray_NrnSerialLD (N_Vector *vs, int count)
 
void N_VPrint_NrnSerialLD (N_Vector x)
 
N_Vector N_VClone_NrnSerialLD (N_Vector w)
 
void N_VDestroy_NrnSerialLD (N_Vector v)
 
void N_VSpace_NrnSerialLD (N_Vector v, long int *lrw, long int *liw)
 
realtype * N_VGetArrayPointer_NrnSerialLD (N_Vector v)
 
void N_VSetArrayPointer_NrnSerialLD (realtype *v_data, N_Vector v)
 
void N_VLinearSum_NrnSerialLD (realtype a, N_Vector x, realtype b, N_Vector y, N_Vector z)
 
void N_VConst_NrnSerialLD (realtype c, N_Vector z)
 
void N_VProd_NrnSerialLD (N_Vector x, N_Vector y, N_Vector z)
 
void N_VDiv_NrnSerialLD (N_Vector x, N_Vector y, N_Vector z)
 
void N_VScale_NrnSerialLD (realtype c, N_Vector x, N_Vector z)
 
void N_VAbs_NrnSerialLD (N_Vector x, N_Vector z)
 
void N_VInv_NrnSerialLD (N_Vector x, N_Vector z)
 
void N_VAddConst_NrnSerialLD (N_Vector x, realtype b, N_Vector z)
 
realtype N_VDotProd_NrnSerialLD (N_Vector x, N_Vector y)
 
realtype N_VMaxNorm_NrnSerialLD (N_Vector x)
 
realtype N_VWrmsNorm_NrnSerialLD (N_Vector x, N_Vector w)
 
realtype N_VWrmsNormMask_NrnSerialLD (N_Vector x, N_Vector w, N_Vector id)
 
realtype N_VMin_NrnSerialLD (N_Vector x)
 
realtype N_VWL2Norm_NrnSerialLD (N_Vector x, N_Vector w)
 
realtype N_VL1Norm_NrnSerialLD (N_Vector x)
 
void N_VOneMask_NrnSerialLD (N_Vector x)
 
void N_VCompare_NrnSerialLD (realtype c, N_Vector x, N_Vector z)
 
booleantype N_VInvTest_NrnSerialLD (N_Vector x, N_Vector z)
 
booleantype N_VConstrMask_NrnSerialLD (N_Vector c, N_Vector x, N_Vector m)
 
realtype N_VMinQuotient_NrnSerialLD (N_Vector num, N_Vector denom)
 

Macro Definition Documentation

◆ HALF

#define HALF   RCONST(0.5)

Definition at line 38 of file nvector_nrnserial_ld.cpp.

◆ ONE

#define ONE   RCONST(1.0)

Definition at line 39 of file nvector_nrnserial_ld.cpp.

◆ ONEPT5

#define ONEPT5   RCONST(1.5)

Definition at line 40 of file nvector_nrnserial_ld.cpp.

◆ ZERO

#define ZERO   RCONST(0.0)

Definition at line 37 of file nvector_nrnserial_ld.cpp.

Function Documentation

◆ N_VAbs_NrnSerialLD()

void N_VAbs_NrnSerialLD ( N_Vector  x,
N_Vector  z 
)

Definition at line 543 of file nvector_nrnserial_ld.cpp.

◆ N_VAddConst_NrnSerialLD()

void N_VAddConst_NrnSerialLD ( N_Vector  x,
realtype  b,
N_Vector  z 
)

Definition at line 567 of file nvector_nrnserial_ld.cpp.

◆ N_VClone_NrnSerialLD()

N_Vector N_VClone_NrnSerialLD ( N_Vector  w)

Definition at line 344 of file nvector_nrnserial_ld.cpp.

◆ N_VCloneEmpty_NrnSerialLD()

N_Vector N_VCloneEmpty_NrnSerialLD ( N_Vector  w)

Definition at line 172 of file nvector_nrnserial_ld.cpp.

◆ N_VCompare_NrnSerialLD()

void N_VCompare_NrnSerialLD ( realtype  c,
N_Vector  x,
N_Vector  z 
)

Definition at line 724 of file nvector_nrnserial_ld.cpp.

◆ N_VConst_NrnSerialLD()

void N_VConst_NrnSerialLD ( realtype  c,
N_Vector  z 
)

Definition at line 484 of file nvector_nrnserial_ld.cpp.

◆ N_VConstrMask_NrnSerialLD()

booleantype N_VConstrMask_NrnSerialLD ( N_Vector  c,
N_Vector  x,
N_Vector  m 
)

Definition at line 754 of file nvector_nrnserial_ld.cpp.

◆ N_VDestroy_NrnSerialLD()

void N_VDestroy_NrnSerialLD ( N_Vector  v)

Definition at line 376 of file nvector_nrnserial_ld.cpp.

◆ N_VDestroyVectorArray_NrnSerialLD()

void N_VDestroyVectorArray_NrnSerialLD ( N_Vector *  vs,
int  count 
)

Definition at line 312 of file nvector_nrnserial_ld.cpp.

◆ N_VDiv_NrnSerialLD()

void N_VDiv_NrnSerialLD ( N_Vector  x,
N_Vector  y,
N_Vector  z 
)

Definition at line 508 of file nvector_nrnserial_ld.cpp.

◆ N_VDotProd_NrnSerialLD()

realtype N_VDotProd_NrnSerialLD ( N_Vector  x,
N_Vector  y 
)

Definition at line 579 of file nvector_nrnserial_ld.cpp.

◆ N_VGetArrayPointer_NrnSerialLD()

realtype* N_VGetArrayPointer_NrnSerialLD ( N_Vector  v)

Definition at line 389 of file nvector_nrnserial_ld.cpp.

◆ N_VInv_NrnSerialLD()

void N_VInv_NrnSerialLD ( N_Vector  x,
N_Vector  z 
)

Definition at line 555 of file nvector_nrnserial_ld.cpp.

◆ N_VInvTest_NrnSerialLD()

booleantype N_VInvTest_NrnSerialLD ( N_Vector  x,
N_Vector  z 
)

Definition at line 737 of file nvector_nrnserial_ld.cpp.

◆ N_VL1Norm_NrnSerialLD()

realtype N_VL1Norm_NrnSerialLD ( N_Vector  x)

Definition at line 692 of file nvector_nrnserial_ld.cpp.

◆ N_VLinearSum_NrnSerialLD()

void N_VLinearSum_NrnSerialLD ( realtype  a,
N_Vector  x,
realtype  b,
N_Vector  y,
N_Vector  z 
)

Definition at line 402 of file nvector_nrnserial_ld.cpp.

◆ N_VMake_NrnSerialLD()

N_Vector N_VMake_NrnSerialLD ( long int  length,
realtype *  v_data 
)

Definition at line 240 of file nvector_nrnserial_ld.cpp.

◆ N_VMaxNorm_NrnSerialLD()

realtype N_VMaxNorm_NrnSerialLD ( N_Vector  x)

Definition at line 593 of file nvector_nrnserial_ld.cpp.

◆ N_VMin_NrnSerialLD()

realtype N_VMin_NrnSerialLD ( N_Vector  x)

Definition at line 653 of file nvector_nrnserial_ld.cpp.

◆ N_VMinQuotient_NrnSerialLD()

realtype N_VMinQuotient_NrnSerialLD ( N_Vector  num,
N_Vector  denom 
)

Definition at line 787 of file nvector_nrnserial_ld.cpp.

◆ N_VNew_NrnSerialLD()

N_Vector N_VNew_NrnSerialLD ( long int  length)

Definition at line 139 of file nvector_nrnserial_ld.cpp.

◆ N_VNewEmpty_NrnSerialLD()

N_Vector N_VNewEmpty_NrnSerialLD ( long int  length)

Definition at line 74 of file nvector_nrnserial_ld.cpp.

◆ N_VNewVectorArray_NrnSerialLD()

N_Vector* N_VNewVectorArray_NrnSerialLD ( int  count,
long int  length 
)

Definition at line 260 of file nvector_nrnserial_ld.cpp.

◆ N_VNewVectorArrayEmpty_NrnSerialLD()

N_Vector* N_VNewVectorArrayEmpty_NrnSerialLD ( int  count,
long int  length 
)

Definition at line 286 of file nvector_nrnserial_ld.cpp.

◆ N_VOneMask_NrnSerialLD()

void N_VOneMask_NrnSerialLD ( N_Vector  x)

Definition at line 711 of file nvector_nrnserial_ld.cpp.

◆ N_VPrint_NrnSerialLD()

void N_VPrint_NrnSerialLD ( N_Vector  x)

Definition at line 325 of file nvector_nrnserial_ld.cpp.

◆ N_VProd_NrnSerialLD()

void N_VProd_NrnSerialLD ( N_Vector  x,
N_Vector  y,
N_Vector  z 
)

Definition at line 495 of file nvector_nrnserial_ld.cpp.

◆ N_VScale_NrnSerialLD()

void N_VScale_NrnSerialLD ( realtype  c,
N_Vector  x,
N_Vector  z 
)

Definition at line 521 of file nvector_nrnserial_ld.cpp.

◆ N_VSetArrayPointer_NrnSerialLD()

void N_VSetArrayPointer_NrnSerialLD ( realtype *  v_data,
N_Vector  v 
)

Definition at line 397 of file nvector_nrnserial_ld.cpp.

◆ N_VSpace_NrnSerialLD()

void N_VSpace_NrnSerialLD ( N_Vector  v,
long int *  lrw,
long int *  liw 
)

Definition at line 384 of file nvector_nrnserial_ld.cpp.

◆ N_VWL2Norm_NrnSerialLD()

realtype N_VWL2Norm_NrnSerialLD ( N_Vector  x,
N_Vector  w 
)

Definition at line 671 of file nvector_nrnserial_ld.cpp.

◆ N_VWrmsNorm_NrnSerialLD()

realtype N_VWrmsNorm_NrnSerialLD ( N_Vector  x,
N_Vector  w 
)

Definition at line 608 of file nvector_nrnserial_ld.cpp.

◆ N_VWrmsNormMask_NrnSerialLD()

realtype N_VWrmsNormMask_NrnSerialLD ( N_Vector  x,
N_Vector  w,
N_Vector  id 
)

Definition at line 629 of file nvector_nrnserial_ld.cpp.

◆ Vaxpy_NrnSerialLD()

static void Vaxpy_NrnSerialLD ( realtype  a,
N_Vector  x,
N_Vector  y 
)
static

Definition at line 924 of file nvector_nrnserial_ld.cpp.

◆ VCopy_NrnSerialLD()

static void VCopy_NrnSerialLD ( N_Vector  x,
N_Vector  z 
)
static

Definition at line 822 of file nvector_nrnserial_ld.cpp.

◆ VDiff_NrnSerialLD()

static void VDiff_NrnSerialLD ( N_Vector  x,
N_Vector  y,
N_Vector  z 
)
static

Definition at line 847 of file nvector_nrnserial_ld.cpp.

◆ VLin1_NrnSerialLD()

static void VLin1_NrnSerialLD ( realtype  a,
N_Vector  x,
N_Vector  y,
N_Vector  z 
)
static

Definition at line 898 of file nvector_nrnserial_ld.cpp.

◆ VLin2_NrnSerialLD()

static void VLin2_NrnSerialLD ( realtype  a,
N_Vector  x,
N_Vector  y,
N_Vector  z 
)
static

Definition at line 911 of file nvector_nrnserial_ld.cpp.

◆ VNeg_NrnSerialLD()

static void VNeg_NrnSerialLD ( N_Vector  x,
N_Vector  z 
)
static

Definition at line 860 of file nvector_nrnserial_ld.cpp.

◆ VScaleBy_NrnSerialLD()

static void VScaleBy_NrnSerialLD ( realtype  a,
N_Vector  x 
)
static

Definition at line 948 of file nvector_nrnserial_ld.cpp.

◆ VScaleDiff_NrnSerialLD()

static void VScaleDiff_NrnSerialLD ( realtype  c,
N_Vector  x,
N_Vector  y,
N_Vector  z 
)
static

Definition at line 885 of file nvector_nrnserial_ld.cpp.

◆ VScaleSum_NrnSerialLD()

static void VScaleSum_NrnSerialLD ( realtype  c,
N_Vector  x,
N_Vector  y,
N_Vector  z 
)
static

Definition at line 872 of file nvector_nrnserial_ld.cpp.

◆ VSum_NrnSerialLD()

static void VSum_NrnSerialLD ( N_Vector  x,
N_Vector  y,
N_Vector  z 
)
static

Definition at line 834 of file nvector_nrnserial_ld.cpp.