vectorflow.utils

Utility functions used across the library.

Members

Classes

Hasher
class Hasher
Undocumented in source.

Functions

allocate_matrix_zero
auto allocate_matrix_zero(size_t num_row, size_t num_col)
Undocumented in source. Be warned that the author may not have intended to support it.
init_matrix_rand
auto init_matrix_rand(T[][] M, double rand_scale)
Undocumented in source. Be warned that the author may not have intended to support it.
isTerminal
bool isTerminal()
Undocumented in source. Be warned that the author may not have intended to support it.
to_float
float to_float(T p)

Fast but unsafe function to parse a string into a float.

to_long
long to_long(T str)

Fast but unsafe function to parse a string into a long.

Mixin templates

ct_msg
mixintemplate ct_msg(string msg)
Undocumented in source.
opCallNew
mixintemplate opCallNew()
Undocumented in source.

Static variables

RAND_GEN
auto RAND_GEN;

RNG used across the library

Meta