src/ten/tensor.c File Reference

#include "ten.h"
#include "privateTen.h"

Include dependency graph for tensor.c:


Defines

#define Txx   (ten[1])
#define Txy   (ten[2])
#define Txz   (ten[3])
#define Tyy   (ten[4])
#define Tyz   (ten[5])
#define Tzz   (ten[6])
#define SQRT_1_OVER_2   0.70710678118654752440
#define SQRT_1_OVER_3   0.57735026918962576450
#define SQRT_2_OVER_3   0.81649658092772603272
#define SQRT_1_OVER_6   0.40824829046386301635

Functions

int tenTensorCheck (const Nrrd *nin, int wantType, int want4D, int useBiff)
int tenMeasurementFrameReduce (Nrrd *nout, const Nrrd *nin)
int tenExpand (Nrrd *nout, const Nrrd *nin, double scale, double thresh)
int tenShrink (Nrrd *tseven, const Nrrd *nconf, const Nrrd *tnine)
int tenEigensolve_f (float _eval[3], float _evec[9], const float t[7])
int tenEigensolve_d (double _eval[3], double evec[9], const double t[7])
void tenMakeSingle_f (float ten[7], float conf, const float eval[3], const float evec[9])
void tenMakeSingle_d (double ten[7], double conf, const double eval[3], const double evec[9])
int tenMake (Nrrd *nout, const Nrrd *nconf, const Nrrd *neval, const Nrrd *nevec)
int tenSlice (Nrrd *nout, const Nrrd *nten, unsigned int axis, size_t pos, unsigned int dim)
void _tenEvalSkewnessGradient_d (double skw[7], const double perp1[7], const double perp2[7], const double ten[7], const double minnorm)
void tenInvariantGradientsK_d (double mu1[7], double mu2[7], double skw[7], const double ten[7], const double minnorm)
void tenInvariantGradientsR_d (double R1[7], double R2[7], double R3[7], const double ten[7], const double minnorm)
void tenRotationTangents_d (double phi1[7], double phi2[7], double phi3[7], const double evec[9])
void tenInv_f (float inv[7], const float ten[7])
void tenInv_d (double inv[7], const double ten[7])
void tenLogSingle_d (double logten[7], const double ten[7])
void tenLogSingle_f (float logten[7], const float ten[7])
void tenExpSingle_d (double expten[7], const double ten[7])
void tenExpSingle_f (float expten[7], const float ten[7])
void tenSqrtSingle_d (double sqrtten[7], const double ten[7])
void tenSqrtSingle_f (float sqrtten[7], const float ten[7])
void tenPowSingle_d (double powten[7], const double ten[7], double power)
void tenPowSingle_f (float powten[7], const float ten[7], float power)
double tenDoubleContract_d (double a[7], double T[21], double b[7])

Variables

int tenVerbose = 0

Define Documentation

#define SQRT_1_OVER_2   0.70710678118654752440

#define SQRT_1_OVER_3   0.57735026918962576450

#define SQRT_1_OVER_6   0.40824829046386301635

#define SQRT_2_OVER_3   0.81649658092772603272

#define Txx   (ten[1])

#define Txy   (ten[2])

#define Txz   (ten[3])

#define Tyy   (ten[4])

#define Tyz   (ten[5])

#define Tzz   (ten[6])


Function Documentation

void _tenEvalSkewnessGradient_d ( double  skw[7],
const double  perp1[7],
const double  perp2[7],
const double  ten[7],
const double  minnorm 
)

double tenDoubleContract_d ( double  a[7],
double  T[21],
double  b[7] 
)

int tenEigensolve_d ( double  _eval[3],
double  evec[9],
const double  t[7] 
)

int tenEigensolve_f ( float  _eval[3],
float  _evec[9],
const float  t[7] 
)

int tenExpand ( Nrrd nout,
const Nrrd nin,
double  scale,
double  thresh 
)

void tenExpSingle_d ( double  expten[7],
const double  ten[7] 
)

void tenExpSingle_f ( float  expten[7],
const float  ten[7] 
)

void tenInv_d ( double  inv[7],
const double  ten[7] 
)

void tenInv_f ( float  inv[7],
const float  ten[7] 
)

void tenInvariantGradientsK_d ( double  mu1[7],
double  mu2[7],
double  skw[7],
const double  ten[7],
const double  minnorm 
)

void tenInvariantGradientsR_d ( double  R1[7],
double  R2[7],
double  R3[7],
const double  ten[7],
const double  minnorm 
)

void tenLogSingle_d ( double  logten[7],
const double  ten[7] 
)

void tenLogSingle_f ( float  logten[7],
const float  ten[7] 
)

int tenMake ( Nrrd nout,
const Nrrd nconf,
const Nrrd neval,
const Nrrd nevec 
)

void tenMakeSingle_d ( double  ten[7],
double  conf,
const double  eval[3],
const double  evec[9] 
)

void tenMakeSingle_f ( float  ten[7],
float  conf,
const float  eval[3],
const float  evec[9] 
)

int tenMeasurementFrameReduce ( Nrrd nout,
const Nrrd nin 
)

void tenPowSingle_d ( double  powten[7],
const double  ten[7],
double  power 
)

void tenPowSingle_f ( float  powten[7],
const float  ten[7],
float  power 
)

void tenRotationTangents_d ( double  phi1[7],
double  phi2[7],
double  phi3[7],
const double  evec[9] 
)

int tenShrink ( Nrrd tseven,
const Nrrd nconf,
const Nrrd tnine 
)

int tenSlice ( Nrrd nout,
const Nrrd nten,
unsigned int  axis,
size_t  pos,
unsigned int  dim 
)

void tenSqrtSingle_d ( double  sqrtten[7],
const double  ten[7] 
)

void tenSqrtSingle_f ( float  sqrtten[7],
const float  ten[7] 
)

int tenTensorCheck ( const Nrrd nin,
int  wantType,
int  want4D,
int  useBiff 
)


Variable Documentation

int tenVerbose = 0


Generated on Sat May 9 03:55:51 2009 for Teem by  doxygen 1.5.9