Here are some miscellaneous helper programs for GuidedTrack. Enjoy!
Checks if an email address is valid.
Checks if matrix
is a matrix (i.e., a non-jagged 2-dimensional collection). If it is, then is_a_matrix
will be set to "yes"; otherwise, it will be set to "no".
Checks if vector
is a vector (i.e., a 1-dimensional collection). If it is, then is_a_vector
will be set to "yes"; otherwise, it will be set to "no".
Checks if collection
contains only numerical values. If it does, then contains_only_numbers
will be set to "yes"; otherwise, it will be set to "no".
Given vectors or matrices a
and b
, it computes the dot product of a
and b
and stores it in c
. Optionally, a
and/or b
can be transposed prior to computing the dot product by setting should_transpose_a
and/or should_transpose_b
to "yes".
Returns the transpose of matrix
as matrix
.
Given start
, stop
, and (optionally) step
values, returns a collection called range
in the range [start
, stop
) in which each value is separated by step
.
Given error_title
and error_message
, it shows a red error message box. By default, the error is fatal; i.e., the program will halt (but not quit) when the program is invoked. However, to invoke the program in a non-fatal way, set error_is_fatal
to "no".
Given info_title
and info_message
, it shows a blue info message box.
Given success_title
and success_message
, it shows a green success message box.
Given warning_title
and warning_message
, it shows a yellow warning message box.