|
Classes |
| class | MFKVector |
| | A euclidean vector with that same dimension as a manifold. More...
|
Functions |
| MFKVector | MFCreateKVector (int k, MFErrorHandler e) |
| | Creates a k-dimensional vector.
|
| MFKVector | MFCreateKVectorWithData (int k, double *c, MFErrorHandler e) |
| | Creates a k-dimensional vector.
|
| void | MFRefKVector (MFKVector s, MFErrorHandler e) |
| | Adds a reference to a k-dimensional vector.
|
| void | MFFreeKVector (MFKVector s, MFErrorHandler e) |
| | Removes a reference to a k-dimensional vector, and deletes it if the number of references becomes zero.
|
| int | MFKV_NC (MFKVector s, MFErrorHandler e) |
| | Returns k, the doimension of the k-vector.
|
| double | MFKV_C (MFKVector s, int i, MFErrorHandler e) |
| | Returns a coordinate value of a k-vector.
|
| void | MFKVSetC (MFKVector s, int i, double c, MFErrorHandler e) |
| | Changes a coordinate value of a k-vector.
|
| double | MFKVDot (MFKVector s0, MFKVector s1, MFErrorHandler e) |
| | Calculates the Euclidean inner product of two k-vectors.
|
| double | MFKVNorm (MFKVector s, MFErrorHandler e) |
| | Calculates the Euclidean norm of a k-vector.
|
| void | MFKVScale (double a, MFKVector s, MFErrorHandler e) |
| | Multiply a k-vector by a scalar. The result is placed back in s.
|
| void | MFKVScaleMul (double a, MFKVector s, MFKVector t, MFErrorHandler e) |
| | Multiply a k-vector by a scalar.
|
| void | MFKVDiff (MFKVector a, MFKVector b, MFKVector c, MFErrorHandler e) |
| | Find the difference of two k-vectors. The result is put in c.
|
| void | MFKVAdd (MFKVector, MFKVector s, MFKVector, MFErrorHandler e) |
| | Find the sum of two k-vectors. The result is put in c.
|
| void | MFWriteKVector (FILE *fid, MFKVector s, MFErrorHandler e) |
| | Write a k-vector to a file.
|
| MFKVector | MFReadKVector (FILE *fid, MFErrorHandler e) |
| | Read a k-vector from a file.
|