the C myNumeric module¶
Defines some mathematical functions
- pNbody.myNumeric.Interpolate_From_1d_Array()¶
Interpolate values from a given array.
- pNbody.myNumeric.Interpolate_From_2d_Array()¶
Interpolate values from a given array.
- pNbody.myNumeric.expand()¶
Expand a matrix.
- pNbody.myNumeric.getmask()¶
Return a mask of the same type as x which has ones where elemets of x that have a corespondant in y and zeros instead.
- pNbody.myNumeric.histogram2d()¶
Return a 2d matrix corresponding to the histrogram of two vector values in given ranges.
- pNbody.myNumeric.hnd()¶
Return a 3d matrix corresponding to the histrogram in n dim of a vector 3xn
- pNbody.myNumeric.lininterp1d()¶
Linear interpolation of 1d function given by two vectors.
- pNbody.myNumeric.polint()¶
Polynomial interpolation.
- pNbody.myNumeric.quaddinterp1d()¶
Quadratic interpolation of 1d function given by two vectors (the slope is continuous).
- pNbody.myNumeric.quadinterp1d()¶
Quadratic interpolation of 1d function given by two vectors.
- pNbody.myNumeric.ratint()¶
Polynomial interpolation.
- pNbody.myNumeric.rotx()¶
Rotation around the x axis.
- pNbody.myNumeric.roty()¶
Rotation around the y axis.
- pNbody.myNumeric.rotz()¶
Rotation around the z axis.
- pNbody.myNumeric.spline()¶
spline.
- pNbody.myNumeric.spline3d()¶
Return a 3d interpolation.
- pNbody.myNumeric.splint()¶
splint.
- pNbody.myNumeric.test()¶
Some test on PyArray object.
- pNbody.myNumeric.turnup()¶
Turn up a matrix.
- pNbody.myNumeric.vprod()¶
Calculate the vectorial product of two vectors.
- pNbody.myNumeric.whistogram()¶
Return a weighted histogram.