# Procedures

ProcedureLocationProcedure TypeDescription

Left-adjust the character sequence represented by the string. The length of the character sequence remains unchanged.

Right-adjust the character sequence represented by the string. The length of the character sequence remains unchanged.

andstdlib_bitsetsInterface

Sets the bits in set1 to the bitwise and of the original bits in set1 and set2. The sets must have the same number of bits otherwise the result is undefined. (Specification)

and_notstdlib_bitsetsInterface

Sets the bits in set1 to the bitwise and of the original bits in set1 with the bitwise negation of set2. The sets must have the same number of bits otherwise the result is undefined.

assignment(=)stdlib_string_typeInterface

Assign a character sequence to a string.

assignment(=)stdlib_bitsetsInterface

Used to define assignment for bitset_large. (Specification)

bitsstdlib_bitsetsFunction

Returns the number of bit positions in self.

charstdlib_string_typeInterface

Return the character sequence represented by the string.

checkstdlib_errorSubroutine

Checks the value of a logical condition (Specification)

chompstdlib_stringsInterface

Remove trailing characters in set from string. If no character set is provided trailing whitespace is removed.

clipstdlib_mathInterface
corrstdlib_statsInterface

Pearson correlation of array elements (Specification)

covstdlib_statsInterface

Covariance of array elements (Specification)

diagstdlib_linalgInterface

Creates a diagonal array or extract the diagonal elements of an array (Specification)

dist_randstdlib_stats_distribution_PRNGInterface

Version experimental

ends_withstdlib_stringsInterface

Check whether a string ends with substring or not

error_handlerstdlib_bitsetsSubroutine
error_stopstdlib_errorInterface
extractstdlib_bitsetsInterface

Creates a new bitset, new, from a range, start_pos to stop_pos, in bitset old. If start_pos is greater than stop_pos the new bitset is empty. If start_pos is less than zero or stop_pos is greater than bits(old)-1 then if status is present it has the value index_invalid_error and new is undefined, otherwise processing stops with an informative message. (Specification)

eyestdlib_linalgFunction

Constructs the identity matrix (Specification)

iacharstdlib_string_typeInterface

Code in ASCII collating sequence.

icharstdlib_string_typeInterface

Character-to-integer conversion function.

indexstdlib_string_typeInterface

Position of a substring within a string.

is_alphastdlib_asciiFunction

Checks whether c is an ASCII letter (A .. Z, a .. z).

is_alphanumstdlib_asciiFunction

Checks whether c is a letter or a number (0 .. 9, a .. z, A .. Z).

is_asciistdlib_asciiFunction

Checks whether or not c is in the ASCII character set - i.e. in the range 0 .. 0x7F.

is_blankstdlib_asciiFunction

Checks whether or not c is a blank character. That includes the only the space and tab characters

is_controlstdlib_asciiFunction

Checks whether c is a control character.

is_digitstdlib_asciiFunction

Checks whether c is a digit (0 .. 9).

is_graphicalstdlib_asciiFunction

Checks whether or not c is a printable character other than the space character.

is_hex_digitstdlib_asciiFunction

Checks whether c is a digit in base 16 (0 .. 9, A .. F, a .. f).

is_lowerstdlib_asciiFunction

Checks whether c is a lowercase ASCII letter (a .. z).

is_octal_digitstdlib_asciiFunction

Checks whether c is a digit in base 8 (0 .. 7).

is_printablestdlib_asciiFunction

Checks whether or not c is a printable character - including the space character.

is_punctuationstdlib_asciiFunction

Checks whether or not c is a punctuation character. That includes all ASCII characters which are not control characters, letters, digits, or whitespace.

is_upperstdlib_asciiFunction

Checks whether c is an uppercase ASCII letter (A .. Z).

is_whitestdlib_asciiFunction

Checks whether or not c is a whitespace character. That includes the space, tab, vertical tab, form feed, carriage return, and linefeed characters.

lenstdlib_string_typeInterface

Returns the length of the character sequence represented by the string.

len_trimstdlib_string_typeInterface

Returns the length of the character sequence without trailing spaces represented by the string.

lgestdlib_string_typeInterface

Lexically compare the order of two character sequences being greater equal, The left-hand side, the right-hand side or both character sequences can be represented by a string.

lgtstdlib_string_typeInterface

Lexically compare the order of two character sequences being greater, The left-hand side, the right-hand side or both character sequences can be represented by a string.

llestdlib_string_typeInterface

Lexically compare the order of two character sequences being less equal, The left-hand side, the right-hand side or both character sequences can be represented by a string.

lltstdlib_string_typeInterface

Lexically compare the order of two character sequences being less, The left-hand side, the right-hand side or both character sequences can be represented by a string.

Loads a 2D array from a text file (Specification)

meanstdlib_statsInterface

Mean of array elements (Specification)

momentstdlib_statsInterface

Central moment of array elements (Specification)

openstdlib_ioFunction

Opens a file (Specification)

operator(//)stdlib_string_typeInterface

Concatenate two character sequences, the left-hand side, the right-hand side or both character sequences can be represented by a string.

operator(/=)stdlib_string_typeInterface

Compare two character sequences for inequality, the left-hand side, the right-hand side or both character sequences can be represented by a string.

operator(/=)stdlib_bitsetsInterface

Returns .true. if not all bits in set1 and set2 have the same value, .false. otherwise. The sets must have the same number of bits otherwise the result is undefined. (Specification)

operator(<)stdlib_string_typeInterface

Compare two character sequences for being less, the left-hand side, the right-hand side or both character sequences can be represented by a string.

operator(<)stdlib_bitsetsInterface

Returns .true. if the bits in set1 and set2 differ and the highest order different bit is set to 0 in set1 and to 1 in set2, .false. otherwise. The sets must have the same number of bits otherwise the result is undefined. (Specification)

operator(<=)stdlib_string_typeInterface

Compare two character sequences for being less than, the left-hand side, the right-hand side or both character sequences can be represented by a string.

operator(<=)stdlib_bitsetsInterface

Returns .true. if the bits in set1 and set2 are the same or the highest order different bit is set to 0 in set1 and to 1 in set2, .false. otherwise. The sets must have the same number of bits otherwise the result is undefined. (Specification)

operator(==)stdlib_string_typeInterface

Compare two character sequences for equality, the left-hand side, the right-hand side or both character sequences can be represented by a string.

operator(==)stdlib_bitsetsInterface

Returns .true. if all bits in set1 and set2 have the same value, .false. otherwise. The sets must have the same number of bits otherwise the result is undefined. (Specification)

operator(>)stdlib_string_typeInterface

Compare two character sequences for being greater, the left-hand side, the right-hand side or both character sequences can be represented by a string.

operator(>)stdlib_bitsetsInterface

Returns .true. if the bits in set1 and set2 differ and the highest order different bit is set to 1 in set1 and to 0 in set2, .false. otherwise. The sets must have the same number of bits otherwise the result is undefined. (Specification)

operator(>=)stdlib_string_typeInterface

Compare two character sequences for being greater than, the left-hand side, the right-hand side or both character sequences can be represented by a string.

operator(>=)stdlib_bitsetsInterface

Returns .true. if the bits in set1 and set2 are the same or the highest order different bit is set to 1 in set1 and to 0 in set2, .false. otherwise. The sets must have the same number of bits otherwise the result is undefined. (Specification)

optvalstdlib_optvalInterface

Fallback value for optional arguments (Specification)

orstdlib_bitsetsInterface

Sets the bits in set1 to the bitwise or of the original bits in set1 and set2. The sets must have the same number of bits otherwise the result is undefined. (Specification)

parse_modestdlib_ioFunction
random_seedstdlib_stats_distribution_PRNGInterface

Version experimental

Read a character sequence from a connected unformatted unit into the string.

Read a character sequence from a connected unformatted unit into the string.

repeatstdlib_string_typeInterface

Repeats the character sequence hold by the string by the number of specified copies.

reversestdlib_string_typeInterface

Reverses the character sequence hold by the input string

reversestdlib_asciiFunction

Reverse the character order in the input character variable (Specification)

savetxtstdlib_ioInterface

Saves a 2D array into a text file (Specification)

scanstdlib_string_typeInterface

Scan a string for the presence of a set of characters. Scans a string for any of the characters in a set of characters.

Integrates sampled values using Simpson's rule (Specification)

Integrates sampled values using trapezoidal rule weights for given abscissas (Specification)

starts_withstdlib_stringsInterface

Check whether a string starts with substring or not

string_typestdlib_string_typeInterface

Constructor for new string instances

stripstdlib_stringsInterface

Remove leading and trailing whitespace characters.

to_lowerstdlib_string_typeInterface

Returns the lowercase version of the character sequence hold by the input string

to_lowerstdlib_asciiFunction

Convert character variable to lower case (Specification)

to_stringstdlib_asciiInterface

Create a character string representing the value of the provided variable.

to_titlestdlib_string_typeInterface

Returns the titlecase version of the character sequence hold by the input string

to_titlestdlib_asciiFunction

Convert character variable to title case (Specification)

to_upperstdlib_string_typeInterface

Returns the uppercase version of the character sequence hold by the input string

to_upperstdlib_asciiFunction

Convert character variable to upper case (Specification)

tracestdlib_linalgInterface

Computes the trace of a matrix (Specification)

Integrates sampled values using trapezoidal rule (Specification)

Integrates sampled values using trapezoidal rule weights for given abscissas (Specification)

trimstdlib_string_typeInterface

Returns the character sequence hold by the string without trailing spaces.

varstdlib_statsInterface

Variance of array elements (Specification)

verifystdlib_string_typeInterface

Scan a string for the absence of a set of characters. Verifies that all the characters in string belong to the set of characters in set.

write(formatted)stdlib_string_typeInterface

Write the character sequence hold by the string to a connected formatted unit.

write(unformatted)stdlib_string_typeInterface

Write the character sequence hold by the string to a connected unformatted unit.

xorstdlib_bitsetsInterface

Sets the bits in set1 to the bitwise xor of the original bits in set1 and set2. The sets must have the same number of bits otherwise the result is undefined. (Specification)