Procedure |
Description |

avg_mag |
Computes average magnitude of an array: average of decimal
log of absolute value, where not 0. |

compare |
Prints maximum absolute difference and maximum relative
difference between two real arrays, with the location of this
maximum. |

count_lines |
Counts the number of lines in an external file. |

csvread |
Reads numeric values from a CSV (comma-separated values) file. |

get_command_arg_dyn |
Wrapper for get_command_argument with automatic allocation
of the character argumet. |

greg2jd |
Converts a date on the Gregorian or Julian calendars to a
Julian date. Adapted from David G. Simpson. |

iso_varying_string |
Varying-length strings, conformant to ISO Fortran 95
extension, by Rich Townsend. |

new_unit |
Provides a licit and not already opened external file
unit. |

opt_merge |
Merges an optional parameter and a default value. |

point |
Returns the element of an array, given the vector of its
indices. |

pr_matrix |
Pretty prints a real matrix. |

read_column |
Reads a column of values in an external file. |

uniq |
Reports or omits repeated elements of an array. |

argwhere |
Finds the indices of true elements. |

averge |
Computes the arithmetic average of arithmetic and geometric
averages. |

divisors |
Returns all the divisors of a given integer. |

ediff1d |
Computes the differences between consecutive elements of an
array. |

pack_indices |
Given a two-dimensional integer array and a list of array
values to be excluded, returns the indices of the elements not
excluded |

quadrat |
Computes the real roots of a quadratic equation with real
coefficients. |

rectsph |
Converts rectangular coordinates to spherical coordinates. |

sphbase |
Returns the matrix of the spherical base: (radial vector,
colatitude vector, azimuthal vector) in the cartesian vector
base: (x, y, z). |

sphrect |
Converts spherical coordinates to rectangular coordinates. |

determin |
Computes the determinant of a (2, 2) real matrix. |

eigval |
Computes real eigenvalues of a (2, 2) real matrix. |

eigvect |
Computes the matrix of eigenvectors of a (2, 2) real matrix. |

inv_mat |
Computes the inverse of a (2, 2) real matrix. |

set2lin |
Solves a set of 2 linear equations. |